/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
D | Tracer.cs | 58 override public void EnterRule(string grammarFileName, string ruleName) in EnterRule() argument 64 …Console.Out.WriteLine("> " + grammarFileName + " " + ruleName + " lookahead(1)=" + GetInputSymbol(… in EnterRule() 68 override public void ExitRule(string grammarFileName, string ruleName) in ExitRule() argument 75 …Console.Out.WriteLine("< " + grammarFileName + " " + ruleName + " lookahead(1)=" + GetInputSymbol(… in ExitRule()
|
D | DebugEventRepeater.cs | 56 public virtual void EnterRule(string grammarFileName, string ruleName) { in EnterRule() argument 57 _listener.EnterRule(grammarFileName, ruleName); in EnterRule() 59 public virtual void ExitRule(string grammarFileName, string ruleName) { in ExitRule() argument 60 _listener.ExitRule(grammarFileName, ruleName); in ExitRule()
|
D | DebugEventSocketProxy.cs | 58 protected string grammarFileName; field in Antlr.Runtime.Debug.DebugEventSocketProxy 78 this.grammarFileName = recognizer.GrammarFileName; in DebugEventSocketProxy() 104 socket.Send(encoding.GetBytes("grammar \"" + grammarFileName + "\n")); in Handshake() 153 public override void EnterRule(string grammarFileName, string ruleName) { in EnterRule() argument 154 Transmit("enterRule\t" + grammarFileName + "\t" + ruleName); in EnterRule() 161 public override void ExitRule(string grammarFileName, string ruleName) { in ExitRule() argument 162 Transmit("exitRule\t" + grammarFileName + "\t" + ruleName); in ExitRule()
|
D | IDebugEventListener.cs | 57 void EnterRule(string grammarFileName, string ruleName); in EnterRule() argument 75 void ExitRule(string grammarFileName, string ruleName); in ExitRule() argument
|
D | BlankDebugEventListener.cs | 49 public virtual void EnterRule(string grammarFileName, string ruleName) { in EnterRule() argument 54 public virtual void ExitRule(string grammarFileName, string ruleName) { in ExitRule() argument
|
D | DebugEventHub.cs | 72 public virtual void EnterRule(string grammarFileName, string ruleName) { in EnterRule() argument 75 listener.EnterRule(grammarFileName, ruleName); in EnterRule() 79 public virtual void ExitRule(string grammarFileName, string ruleName) { in ExitRule() argument 82 listener.ExitRule(grammarFileName, ruleName); in ExitRule()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | Interp.java | 69 String grammarFileName = args[0]; in main() local 77 Grammar parser = new Grammar(tool, grammarFileName, composite); in main() 79 FileReader fr = new FileReader(grammarFileName); in main() 101 lexer.fileName = grammarFileName; in main() 107 System.err.println("no lexer grammar found in "+grammarFileName); in main() 122 System.err.println("Rule "+startRule+" does not exist in "+grammarFileName); in main()
|
D | GrammarSpelunker.java | 48 protected String grammarFileName; field in GrammarSpelunker 60 public GrammarSpelunker(String inputDirectory, String grammarFileName) { in GrammarSpelunker() argument 62 this.grammarFileName = grammarFileName; in GrammarSpelunker() 70 else throw new Error("Error parsing "+grammarFileName+": '"+token+ in match() 75 … new FileReader((inputDirectory != null ? inputDirectory + File.separator : "") + grammarFileName); in parse()
|
D | RandomPhrase.java | 145 String grammarFileName = args[0]; in main() local 157 Grammar parser = new Grammar(tool, grammarFileName, composite); in main() 160 FileReader fr = new FileReader(grammarFileName); in main() 182 lexer.fileName = grammarFileName; in main() 187 System.err.println("no lexer grammar found in "+grammarFileName); 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 | BuildDependencyGenerator.java | 78 protected String grammarFileName; field in BuildDependencyGenerator 85 public BuildDependencyGenerator(Tool tool, String grammarFileName) in BuildDependencyGenerator() argument 88 this.grammarFileName = grammarFileName; in BuildDependencyGenerator() 89 grammar = tool.getRootGrammar(grammarFileName); in BuildDependencyGenerator() 100 File outputDir = tool.getOutputDirectory(grammarFileName); in getGeneratedFileList()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/ |
D | Tool.java | 368 public boolean buildRequired(String grammarFileName) in buildRequired() argument 372 new BuildDependencyGenerator(this, grammarFileName); in buildRequired() 379 grammarFile = new File(inputDirectory, grammarFileName); in buildRequired() 382 grammarFile = new File(grammarFileName); in buildRequired() 429 for (String grammarFileName : grammarFileNames) { in process() 435 if ( !buildRequired(grammarFileName) ) continue; in process() 443 System.out.println(grammarFileName); in process() 448 new BuildDependencyGenerator(this, grammarFileName); in process() 459 Grammar rootGrammar = getRootGrammar(grammarFileName); in process() 542 grammarFileName); in process() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/ |
D | depend.stg | 9 dependencies(grammarFileName,in,out) ::= << 10 <if(in)><grammarFileName>: <in; separator=", "><endif> 11 <out:{f | <f> : <grammarFileName>}; separator="\n">
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
D | DebugEventRepeater.cs | 60 public virtual void EnterRule( string grammarFileName, string ruleName ) in EnterRule() argument 62 _listener.EnterRule( grammarFileName, ruleName ); in EnterRule() 64 public virtual void ExitRule( string grammarFileName, string ruleName ) in ExitRule() argument 66 _listener.ExitRule( grammarFileName, ruleName ); in ExitRule()
|
D | DebugEventSocketProxy.cs | 58 protected string grammarFileName; field in Antlr.Runtime.Debug.DebugEventSocketProxy 80 this.grammarFileName = recognizer.GrammarFileName; in DebugEventSocketProxy() 111 socket.Send( encoding.GetBytes( "grammar \"" + grammarFileName + "\n" ) ); in Handshake() 170 public override void EnterRule( string grammarFileName, string ruleName ) in EnterRule() argument 172 Transmit( "enterRule\t" + grammarFileName + "\t" + ruleName ); in EnterRule() 180 public override void ExitRule( string grammarFileName, string ruleName ) in ExitRule() argument 182 Transmit( "exitRule\t" + grammarFileName + "\t" + ruleName ); in ExitRule()
|
D | BlankDebugEventListener.cs | 53 public virtual void EnterRule( string grammarFileName, string ruleName ) in EnterRule() argument 59 public virtual void ExitRule( string grammarFileName, string ruleName ) in ExitRule() argument
|
D | DebugEventHub.cs | 77 public virtual void EnterRule( string grammarFileName, string ruleName ) in EnterRule() argument 82 listener.EnterRule( grammarFileName, ruleName ); in EnterRule() 86 public virtual void ExitRule( string grammarFileName, string ruleName ) in ExitRule() argument 91 listener.ExitRule( grammarFileName, ruleName ); in ExitRule()
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3debughandlers.c | 56 static void enterRule (pANTLR3_DEBUG_EVENT_LISTENER delboy, const char * grammarFileName, const … 58 static void exitRule (pANTLR3_DEBUG_EVENT_LISTENER delboy, const char * grammarFileName, const c… 312 sprintf (message, "grammar \"%s\n", delboy->grammarFileName->chars); in handshake() 428 …delboy->tokenString = delboy->grammarFileName->factory->newSize(delboy->grammarFileName->factory, … in serializeToken() 477 …delboy->tokenString = delboy->grammarFileName->factory->newSize(delboy->grammarFileName->factory, … in serializeNode() 548 enterRule (pANTLR3_DEBUG_EVENT_LISTENER delboy, const char * grammarFileName, const char * ruleN… in enterRule() argument 554 sprintf(buffer, "enterRule\t%s\t%s\n", grammarFileName, ruleName); in enterRule() 570 exitRule (pANTLR3_DEBUG_EVENT_LISTENER delboy, const char * grammarFileName, const char * ruleNa… in exitRule() argument 576 sprintf(buffer, "exitRule\t%s\t%s\n", grammarFileName, ruleName); in exitRule() 926 …delboy->tokenString = delboy->grammarFileName->factory->newSize(delboy->grammarFileName->factory, … in createNode() [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | DebugEventRepeater.java | 49 …public void enterRule(String grammarFileName, String ruleName) { listener.enterRule(grammarFileNam… in enterRule() argument 50 …public void exitRule(String grammarFileName, String ruleName) { listener.exitRule(grammarFileName,… in exitRule() argument
|
D | DebugEventSocketProxy.java | 50 protected String grammarFileName; field in DebugEventSocketProxy 68 this.grammarFileName = recognizer.getGrammarFileName(); in DebugEventSocketProxy() 85 out.println("grammar \""+ grammarFileName); in handshake() 121 public void enterRule(String grammarFileName, String ruleName) { in enterRule() argument 122 transmit("enterRule\t"+grammarFileName+"\t"+ruleName); in enterRule() 129 public void exitRule(String grammarFileName, String ruleName) { in exitRule() argument 130 transmit("exitRule\t"+grammarFileName+"\t"+ruleName); in exitRule()
|
D | BlankDebugEventListener.java | 38 public void enterRule(String grammarFileName, String ruleName) {} in enterRule() argument 39 public void exitRule(String grammarFileName, String ruleName) {} in exitRule() argument
|
D | DebugEventListener.java | 56 public void enterRule(String grammarFileName, String ruleName); in enterRule() argument 70 public void exitRule(String grammarFileName, String ruleName); in exitRule() argument
|
/external/antlr/antlr-3.4/runtime/C/include/ |
D | antlr3debugeventlistener.h | 80 pANTLR3_STRING grammarFileName; member 106 …void (*enterRule) (pANTLR3_DEBUG_EVENT_LISTENER delboy, const char * grammarFileName, const cha… 118 …void (*exitRule) (pANTLR3_DEBUG_EVENT_LISTENER delboy, const char * grammarFileName, const cha…
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Debug/ |
D | IDebugEventListener.cs | 59 void EnterRule( string grammarFileName, string ruleName ); in EnterRule() argument 77 void ExitRule( string grammarFileName, string ruleName ); in ExitRule() argument
|
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/main/java/org/antlr/mojo/antlr3/ |
D | Antlr3Mojo.java | 482 private String findSourceSubdir(File sourceDirectory, String grammarFileName) { in findSourceSubdir() argument 485 if (!grammarFileName.startsWith(srcPath)) { in findSourceSubdir() 486 …throw new IllegalArgumentException("expected " + grammarFileName + " to be prefixed with " + sourc… in findSourceSubdir() 489 File unprefixedGrammarFileName = new File(grammarFileName.substring(srcPath.length())); in findSourceSubdir()
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | debug.py | 413 def enterRule(self, grammarFileName, ruleName): argument 431 def exitRule(self, grammarFileName, ruleName): argument 757 def enterRule(self, grammarFileName, ruleName): argument 760 def exitRule(self, grammarFileName, ruleName): argument 846 self.grammarFileName = recognizer.getGrammarFileName() 889 self.write("grammar \"%s" % self.grammarFileName) 922 def enterRule(self, grammarFileName, ruleName): argument 923 self.transmit("enterRule\t%s\t%s" % (grammarFileName, ruleName)) 930 def exitRule(self, grammarFileName, ruleName): argument 931 self.transmit("exitRule\t%s\t%s" % (grammarFileName, ruleName))
|