/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | CompositeGrammar.java | 201 List<Grammar> grammars = t.getPostOrderedGrammarList(); in getDelegates() local 202 grammars.remove(grammars.size()-1); // remove g (last one) in getDelegates() 203 return grammars; in getDelegates() 212 List<Grammar> grammars = new ArrayList(); in getDirectDelegates() local 215 grammars.add(child.grammar); in getDirectDelegates() 217 return grammars; in getDirectDelegates() 235 List<Grammar> grammars = new ArrayList(); in getDelegators() local 240 grammars.add(0, p.grammar); // add to head so in order later in getDelegators() 243 return grammars; in getDelegators() 280 List<Grammar> grammars = subtreeRoot.getPreOrderedGrammarList(); in getAllImportedRules() local [all …]
|
D | CompositeGrammarTree.java | 117 List<Grammar> grammars = new ArrayList<Grammar>(); in getPostOrderedGrammarList() local 118 _getPostOrderedGrammarList(grammars); in getPostOrderedGrammarList() 119 return grammars; in getPostOrderedGrammarList() 123 protected void _getPostOrderedGrammarList(List<Grammar> grammars) { in _getPostOrderedGrammarList() argument 126 child._getPostOrderedGrammarList(grammars); in _getPostOrderedGrammarList() 128 grammars.add(this.grammar); in _getPostOrderedGrammarList() 133 List<Grammar> grammars = new ArrayList<Grammar>(); in getPreOrderedGrammarList() local 134 _getPreOrderedGrammarList(grammars); in getPreOrderedGrammarList() 135 return grammars; in getPreOrderedGrammarList() 138 protected void _getPreOrderedGrammarList(List<Grammar> grammars) { in _getPreOrderedGrammarList() argument [all …]
|
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/site/apt/ |
D | usage.apt.vm | 4 layouts for your grammars, as so: 11 +--- imports/ .g files that are imported by other grammars. 60 Note that you can create multiple executions, and thus build some grammars with different 145 Provides an explicit list of all the grammars that should 147 is smart enough to realize that imported grammars should be included but 153 antlr, so as to avoid clashes and confusion for projects that use both v2 and v3 grammars 158 Provides an explicit list of any grammars that should be excluded from 167 2.x grammars. 169 <<NB>> Take careful note that the default location for antlr grammars 178 directory is occupied by version 2.x grammars. [all …]
|
D | index.apt | 28 use version 3.1.3 of the plugin, you will build your grammars using version 3.1.3 of the 49 +--- imports/ .g files that are imported by other grammars.
|
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/site/apt/examples/ |
D | libraries.apt | 4 as well as the ability to divide up functional components of large grammars. However it has 9 your grammar files in certain cases. If you have grammars that both use the import 13 location of your imported grammars and ANTLR will not find any vocab files in 16 The .tokens files for any grammars are generated within the same output directory structure 19 where it is placing the geenrated .java files. Hence when you locate the grammars that generate
|
D | import.apt | 3 In order to have the ANTLR plugin automatically locate and use grammars used 8 For a default layout, place your import grammars in the directory: <<<src/main/antlr3/imports>>>
|
D | simple.apt | 25 import grammars under <<<src/main/antlr3/imports>>> will be analyzed and converted to
|
/external/smali/smali/ |
D | build.gradle | 86 def grammars = fileTree(antlrSource).include('**/smaliParser.g') 91 args grammars.files 99 def grammars = fileTree(antlrSource).include('**/smaliTreeWalker.g') 104 args grammars.files 112 def grammars = fileTree(testAntlrSource).include('**/*.g') 117 args grammars.files.join(' ') 125 def grammars = fileTree(jflexSource).include('**/*.flex') 131 args grammars.files.join(' ')
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
D | functional.rb | 81 if g = grammars[ name.to_s ] 83 grammars.delete( name.to_s ) 101 def grammars method 106 grammars.length
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | README.rtf | 20 …e plugin has not been updated to recognize the new recommended file extensions for ANTLR grammars:\ 22 \cf0 Parsers and combined grammars: .g generate NameLexer.(h|m) and NameParser.(h|m) files\ 25 Parser grammars (alternatively): .gp generate NameParser.(h|m) files\
|
/external/antlr/antlr-3.4/gunit/ |
D | README.txt | 47 gUnit is an unit testing framework for ANTLR grammars. It provides a 48 simple way to write and run automated tests for grammars in a manner
|
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/ |
D | Readme.txt | 4 Dependency check for composed grammars added. 13 introduction of composed grammars, e.g. "import T.g".
|
/external/bison/tests/ |
D | testsuite.at | 53 # Huge artificial grammars. 57 # Checking big, real world grammars.
|
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/antlr3/imports/ |
D | Ruleb.g | 3 // This is just here to show that import grammars are stored in their
|
/external/antlr/antlr-3.4/runtime/Delphi/ |
D | README.TXT | 55 For some grammars, especially tree grammars, the code that is generated is not 63 when using this target. Please check out the Delphi sample grammars in the 86 Obviously, any custom actions inside your grammars should be written in the 94 names of rules in your grammars differ by more than only case. For example, if 105 grammars for examples):
|
/external/antlr/antlr-3.4/tool/ |
D | CHANGES.txt | 64 time landmine occasionally with huge grammars; fails over to backtracking 74 * Sam Harwell ported all v2 grammars to v3! 316 * Fixed ANTLR-374. Was caused by moved of grammars. %foo() stuff didn't work 347 imported grammars, it will run antlr on them. 353 checker (what grammars depend on etc...). Totally independent of any 387 Made filter mode valid for tree grammars and have it automatically set 601 for delegate grammars. Fixes ANTLR-302 661 grammars would cause a null ptr exception. Fixes ANTLR-292. 670 * Improved unit testing so that each test suite executes and builds grammars 803 * Fixed ANTLR-237. updated -depend to know about imported grammars. [all …]
|
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/antlr3/ |
D | TParser.g | 30 // simle demo parser. We do the import to show where imported grammars should be
|
/external/antlr/antlr-3.4/runtime/Python/ |
D | ChangeLog | 11 generated code, so (simple) grammars can be executed as standalone
|
/external/bison/ |
D | TODO | 147 grammars she is working on. We should probably also include some 166 features, or should we have several very small grammars? 173 ** Statically check for potential ambiguities in GLR grammars. See 225 grammars. I can't find the papers. In particular the book `LR
|
/external/bison/data/ |
D | README | 7 that are specialized for specific grammars by the bison program.
|
/external/antlr/antlr-3.4/runtime/JavaScript/build/ |
D | README | 41 grammars that have recoverable problems.)
|
/external/antlr/antlr-3.4/runtime/C/ |
D | README | 80 ANTLR v3 sample grammars: 112 handles many more grammars than v2 does. In practice, it means you 133 You can do combined lexer/parser grammars again (ala PCCTS) both lexer 472 * tree grammars also can do rewrite=true for output=template. 479 * You get a warning for tree grammars that do rewrite=true and 668 * TreeParser suffix no longer generated for tree grammars 854 * line numbers for lexers in combined grammars are now reported correctly. 874 FooLexer.java. tree grammars generate FooTreeParser.java 1058 * memoize option for grammars, rules, blocks. Remove -nomemo cmd-line option 1496 * /* epsilon */ is not printed now when printing out grammars with empty alts [all …]
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | Parser.as | 31 /** A parser for TokenStreams. "parser grammars" result in a subclass
|
D | RecognizerSharedState.as | 5 * shared among multiple grammars; e.g., when one grammar imports another.
|
/external/antlr/antlr-3.4/runtime/C/doxygen/ |
D | using.dox | 7 /// -# Writing ANTLR grammars (not covered in this manual);
|