Home
last modified time | relevance | path

Searched refs:lexerName (Results 1 – 6 of 6) sorted by relevance

/external/antlr/tool/src/test/java/org/antlr/test/
DBaseTest.java212 String lexerName, in execLexer() argument
219 lexerName, in execLexer()
226 lexerName, in execLexer()
238 String lexerName, in execParser() argument
245 lexerName, in execParser()
258 lexerName, in execParser()
273 String lexerName, in execTreeParser() argument
284 lexerName, in execTreeParser()
297 String lexerName, in execTreeParser() argument
307 lexerName, in execTreeParser()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DLexer.java68 public Lexer(String lexerName, String buffer) { in Lexer() argument
69 super(lexerName, buffer); in Lexer()
70 this.selectLexer(lexerName); in Lexer()
91 public void selectLexer(String lexerName) { in selectLexer() argument
94 currentLexer = (Hashtable) lexerTables.get(lexerName); in selectLexer()
95 this.currentLexerName = lexerName; in selectLexer()
97 addLexer(lexerName); in selectLexer()
98 if (lexerName.equals("method_keywordLexer")) { in selectLexer()
113 } else if (lexerName.equals("command_keywordLexer")) { in selectLexer()
312 } else if (lexerName.equals("status_lineLexer")) { in selectLexer()
[all …]
/external/antlr/gunit/src/main/java/org/antlr/gunit/
DgUnitExecutor.java72 private String lexerName; field in gUnitExecutor
119 lexerName = grammarInfo.getGrammarPackage()+"."+grammarInfo.getGrammarName()+"Lexer"; in execTest()
123 lexerName = grammarInfo.getGrammarName()+"Lexer"; in execTest()
165 …private gUnitTestResult runCorrectParser(String parserName, String lexerName, String rule, String … in runCorrectParser() argument
167 if ( lexicalRule!=null ) return runLexer(lexerName, lexicalRule, input); in runCorrectParser()
168 else if ( treeRule!=null ) return runTreeParser(parserName, lexerName, rule, treeRule, input); in runCorrectParser()
169 else return runParser(parserName, lexerName, rule, input); in runCorrectParser()
186 result = runCorrectParser(parserName, lexerName, rule, lexicalRule, treeRule, input); in executeTests()
232 …protected gUnitTestResult runLexer(String lexerName, String testRuleName, gUnitTestInput testInput… in runLexer() argument
242 lexer = classForName(lexerName).asSubclass(Lexer.class); in runLexer()
[all …]
DJUnitCodeGen.java109 String lexerName = grammarInfo.getGrammarName()+"Lexer"; in compile() local
115 StringBuffer buf = compileToBuffer(junitFileName, lexerName, parserName); in compile()
119 public StringBuffer compileToBuffer(String className, String lexerName, String parserName) { in compileToBuffer() argument
122 buf.append(genClassHeader(group, className, lexerName, parserName)); in compileToBuffer()
128 … genClassHeader(StringTemplateGroup group, String junitFileName, String lexerName, String parserNa… in genClassHeader() argument
145 lexerPath = grammarInfo.getGrammarPackage()+"."+lexerName; in genClassHeader()
153 lexerPath = lexerName; in genClassHeader()
/external/nist-sip/java/gov/nist/core/
DLexerCore.java114 protected Hashtable addLexer(String lexerName) { in addLexer() argument
115 currentLexer = (Hashtable) lexerTables.get(lexerName); in addLexer()
118 lexerTables.put(lexerName, currentLexer); in addLexer()
125 public void selectLexer(String lexerName) { in selectLexer() argument
126 this.currentLexerName = lexerName; in selectLexer()
136 public LexerCore(String lexerName, String buffer) { in LexerCore() argument
138 this.currentLexerName = lexerName; in LexerCore()
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/runner/
DParserLoader.java49 final String lexerName = grammarName + "Lexer"; in ParserLoader() local
80 if(classList.isEmpty() || !classList.containsKey(lexerName)) { in ParserLoader()
81 throw new ClassNotFoundException(lexerName + " not found."); in ParserLoader()