/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
D | CodeGenTreeWalker.g | 68 private String currentRuleName = null; 78 return currentRuleName; 82 currentRuleName = value; 141 Rule r = grammar.getRule( currentRuleName ); 153 grammar.defineRuleRefLabel( currentRuleName, labelTok, elementAST ); 184 Rule r = grammar.getRule( currentRuleName ); 190 grammar.defineTokenRefLabel( currentRuleName, labelTok, elementAST ); 209 Rule r = grammar.getRule( currentRuleName ); 239 Rule ruleDescr = grammar.getRule( currentRuleName ); 407 currentRuleName = $start.getChild(0).getText(); [all …]
|
D | DefineGrammarItemsWalker.g | 53 protected String currentRuleName; 100 Rule r = grammar.getRule( currentRuleName ); 221 currentRuleName = name; 363 // Rule r = grammar.getRule(currentRuleName); 401 grammar.defineRuleRefLabel(currentRuleName,$id.getToken(),e); 405 grammar.defineWildcardTreeLabel(currentRuleName,$id.getToken(),e); 409 grammar.defineTokenRefLabel(currentRuleName,$id.getToken(),e); 421 grammar.defineRuleListLabel(currentRuleName,$id2.getToken(),a); 425 grammar.defineWildcardTreeListLabel( currentRuleName, $id2.getToken(), a ); 429 grammar.defineTokenListLabel(currentRuleName,$id2.getToken(),a); [all …]
|
D | TreeToNFAConverter.g | 62 protected String currentRuleName = null; 79 other.currentRuleName = currentRuleName; 87 Rule r = grammar.getLocallyDefinedRule( currentRuleName ); 94 other.currentRuleName = currentRuleName; 109 other.currentRuleName = currentRuleName; 218 currentRuleName = $id.text; 219 factory.setCurrentRule(grammar.getLocallyDefinedRule(currentRuleName)); 239 if (Rule.getRuleType(currentRuleName) == Grammar.PARSER || grammar.type==Grammar.LEXER) 242 Rule thisR = grammar.getLocallyDefinedRule(currentRuleName); 289 !currentRuleName.equals(Grammar.ARTIFICIAL_TOKENS_RULENAME)}? => [all …]
|
D | ANTLR.g | 140 protected String currentRuleName = null; 240 t.enclosingRuleName = _outer.currentRuleName; 248 t.enclosingRuleName = _outer.currentRuleName; 338 Rule.getRuleType(currentRuleName) == Grammar.LEXER) && 367 String predName = grammar.defineSyntacticPredicate( synpredBlockAST, currentRuleName ); 573 currentRuleName=$ruleName.text; 575 grammar.lexerRuleNamesInCombined.add(currentRuleName); 603 $tree.setTreeEnclosingRuleNameDeeply(currentRuleName); 790 …-> {grammarType == Grammar.COMBINED && Rule.getRuleType(currentRuleName) == Grammar.LEXER}? ^(SYNP…
|
D | AssignTokenTypesWalker.g | 103 protected String currentRuleName; 236 if ( currentRuleName==null && key.equals("tokenVocab") ) 299 : id=ID {currentRuleName=$id.text;}
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | AssignTokenTypesBehavior.java | 59 currentRuleName = null; in init() 70 if ( currentRuleName==null && grammar.type==Grammar.LEXER ) { in trackString() 95 if ( (currentRuleName==null || in trackString() 96 Character.isLowerCase(currentRuleName.charAt(0))) && in trackString()
|
D | GrammarSanity.java | 191 String currentRuleName) in checkRuleReference() argument
|
D | serialize.g | 62 protected String currentRuleName;
|
D | Grammar.java | 1455 String currentRuleName) in defineSyntacticPredicate() argument 2035 String currentRuleName) in checkRuleReference() argument 2037 sanity.checkRuleReference(scopeAST, refAST, argsAST, currentRuleName); in checkRuleReference()
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
D | Profiler.cs | 76 protected Stack<string> currentRuleName = new Stack<string>(); field in Antlr.Runtime.Debug.Profiler 106 currentRuleName.Push(ruleName); in EnterRule() 112 currentRuleName.Pop(); in ExitRule() 173 descriptor.ruleName = currentRuleName.Peek(); in EnterDecision() 655 currentRuleName.Peek(), in LocationDescription()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
D | Profiler.cs | 76 protected Stack<string> currentRuleName = new Stack<string>(); field in Antlr.Runtime.Debug.Profiler 109 currentRuleName.Push(ruleName); in EnterRule() 116 currentRuleName.Pop(); in ExitRule() 186 descriptor.ruleName = currentRuleName.Peek(); in EnterDecision() 715 currentRuleName.Peek(), in LocationDescription()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | Profiler.java | 131 protected Stack<String> currentRuleName = new Stack(); field in Profiler 162 currentRuleName.push( ruleName ); in enterRule() 168 currentRuleName.pop(); in exitRule() 229 descriptor.ruleName = (String)currentRuleName.peek(); in enterDecision() 726 currentRuleName.peek(), in locationDescription()
|