⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jscript.c

📁 Exuberant Ctags is a multilanguage reimplementation of the much-underused ctags(1) program and is i
💻 C
字号:
/**   $Id: jscript.c,v 1.2 2006/05/30 04:37:12 darren Exp $**   Copyright (c) 2003, Darren Hiebert**   This source code is released for free distribution under the terms of the*   GNU General Public License.**   This module contains functions for generating tags for JavaScript language*   files.*//**   INCLUDE FILES*/#include "general.h"  /* must always come first */#include "parse.h"/**   FUNCTION DEFINITIONS*/static void installJavaScriptRegex (const langType language){	addTagRegex (language, "^[ \t]*function[ \t]*([A-Za-z0-9_]+)[ \t]*\\(",		"\\1", "f,function,functions", NULL);}/* Create parser definition stucture */extern parserDefinition* JavaScriptParser (void){	static const char *const extensions [] = { "js", NULL };	parserDefinition *const def = parserNew ("JavaScript");	def->extensions = extensions;	def->initialize = installJavaScriptRegex;	def->regex      = TRUE;	return def;}/* vi:set tabstop=4 shiftwidth=4: */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -