Searched refs:lexerGrammar (Results 1 – 2 of 2) sorted by relevance
525 Grammar lexerGrammar = new Grammar(this); in process() local526 … lexerGrammar.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 …]
2536 Grammar lexerGrammar = new Grammar(); in testArgsOnTokenInLexerRuleOfCombined() local2537 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 …]