Home
last modified time | relevance | path

Searched refs:lexerGrammar (Results 1 – 2 of 2) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/
DTool.java525 Grammar lexerGrammar = new Grammar(this); in process() local
526lexerGrammar.composite.watchNFAConversion = internalOption_watchNFAConversion; in process()
527 lexerGrammar.implicitLexer = true; in process()
531 lexerGrammar.setFileName(lexerGrammarFullFile.toString()); in process()
533 lexerGrammar.importTokenVocabulary(rootGrammar); in process()
534 lexerGrammar.parseAndBuildAST(sr); in process()
538 lexerGrammar.composite.assignTokenTypes(); in process()
539 lexerGrammar.addRulesForSyntacticPredicates(); in process()
540 lexerGrammar.composite.defineGrammarSymbols(); in process()
541 lexerGrammar.composite.createNFAs(); in process()
[all …]
/external/antlr/tool/src/test/java/org/antlr/test/
DTestAttributes.java2536 Grammar lexerGrammar = new Grammar(); in testArgsOnTokenInLexerRuleOfCombined() local
2537 lexerGrammar.setFileName("<internally-generated-lexer>"); in testArgsOnTokenInLexerRuleOfCombined()
2538 lexerGrammar.importTokenVocabulary(g); in testArgsOnTokenInLexerRuleOfCombined()
2539 lexerGrammar.parseAndBuildAST(sr); in testArgsOnTokenInLexerRuleOfCombined()
2540 lexerGrammar.defineGrammarSymbols(); in testArgsOnTokenInLexerRuleOfCombined()
2541 lexerGrammar.checkNameSpaceAndActions(); in testArgsOnTokenInLexerRuleOfCombined()
2546 CodeGenerator generator = new CodeGenerator(antlr, lexerGrammar, "Java"); in testArgsOnTokenInLexerRuleOfCombined()
2547 lexerGrammar.setCodeGenerator(generator); in testArgsOnTokenInLexerRuleOfCombined()
2554 new GrammarSemanticsMessage(expectedMsgID, lexerGrammar, null, expectedArg, expectedArg2); in testArgsOnTokenInLexerRuleOfCombined()
2569 Grammar lexerGrammar = new Grammar(); in testMissingArgsOnTokenInLexerRuleOfCombined() local
[all …]