HomeSort by relevance Sort by last modified time
    Searched full:refast (Results 1 - 6 of 6) sorted by null

  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
GrammarSanity.java 189 GrammarAST refAST,
193 Rule r = grammar.getRule(refAST.getText());
194 if ( refAST.getType()==ANTLRParser.RULE_REF ) {
213 refAST.getToken(),
218 else if ( refAST.getType()==ANTLRParser.TOKEN_REF ) {
225 refAST.getToken(),
226 refAST.getText());
248 refAST.getToken(),
CompositeGrammar.java 438 for (GrammarAST refAST : p.grammar.ruleRefs) {
439 System.out.println("ref "+refAST.getText()+": "+refAST.NFAStartState+
440 " enclosing rule: "+refAST.NFAStartState.enclosingRule+
441 " invoking rule: "+((NFAState)refAST.NFAStartState.transition[0].target).enclosingRule);
442 refs.add(((NFAState)refAST.NFAStartState.transition[0].target).enclosingRule);
461 for (GrammarAST refAST : delegateGrammarTreeRoot.grammar.ruleRefs) {
462 String rname = refAST.getText();
495 for (GrammarAST refAST : p.grammar.ruleRefs) {
496 if ( localRuleDefsSatisfyingRefsFromBelow.contains(refAST.enclosingRuleName) )
    [all...]
NameSpaceChecker.java 129 GrammarAST refAST = (GrammarAST)iter.next();
130 Token tok = refAST.token;
165 GrammarAST refAST = (GrammarAST)scopeAST.getChild(1);
166 String ruleName = refAST.getText();
Rule.java 270 public void trackTokenReferenceInAlt(GrammarAST refAST, int outerAltNum) {
271 List refs = (List)altToTokenRefMap[outerAltNum].get(refAST.getText());
274 altToTokenRefMap[outerAltNum].put(refAST.getText(), refs);
276 refs.add(refAST);
287 public void trackRuleReferenceInAlt(GrammarAST refAST, int outerAltNum) {
288 List refs = (List)altToRuleRefMap[outerAltNum].get(refAST.getText());
291 altToRuleRefMap[outerAltNum].put(refAST.getText(), refs);
293 refs.add(refAST);
Grammar.java     [all...]
  /cts/tools/signature-tools/lib/
antlr-2.7.7.jar 

Completed in 82 milliseconds