Searched refs:startRule (Results 1 – 7 of 7) sorted by relevance
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | Interpreter.java | 124 public void scan(String startRule, in scan() argument 135 if ( grammar.getRuleStartState(startRule)==null ) { in scan() 146 NFAState start = grammar.getRuleStartState(startRule); in scan() 147 NFAState stop = grammar.getRuleStopState(startRule); in scan() 148 parseEngine(startRule, start, stop, in, ruleInvocationStack, in scan() 152 public CommonToken scan(String startRule) in scan() argument 155 return scan(startRule, null); in scan() 158 public CommonToken scan(String startRule, in scan() argument 163 scan(startRule, actions, visitedStates); in scan() 167 public void parse(String startRule, in parse() argument [all …]
|
D | RandomPhrase.java | 69 protected static void randomPhrase(Grammar g, List<Integer> tokenTypes, String startRule) { in randomPhrase() argument 70 NFAState state = g.getRuleStartState(startRule); in randomPhrase() 71 NFAState stopState = g.getRuleStopState(startRule); in randomPhrase() 146 String startRule = args[1]; in main() local 174 if ( parser.getRule(startRule)==null ) { in main() 175 System.out.println("undefined start rule "+startRule); in main() 197 randomPhrase(parser, tokenTypes, startRule); in main() 221 System.err.println("Error walking "+grammarFileName+" rule "+startRule+" seed "+seed); in main() 225 System.err.println("Exception walking "+grammarFileName+" rule "+startRule+" seed "+seed); in main()
|
D | Interp.java | 71 String startRule = args[2]; in main() local 93 if ( parser.getRule(startRule)==null ) { in main() 94 System.out.println("undefined start rule "+startRule); in main() 121 if ( parser.getRule(startRule)==null ) { in main() 122 System.err.println("Rule "+startRule+" does not exist in "+grammarFileName); in main() 126 ParseTree t = parseEngine.parse(startRule); in main()
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestLeftRecursion.java | 357 public void runTests(String grammar, String[] tests, String startRule) { in runTests() argument 365 startRule, in runTests()
|
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/ |
D | StGUnit.g | 64 {adapter.startRule($parserRule.text);} 66 {adapter.startRule($lexerRule.text);}
|
/external/antlr/antlr-3.4/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/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | TokenRewriteStream.as | 58 * parser.startRule();
|