/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
DebugEventSocketProxy.java | 121 public void enterRule(String grammarFileName, String ruleName) { 122 transmit("enterRule\t"+grammarFileName+"\t"+ruleName); 129 public void exitRule(String grammarFileName, String ruleName) { 130 transmit("exitRule\t"+grammarFileName+"\t"+ruleName);
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
exceptions.py | 340 def __init__(self, input, ruleName, predicateText): 343 self.ruleName = ruleName 348 return "FailedPredicateException("+self.ruleName+",{"+self.predicateText+"}?)"
|
debug.py | 413 def enterRule(self, grammarFileName, ruleName): 431 def exitRule(self, grammarFileName, ruleName): 757 def enterRule(self, grammarFileName, ruleName): 758 self.record("enterRule "+ruleName) 760 def exitRule(self, grammarFileName, ruleName): 761 self.record("exitRule "+ruleName) 922 def enterRule(self, grammarFileName, ruleName): 923 self.transmit("enterRule\t%s\t%s" % (grammarFileName, ruleName)) 930 def exitRule(self, grammarFileName, ruleName): 931 self.transmit("exitRule\t%s\t%s" % (grammarFileName, ruleName)) [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
Java.stg | 303 synpredRule(ruleName, ruleDescriptor, block, description, nakedBlock) ::= 305 // $ANTLR start <ruleName> 306 public final void <ruleName>_fragment(<ruleDescriptor.parameterScope:parameterScope()>) throws <ruleDescriptor.throwsSpec:{x|<x>}; separator=", "> { 309 traceIn("<ruleName>_fragment", <ruleDescriptor.index>); 314 traceOut("<ruleName>_fragment", <ruleDescriptor.index>); 320 // $ANTLR end <ruleName> 365 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 369 // $ANTLR start "<ruleName>" 371 public final <returnType()> <ruleName>(<ruleDescriptor.parameterScope:parameterScope()>) throws <ruleDescriptor.throwsSpec:{x|<x>}; separator=", "> { 372 <if(trace)>traceIn("<ruleName>", <ruleDescriptor.index>);<endif [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
Python.stg | 336 synpredRule(ruleName, ruleDescriptor, block, description, nakedBlock) ::= 338 # $ANTLR start "<ruleName>" 339 def <ruleName>_fragment(self, <ruleDescriptor.parameterScope:parameterScope()>): 342 self.traceIn("<ruleName>_fragment", <ruleDescriptor.index>) 347 self.traceOut("<ruleName>_fragment", <ruleDescriptor.index>) 352 # $ANTLR end "<ruleName>" 402 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 405 # $ANTLR start "<ruleName>" 408 def <ruleName>(self, <ruleDescriptor.parameterScope:parameterScope()>): 410 self.traceIn("<ruleName>", <ruleDescriptor.index>)<\n [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
Scala.stg | 278 synpredRule(ruleName, ruleDescriptor, block, description, nakedBlock) ::= 280 // $ANTLR start <ruleName> 282 def <ruleName>_fragment(<ruleDescriptor.parameterScope:parameterScope()>): Unit = { 285 traceIn("<ruleName>_fragment", <ruleDescriptor.index>) 290 traceOut("<ruleName>_fragment", <ruleDescriptor.index>); 296 // $ANTLR end <ruleName> 342 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 346 // $ANTLR start "<ruleName>" 349 final def <ruleName>(<ruleDescriptor.parameterScope:parameterScope()>): <returnType()> = { 350 <if(trace)>traceIn("<ruleName>", <ruleDescriptor.index>)<endif [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
Delphi.stg | 228 procedure m<rule.ruleName>(<rule.ruleDescriptor.parameterScope:parameterScope(scope=rule)>);<\n> 503 synpredRule(ruleName, ruleDescriptor, block, description, nakedBlock) ::= 505 // $ANTLR start "<ruleName>" 506 procedure T<grammar.recognizerName>.<ruleName>_fragment(<ruleDescriptor.parameterScope:parameterScope(scope=it)>); 513 TraceIn('<ruleName>_fragment', <ruleDescriptor.index>); 517 TraceOut('<ruleName>_fragment', <ruleDescriptor.index>); 523 // $ANTLR end "<ruleName>" 597 function <rule.ruleName>: I<returnType()>;<\n> 600 function <rule.ruleName>: <returnType()>;<\n> 602 procedure <rule.ruleName>;<\n [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
BaseRecognizer.java | 293 msg = "rule "+fpe.ruleName+" failed predicate: {"+ 865 public void traceIn(String ruleName, int ruleIndex, Object inputSymbol) { 866 System.out.print("enter "+ruleName+" "+inputSymbol); 873 public void traceOut(String ruleName, 877 System.out.print("exit "+ruleName+" "+inputSymbol);
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
BaseRecognizer.js | 345 msg = "rule "+e.ruleName+" failed predicate: {"+ [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
ActionScript.stg | 253 synpredRule(ruleName, ruleDescriptor, block, description, nakedBlock) ::= 255 // $ANTLR start <ruleName> 256 public final function <ruleName>_fragment(<ruleDescriptor.parameterScope:parameterScope(scope=it)>):void { 259 traceIn("<ruleName>_fragment", <ruleDescriptor.index>); 264 traceOut("<ruleName>_fragment", <ruleDescriptor.index>); 270 // $ANTLR end <ruleName> 315 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 317 // $ANTLR start <ruleName> 319 public final function <ruleName>(<ruleDescriptor.parameterScope:parameterScope(scope=it)>):<returnType()> { 320 <if(trace)>traceIn("<ruleName>", <ruleDescriptor.index>);<endif [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/ |
CPP.stg | 336 synpredRule(ruleName, ruleDescriptor, block, description, nakedBlock) ::= 338 // $ANTLR start <ruleName> 339 public void <ruleName>_fragment(<ruleDescriptor.parameterScope:parameterScope(scope=it)>) throws RecognitionException { 340 <if(trace)>System.out.println("enter <ruleName> "+input.LT(1)+" failed="+failed+" backtracking="+backtracking);<endif> 346 System.out.println("exit <ruleName> "+input.LT(1)+" failed="+failed+" backtracking="+backtracking); 352 // $ANTLR end <ruleName> 407 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,memoize) ::= << 411 // $ANTLR start <ruleName> 413 public <returnType()> <ruleName>(<ruleDescriptor.parameterScope:parameterScope(scope=it)>) throw(antlr3::BaseRecognitionException) 416 antlr3::Tracer trace(this,"<ruleName>"); [all...] |
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
ActionTranslator.g | 57 String ruleName, 63 this.enclosingRule = grammar.getLocallyDefinedRule(ruleName); 69 String ruleName, 76 this.enclosingRule = grammar.getRule(ruleName); 147 public Attribute getRuleLabelAttribute(String ruleName, String attrName) { 148 Rule r = grammar.getRule(ruleName); 647 * Isolated $rulename is not allowed unless it has a dynamic scope *and* 648 * there is no reference to rulename in the enclosing alternative, 669 String ruleName = "<outside-of-rule>"; 671 ruleName = enclosingRule.name [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
ObjC.stg | 273 - (<rule.ruleDescriptor:{ruleDescriptor|<returnType()>}>) <if(!rule.ruleDescriptor.isSynPred)>m<rule.ruleName><else><rule.ruleName>_fragment<endif> <if(rule.ruleDescriptor.parameterScope)><rule.ruleDescriptor.parameterScope:parameterScope()><endif>; }; separator="\n"><\n> 604 - (<rule.ruleDescriptor:{ruleDescriptor|<returnType()>}>)<if(!rule.ruleDescriptor.isSynPred)><rule.ruleName><else><rule.ruleName>_fragment<endif><if(rule.ruleDescriptor.parameterScope)><rule.ruleDescriptor.parameterScope:parameterScope()><endif>; }; separator="\n"><\n> 770 synpredRule(ruleName, ruleDescriptor, block, description, nakedBlock) ::= 772 // $ANTLR start <ruleName>_fragment 773 - (void) <ruleName>_fragment 777 [self traceIn:\@"<ruleName>_fragment" Index:<ruleDescriptor.index>]; 782 [self traceOut:\@"<ruleName>_fragment" Index:<ruleDescriptor.index>]; 787 } // $ANTLR end <ruleName>_fragmen [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
gUnitBaseTest.java | 92 Method ruleName = lexer.getMethod("m"+testRuleName, new Class[0]); 104 ruleName.invoke(lexObj, new Object[0]); 201 Method ruleName = parser.getMethod(testRuleName); 213 Object ruleReturn = ruleName.invoke(parObj); 348 Method ruleName = parser.getMethod(testRuleName); 360 Object ruleReturn = ruleName.invoke(parObj);
|
JUnitCodeGen.java | 337 protected String changeFirstCapital(String ruleName) { 338 String firstChar = String.valueOf(ruleName.charAt(0)); 339 return firstChar.toUpperCase()+ruleName.substring(1);
|
gUnitExecutor.java | 246 Method ruleName = lexer.getMethod("m"+testRuleName, new Class[0]); 258 ruleName.invoke(lexObj, new Object[0]); 339 Method ruleName = parser.getMethod(testRuleName); 351 Object ruleReturn = ruleName.invoke(parObj); 482 Method ruleName = parser.getMethod(testRuleName); 494 Object ruleReturn = ruleName.invoke(parObj);
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
DebugEventSocketProxy.cs | 153 public override void EnterRule(string grammarFileName, string ruleName) { 154 Transmit("enterRule\t" + grammarFileName + "\t" + ruleName); 161 public override void ExitRule(string grammarFileName, string ruleName) { 162 Transmit("exitRule\t" + grammarFileName + "\t" + ruleName);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
DebugEventSocketProxy.cs | 170 public override void EnterRule( string grammarFileName, string ruleName ) 172 Transmit( "enterRule\t" + grammarFileName + "\t" + ruleName ); 180 public override void ExitRule( string grammarFileName, string ruleName ) 182 Transmit( "exitRule\t" + grammarFileName + "\t" + ruleName );
|
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModeAutomationSettings.java | 99 public void onOk(String ruleName, RuleInfo ri) { 102 rule.name = ruleName; 118 String ruleId, String ruleName) { 119 if (DEBUG) Log.d(TAG, "showRule " + ruleId + " name=" + ruleName);
|
ZenModeRuleSettingsBase.java | 215 public void onOk(String ruleName, RuleInfo type) { 219 rule.name = ruleName;
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t058rewriteAST.py | 22 def traceIn(self, ruleName, ruleIndex): 23 self.traces.append('>'+ruleName) 26 def traceOut(self, ruleName, ruleIndex): 27 self.traces.append('<'+ruleName) 49 def traceIn(self, ruleName, ruleIndex): 50 self.traces.append('>'+ruleName) 53 def traceOut(self, ruleName, ruleIndex): 54 self.traces.append('<'+ruleName) [all...] |
t051treeRewriteAST.py | 14 def traceIn(self, ruleName, ruleIndex): 15 self.traces.append('>'+ruleName) 18 def traceOut(self, ruleName, ruleIndex): 19 self.traces.append('<'+ruleName) [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
CodeGenerator.java | 523 String ruleName=null; 525 ruleName = r.name; 531 List chunks = translateAction(ruleName,actionAST); [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
Interpreter.java | 65 public void exitRule(String grammarFileName, String ruleName) { 66 if ( !ruleName.equals(Grammar.ARTIFICIAL_TOKENS_RULENAME) ){ 67 int type = g.getTokenType(ruleName);
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
C.stg | [all...] |