• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ parserNew函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中parserNew函数的典型用法代码示例。如果您正苦于以下问题:C++ parserNew函数的具体用法?C++ parserNew怎么用?C++ parserNew使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了parserNew函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: HtmlParser

/* Create parser definition structure */
extern parserDefinition* HtmlParser (void)
{
	static const char *const extensions [] = { "htm", "html", NULL };
	parserDefinition *const def = parserNew ("HTML");
	def->extensions = extensions;
	def->tagRegexTable = htmlTagRegexTable;
	def->tagRegexCount = ARRAY_SIZE (htmlTagRegexTable);
	def->method     = METHOD_NOT_CRAFTED|METHOD_REGEX;
	return def;
}
开发者ID:Sirlsliang,项目名称:ctags,代码行数:11,代码来源:html.c


示例2: AwkParser

extern parserDefinition* AwkParser (void)
{
	static const char *const extensions [] = { "awk", "gawk", "mawk", NULL };
	parserDefinition* def = parserNew ("Awk");
	def->kinds      = AwkKinds;
	def->kindCount  = ARRAY_SIZE (AwkKinds);
	def->extensions = extensions;
	def->parser     = findAwkTags;
	return def;
}
开发者ID:amosbird,项目名称:ctags,代码行数:10,代码来源:awk.c


示例3: parserNew

parserDefinition *FreeBasicParser (void)
{
	static char const *extensions[] = { "bas", "bi", "bb", "pb", NULL };
	parserDefinition *def = parserNew ("FreeBasic");
	def->kinds = BasicKinds;
	def->kindCount = ARRAY_SIZE (BasicKinds);
	def->extensions = extensions;
	def->parser = findBasicTags;
	return def;
}
开发者ID:ParrotSec,项目名称:geany,代码行数:10,代码来源:basic.c


示例4: VimParser

extern parserDefinition* VimParser (void)
{
	static const char *const extensions [] = { "vim", NULL };
	parserDefinition* def = parserNew ("Vim");
	def->kinds      = VimKinds;
	def->kindCount  = KIND_COUNT (VimKinds);
	def->extensions = extensions;
	def->parser     = findVimTags;
	return def;
}
开发者ID:Figoer,项目名称:i_figoer,代码行数:10,代码来源:vim.c


示例5: parserNew

extern parserDefinition *MyrddinParser (void)
{
	static const char *const extensions [] = { "myr", NULL };
	parserDefinition* const def = parserNew ("Myrddin");
	def->extensions = extensions;
	def->tagRegexTable = myrddinTagRegexTable;
	def->tagRegexCount = ARRAY_SIZE (myrddinTagRegexTable);
	def->method     = METHOD_NOT_CRAFTED|METHOD_REGEX;
	return def;
}
开发者ID:Dev0Null,项目名称:ctags,代码行数:10,代码来源:myrddin.c


示例6: PhpParser

extern parserDefinition* PhpParser (void)
{
	static const char *const extensions [] = { "php", "php3", "phtml", NULL };
	parserDefinition* def = parserNew ("PHP");
	def->kinds      = PhpKinds;
	def->kindCount  = KIND_COUNT (PhpKinds);
	def->extensions = extensions;
	def->parser     = findPhpTags;
	return def;
}
开发者ID:salkadam,项目名称:exuberant-ctags,代码行数:10,代码来源:php.c


示例7: RubyParser

extern parserDefinition* RubyParser (void)
{
    static const char *const extensions [] = { "rb", "ruby", NULL };
    parserDefinition* def = parserNew ("Ruby");
    def->kinds      = RubyKinds;
    def->kindCount  = KIND_COUNT (RubyKinds);
    def->extensions = extensions;
    def->parser     = findRubyTags;
    return def;
}
开发者ID:jsvisa,项目名称:ctags,代码行数:10,代码来源:ruby.c


示例8: AspParser

extern parserDefinition* AspParser (void)
{
	static const char *const extensions [] = { "asp", "asa", NULL };
	parserDefinition* def = parserNew ("Asp");
	def->kinds      = AspKinds;
	def->kindCount  = KIND_COUNT (AspKinds);
	def->extensions = extensions;
	def->parser     = findAspTags;
	return def;
}
开发者ID:shunlir,项目名称:ctags,代码行数:10,代码来源:asp.c


示例9: YaccParser

extern parserDefinition* YaccParser (void)
{
	static const char *const extensions [] = { "y", NULL };
	parserDefinition* const def = parserNew ("YACC");
	def->extensions = extensions;
	def->method     = METHOD_NOT_CRAFTED|METHOD_REGEX;
	def->tagRegexTable = yaccTagRegexTable;
	def->tagRegexCount = ARRAY_SIZE (yaccTagRegexTable);
	return def;
}
开发者ID:acarlson1029,项目名称:ctags,代码行数:10,代码来源:yacc.c


示例10: AbaqusParser

extern parserDefinition* AbaqusParser (void)
{
    static const char *const extensions [] = { "inp", NULL };
    parserDefinition * def = parserNew ("Abaqus");
    def->kinds      = AbaqusKinds;
    def->kindCount  = ARRAY_SIZE (AbaqusKinds);
    def->extensions = extensions;
    def->parser     = findAbaqusTags;
    return def;
}
开发者ID:FabianInostroza,项目名称:geany,代码行数:10,代码来源:abaqus.c


