本文整理汇总了Java中org.sonar.sslr.grammar.LexerlessGrammarBuilder类的典型用法代码示例。如果您正苦于以下问题:Java LexerlessGrammarBuilder类的具体用法?Java LexerlessGrammarBuilder怎么用?Java LexerlessGrammarBuilder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LexerlessGrammarBuilder类属于org.sonar.sslr.grammar包,在下文中一共展示了LexerlessGrammarBuilder类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: assertThat
import org.sonar.sslr.grammar.LexerlessGrammarBuilder; //导入依赖的package包/类
public static ParserAssert assertThat(LexerlessGrammarBuilder b, GrammarRuleKey rule) {
return new ParserAssert(new ActionParser<Tree>(
Charsets.UTF_8,
b,
OneCGrammar.class,
new TreeFactory(),
new OneCNodeBuilder(),
rule));
}
开发者ID:antowski,项目名称:sonar-onec,代码行数:10,代码来源:Assertions.java
示例2: OneCParser
import org.sonar.sslr.grammar.LexerlessGrammarBuilder; //导入依赖的package包/类
private OneCParser(Charset charset, LexerlessGrammarBuilder grammarBuilder, Class<OneCGrammar> onecGrammarClass,
TreeFactory treeFactory, OneCNodeBuilder onecNodeBuilder, OneCLexer compilationUnit) {
super(charset, grammarBuilder, onecGrammarClass, treeFactory, onecNodeBuilder, compilationUnit);
}
开发者ID:antowski,项目名称:sonar-onec,代码行数:5,代码来源:OneCParser.java
示例3: AbstractParser
import org.sonar.sslr.grammar.LexerlessGrammarBuilder; //导入依赖的package包/类
public AbstractParser(Charset charset, LexerlessGrammarBuilder grammarBuilder, Class<? extends CssGrammar> grammarClass,
TreeFactory treeFactory, AbstractNodeBuilder nodeBuilder, GrammarRuleKey rootRule) {
super(charset, grammarBuilder, grammarClass, treeFactory, nodeBuilder, rootRule);
}
开发者ID:racodond,项目名称:sonar-css-plugin,代码行数:5,代码来源:AbstractParser.java
示例4: CssParser
import org.sonar.sslr.grammar.LexerlessGrammarBuilder; //导入依赖的package包/类
private CssParser(Charset charset, LexerlessGrammarBuilder grammarBuilder, Class<CssGrammar> cssGrammarClass,
TreeFactory treeFactory, CssNodeBuilder cssNodeBuilder, GrammarRuleKey rootRule) {
super(charset, grammarBuilder, cssGrammarClass, treeFactory, cssNodeBuilder, rootRule);
}
开发者ID:racodond,项目名称:sonar-css-plugin,代码行数:5,代码来源:CssParser.java
示例5: EmbeddedCssParser
import org.sonar.sslr.grammar.LexerlessGrammarBuilder; //导入依赖的package包/类
private EmbeddedCssParser(Charset charset, LexerlessGrammarBuilder grammarBuilder, Class<EmbeddedCssGrammar> embeddedCssGrammarClass,
TreeFactory treeFactory, EmbeddedCssNodeBuilder embeddedCssNodeBuilder, GrammarRuleKey rootRule) {
super(charset, grammarBuilder, embeddedCssGrammarClass, treeFactory, embeddedCssNodeBuilder, rootRule);
}
开发者ID:racodond,项目名称:sonar-css-plugin,代码行数:5,代码来源:EmbeddedCssParser.java
示例6: LessParser
import org.sonar.sslr.grammar.LexerlessGrammarBuilder; //导入依赖的package包/类
private LessParser(Charset charset, LexerlessGrammarBuilder grammarBuilder, Class<LessGrammar> lessGrammarClass,
TreeFactory treeFactory, LessNodeBuilder lessNodeBuilder, GrammarRuleKey rootRule) {
super(charset, grammarBuilder, lessGrammarClass, treeFactory, lessNodeBuilder, rootRule);
}
开发者ID:racodond,项目名称:sonar-css-plugin,代码行数:5,代码来源:LessParser.java
示例7: ScssParser
import org.sonar.sslr.grammar.LexerlessGrammarBuilder; //导入依赖的package包/类
private ScssParser(Charset charset, LexerlessGrammarBuilder grammarBuilder, Class<ScssGrammar> scssGrammarClass,
TreeFactory treeFactory, ScssNodeBuilder scssNodeBuilder, GrammarRuleKey rootRule) {
super(charset, grammarBuilder, scssGrammarClass, treeFactory, scssNodeBuilder, rootRule);
}
开发者ID:racodond,项目名称:sonar-css-plugin,代码行数:5,代码来源:ScssParser.java
示例8: GherkinParser
import org.sonar.sslr.grammar.LexerlessGrammarBuilder; //导入依赖的package包/类
public GherkinParser(Charset charset, LexerlessGrammarBuilder grammarBuilder, Class<GherkinGrammar> grammarClass,
TreeFactory treeFactory, GherkinNodeBuilder nodeBuilder, GrammarRuleKey rootRule) {
super(charset, grammarBuilder, grammarClass, treeFactory, nodeBuilder, rootRule);
}
开发者ID:racodond,项目名称:sonar-gherkin-plugin,代码行数:5,代码来源:GherkinParser.java
注:本文中的org.sonar.sslr.grammar.LexerlessGrammarBuilder类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论