Searched refs:startRule (Results 1 – 7 of 7) sorted by relevance
/external/antlr/tool/src/main/java/org/antlr/tool/ |
D | Interpreter.java | 126 public void scan(String startRule, in scan() argument 137 if ( grammar.getRuleStartState(startRule)==null ) { in scan() 148 NFAState start = grammar.getRuleStartState(startRule); in scan() 149 NFAState stop = grammar.getRuleStopState(startRule); in scan() 150 parseEngine(startRule, start, stop, input, ruleInvocationStack, in scan() 154 public CommonToken scan(String startRule) in scan() argument 157 return scan(startRule, null); in scan() 160 public CommonToken scan(String startRule, in scan() argument 165 scan(startRule, actions, visitedStates); in scan() 169 public void parse(String startRule, in parse() argument [all …]
|
D | RandomPhrase.java | 70 protected static void randomPhrase(Grammar g, List<Integer> tokenTypes, String startRule) { in randomPhrase() argument 71 NFAState state = g.getRuleStartState(startRule); in randomPhrase() 72 NFAState stopState = g.getRuleStopState(startRule); in randomPhrase() 147 String startRule = args[1]; in main() local 175 if ( parser.getRule(startRule)==null ) { in main() 176 System.out.println("undefined start rule "+startRule); in main() 198 randomPhrase(parser, tokenTypes, startRule); in main() 222 System.err.println("Error walking "+grammarFileName+" rule "+startRule+" seed "+seed); in main() 226 System.err.println("Exception walking "+grammarFileName+" rule "+startRule+" seed "+seed); in main()
|
D | Interp.java | 73 String startRule = args[2]; in main() local 95 if ( parser.getRule(startRule)==null ) { in main() 96 System.out.println("undefined start rule "+startRule); in main() 123 if ( parser.getRule(startRule)==null ) { in main() 124 System.err.println("Rule "+startRule+" does not exist in "+grammarFileName); in main() 128 ParseTree t = parseEngine.parse(startRule); in main()
|
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestLeftRecursion.java | 361 public void runTests(String grammar, String[] tests, String startRule) { in runTests() argument 369 startRule, in runTests()
|
/external/antlr/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/ |
D | StGUnit.g | 64 {adapter.startRule($parserRule.text);} 66 {adapter.startRule($lexerRule.text);}
|
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/runner/ |
D | TestSuiteAdapter.java | 49 public void startRule(String name) { in startRule() method in TestSuiteAdapter
|
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | TokenRewriteStream.as | 58 * parser.startRule();
|