/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | testbase.py | 113 self.grammarName = None 183 def compileGrammar(self, grammarName=None, options='', javaOptions=''): argument 184 if grammarName is None: 185 grammarName = self.moduleName + '.g' 193 if self.grammarName is None: 194 self.grammarName = os.path.splitext(grammarName)[0] 196 grammarPath = os.path.join(os.path.dirname(os.path.abspath(__file__)), grammarName) 210 if grammarName in compileErrorCache: 280 compileErrorCache[grammarName] = True 315 self.lexerModule = self.__load_module(self.grammarName) [all …]
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/ |
D | ParserLoader.java | 47 …public ParserLoader(String grammarName, String classDir) throws IOException, ClassNotFoundExceptio… in ParserLoader() argument 49 final String lexerName = grammarName + "Lexer"; in ParserLoader() 55 grammar = grammarName; in ParserLoader() 56 File[] files = dir.listFiles(new ClassFilenameFilter(grammarName)); in ParserLoader() 112 private String grammarName; field in ParserLoader.ClassFilenameFilter 115 grammarName = name; in ClassFilenameFilter() 119 return name.startsWith(grammarName) && name.endsWith(".class"); in accept()
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
D | GrammarInfo.java | 36 private String grammarName; // targeted grammar for unit test field in GrammarInfo 45 return grammarName; in getGrammarName() 48 public void setGrammarName(String grammarName) { in setGrammarName() argument 49 this.grammarName = grammarName; in setGrammarName()
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
D | TestSuite.java | 37 protected String grammarName ; field in TestSuite 42 grammarName = gname; in TestSuite() 78 public void setGrammarName(String name) { grammarName = name;} in setGrammarName() 80 public String getGrammarName() { return grammarName; } in getGrammarName()
|
D | TestSuiteFactory.java | 71 final String grammarName = fileName.substring(0, fileName.lastIndexOf('.')); in createTestSuite() local 73 … final File testFile = new File(grammarDir + File.separator + grammarName + TEST_SUITE_EXT); in createTestSuite() 75 final TestSuite result = new TestSuite(grammarName, testFile); in createTestSuite()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | CompositeGrammarTree.java | 100 public CompositeGrammarTree findNode(String grammarName) { in findNode() argument 101 if ( grammarName==null ) { in findNode() 104 if ( grammarName.equals(this.grammar.name) ) { in findNode() 110 n = child.findNode(grammarName); in findNode()
|
D | GrammarSpelunker.java | 54 protected String grammarName; field in GrammarSpelunker 109 grammarName = token; in grammarHeader() 143 public String getGrammarName() { return grammarName; } in getGrammarName() 245 System.out.println(g.grammarModifier+" grammar "+g.grammarName); in main()
|
D | CompositeGrammar.java | 304 public Grammar getGrammar(String grammarName) { in getGrammar() argument 305 CompositeGrammarTree t = delegateGrammarTreeRoot.findNode(grammarName); in getGrammar()
|
D | Grammar.java | 2236 String grammarName = grammarNameAST.getText(); in importGrammar() local 2238 String gname = grammarName + GRAMMAR_FILE_EXTENSION; in importGrammar() 2277 lexerGrammarST.add("imports", grammarName); in importGrammar()
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRDebugEventProxy.m | 88 NSLog(@"ANTLR waiting for debugger attach (grammar %@)", [self grammarName]); 95 …[self sendToDebugger:[NSString stringWithFormat:@"grammar \"%@", [self grammarName]] waitForRespon… 148 - (NSString *) grammarName 150 return grammarName; 155 if (grammarName != aGrammarName) { 157 [grammarName release]; 158 grammarName = aGrammarName;
|
D | ANTLRDebugEventProxy.h | 46 NSString *grammarName; variable 63 - (NSString *) grammarName;
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
D | ParseTreeBuilder.cs | 51 public ParseTreeBuilder( string grammarName ) in ParseTreeBuilder() argument 53 ParseTree root = Create( "<grammar " + grammarName + ">" ); in ParseTreeBuilder()
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
D | ParseTreeBuilder.cs | 49 public ParseTreeBuilder(string grammarName) { in ParseTreeBuilder() argument 50 ParseTree root = Create("<grammar " + grammarName + ">"); in ParseTreeBuilder()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | SerializedGrammar.java | 104 String grammarName = readString(in); in readFile() local 105 this.name = grammarName; in readFile() 106 System.out.println(grammarType+" grammar "+grammarName); in readFile()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | ParseTreeBuilder.java | 48 public ParseTreeBuilder(String grammarName) { in ParseTreeBuilder() argument 49 ParseTree root = create("<grammar "+grammarName+">"); in ParseTreeBuilder()
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
D | ANTLRDebugEventProxy.h | 46 NSString *grammarName; variable 63 - (NSString *) grammarName;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
D | ANTLRDebugEventProxy.h | 46 NSString *grammarName; variable 63 - (NSString *) grammarName;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRDebugEventProxy.h | 46 NSString *grammarName; variable 63 - (NSString *) grammarName;
|
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/swingui/ |
D | gunit.stg | 3 gUnitFile(testSuite) ::= <<gunit <testSuite.grammarName>;
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/ |
D | Tool.java | 568 String grammarName = grammar.getGrammarName(); in sortGrammarFiles() local 572 g.addEdge(grammarName+CodeGenerator.VOCAB_FILE_EXTENSION, gfile); in sortGrammarFiles()
|