/external/antlr/tool/src/main/java/org/antlr/tool/ |
D | Interp.java | 71 String grammarFileName = args[0]; in main() local 79 Grammar parser = new Grammar(tool, grammarFileName, composite); in main() 81 FileReader fr = new FileReader(grammarFileName); in main() 103 lexer.fileName = grammarFileName; in main() 109 System.err.println("no lexer grammar found in "+grammarFileName); in main() 124 System.err.println("Rule "+startRule+" does not exist in "+grammarFileName); in main()
|
D | RandomPhrase.java | 146 String grammarFileName = args[0]; in main() local 158 Grammar parser = new Grammar(tool, grammarFileName, composite); in main() 161 FileReader fr = new FileReader(grammarFileName); in main() 183 lexer.fileName = grammarFileName; in main() 188 System.err.println("no lexer grammar found in "+grammarFileName); in main() 222 System.err.println("Error walking "+grammarFileName+" rule "+startRule+" seed "+seed); in main() 226 System.err.println("Exception walking "+grammarFileName+" rule "+startRule+" seed "+seed); 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 | BuildDependencyGenerator.java | 77 protected String grammarFileName; field in BuildDependencyGenerator 84 public BuildDependencyGenerator(Tool tool, String grammarFileName) in BuildDependencyGenerator() argument 87 this.grammarFileName = grammarFileName; in BuildDependencyGenerator() 88 grammar = tool.getRootGrammar(grammarFileName); in BuildDependencyGenerator() 99 File outputDir = tool.getOutputDirectory(grammarFileName); in getGeneratedFileList()
|
/external/antlr/tool/src/main/java/org/antlr/ |
D | Tool.java | 374 public boolean buildRequired(String grammarFileName) in buildRequired() argument 378 new BuildDependencyGenerator(this, grammarFileName); in buildRequired() 385 grammarFile = new File(inputDirectory, grammarFileName); in buildRequired() 388 grammarFile = new File(grammarFileName); in buildRequired() 448 for (String grammarFileName : grammarFileNames) { in process() 454 if ( !buildRequired(grammarFileName) ) continue; in process() 462 System.out.println(grammarFileName); in process() 467 new BuildDependencyGenerator(this, grammarFileName); in process() 478 Grammar rootGrammar = getRootGrammar(grammarFileName); in process() 561 grammarFileName, e); in process() [all …]
|
/external/antlr/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 | 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()
|
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
|
/external/antlr/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/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/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 | 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()
|
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
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | DebugEventSocketProxy.java | 50 protected String grammarFileName; field in DebugEventSocketProxy 68 this.grammarFileName = recognizer.getGrammarFileName(); in DebugEventSocketProxy() 85 out.println("grammar \""+ grammarFileName); in handshake() 124 public void enterRule(String grammarFileName, String ruleName) { in enterRule() argument 125 transmit("enterRule\t"+grammarFileName+"\t"+ruleName); in enterRule() 134 public void exitRule(String grammarFileName, String ruleName) { in exitRule() argument 135 transmit("exitRule\t"+grammarFileName+"\t"+ruleName); in exitRule()
|
D | DebugEventRepeater.java | 49 …@Override public void enterRule(String grammarFileName, String ruleName) { listener.enterRule(gram… in enterRule() argument 50 …@Override public void exitRule(String grammarFileName, String ruleName) { listener.exitRule(gramma… 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/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/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))
|
/external/antlr/runtime/Python3/antlr3/ |
D | debug.py | 419 def enterRule(self, grammarFileName, ruleName): argument 437 def exitRule(self, grammarFileName, ruleName): argument 757 def enterRule(self, grammarFileName, ruleName): argument 760 def exitRule(self, grammarFileName, ruleName): argument 845 self.grammarFileName = recognizer.getGrammarFileName() 887 self.write('grammar "{}"'.format(self.grammarFileName)) 920 def enterRule(self, grammarFileName, ruleName): argument 921 self.transmit("enterRule\t{}\t{}".format(grammarFileName, ruleName)) 928 def exitRule(self, grammarFileName, ruleName): argument 929 self.transmit("exitRule\t{}\t{}".format(grammarFileName, ruleName))
|
/external/antlr/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/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
|