示例11: LuaParser

extern parserDefinition* LuaParser (void)
{
	static const char* const extensions [] = { "lua", NULL };
	parserDefinition* def = parserNew ("Lua");
	def->kinds      = LuaKinds;
	def->kindCount  = KIND_COUNT (LuaKinds);
	def->extensions = extensions;
	def->parser     = findLuaTags;
	return def;
}
开发者ID:Monits,项目名称:ctags,代码行数:10,代码来源:lua.c


示例12: CssParser

/* parser definition */
extern parserDefinition* CssParser (void)
{
	static const char *const extensions [] = { "css", NULL };
	parserDefinition* def = parserNew ("CSS");
	def->kinds      = CssKinds;
	def->kindCount  = ARRAY_SIZE (CssKinds);
	def->extensions = extensions;
	def->parser     = findCssTags;
	return def;
}
开发者ID:pjkack,项目名称:ctags,代码行数:11,代码来源:css.c


示例13: PowerShellParser

extern parserDefinition* PowerShellParser (void)
{
	static const char *const extensions [] = { "ps1", "psm1", NULL };
	parserDefinition* def = parserNew ("PowerShell");
	def->kinds      = PowerShellKinds;
	def->kindCount  = ARRAY_SIZE (PowerShellKinds);
	def->extensions = extensions;
	def->parser     = findPowerShellTags;
	return def;
}
开发者ID:ParrotSec,项目名称:geany,代码行数:10,代码来源:powershell.c


示例14: WindResParser

/* parser definition */
extern parserDefinition* WindResParser(void)
{
	static const char *const extensions [] = { "rc", NULL };
	parserDefinition* def = parserNew("WindRes");
	def->kinds		= ResKinds;
	def->kindCount	= ARRAY_SIZE(ResKinds);
	def->extensions	= extensions;
	def->parser		= findResTags;
	return def;
}
开发者ID:pjkack,项目名称:ctags,代码行数:11,代码来源:windres.c


示例15: parserNew

extern parserDefinition *ElixirParser (void)
{
    static const char *const extensions[] = { "ex", "exs", NULL };
    parserDefinition *def = parserNew ("Elixir");
    def->kinds = ElixirKinds;
    def->kindCount = KIND_COUNT (ElixirKinds);
    def->extensions = extensions;
    def->parser = findElixirTags;
    return def;
}
开发者ID:jsvisa,项目名称:ctags,代码行数:10,代码来源:elixir.c


示例16: FalconParser

/* 
 * Parser definition structure
 */
extern parserDefinition* FalconParser (void)
{
    static const char *const extensions [] = { "fal", "ftd", NULL };
    parserDefinition *def = parserNew ("Falcon");
    def->kinds      = FalconKinds;
    def->kindCount  = ARRAY_SIZE (FalconKinds);
    def->extensions = extensions;
    def->parser     = findFalconTags;
    return def;
}
开发者ID:pjkack,项目名称:ctags,代码行数:13,代码来源:falcon.c


示例17: BetaParser

extern parserDefinition* BetaParser (void)
{
	static const char *const extensions [] = { "bet", NULL };
	parserDefinition* def = parserNew ("BETA");
	def->kinds      = BetaKinds;
	def->kindCount  = ARRAY_SIZE (BetaKinds);
	def->extensions = extensions;
	def->parser     = findBetaTags;
	return def;
}
开发者ID:pjkack,项目名称:ctags,代码行数:10,代码来源:beta.c


示例18: EfilogParser

extern parserDefinition* EfilogParser (void)
{
	static const char *const extensions [] = { "efilog", "EFILOG", NULL };
	parserDefinition* def = parserNew ("efilog");
	def->kinds      = efilogKinds;
	def->kindCount  = KIND_COUNT (efilogKinds);
	def->extensions = extensions;
	def->parser     = findEfilogTags;
	return def;
}
开发者ID:0xeuclid,项目名称:0xeuclid.github.com,代码行数:10,代码来源:efilog.c


示例19: PerlParser

extern parserDefinition* PerlParser (void)
{
	static const char *const extensions [] = { "pl", "pm", "plx", "perl", NULL };
	parserDefinition* def = parserNew ("Perl");
	def->kinds      = PerlKinds;
	def->kindCount  = ARRAY_SIZE (PerlKinds);
	def->extensions = extensions;
	def->parser     = findPerlTags;
	return def;
}
开发者ID:dreamsxin,项目名称:geany,代码行数:10,代码来源:perl.c


示例20: SlangParser

extern parserDefinition* SlangParser (void)
{
	static const char *const extensions [] = { "sl", NULL };
	parserDefinition* const def = parserNew ("SLang");
	def->extensions = extensions;
	def->tagRegexTable = slangTagRegexTable;
	def->tagRegexCount = ARRAY_SIZE (slangTagRegexTable);
	def->method     = METHOD_NOT_CRAFTED|METHOD_REGEX;
	return def;
}
开发者ID:Sirlsliang,项目名称:ctags,代码行数:10,代码来源:slang.c



注:本文中的parserNew函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ parser_errposition函数代码示例发布时间:2022-05-30
下一篇:
C++ parserError函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap