HomeSort by relevance Sort by last modified time
    Searched refs:grammar (Results 201 - 225 of 450) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/
properties.rb 9 lexer grammar RuleProperty;
72 lexer grammar LexerRuleLabel;
basic.rb 7 lexer grammar Zero;
48 lexer grammar Binary;
85 lexer grammar BinaryFooze;
126 lexer grammar FooStar;
180 lexer grammar FooPlus;
238 lexer grammar FoaStar;
284 lexer grammar Foab;
327 lexer grammar Fa;
379 lexer grammar Digit;
431 lexer grammar IDsAndSpaces
    [all...]
filter-mode.rb 9 lexer grammar Filter;
101 lexer grammar Fuzzy;
  /external/python/cpython2/Lib/lib2to3/tests/
support.py 18 grammar_path = os.path.join(test_dir, "..", "Grammar.txt")
19 grammar = pgen2_driver.load_grammar(grammar_path) variable
20 driver = pgen2_driver.Driver(grammar, convert=pytree.convert)
  /external/python/cpython3/Lib/lib2to3/tests/
support.py 16 grammar_path = os.path.join(test_dir, "..", "Grammar.txt")
17 grammar = pgen2_driver.load_grammar(grammar_path) variable
18 driver = pgen2_driver.Driver(grammar, convert=pytree.convert)
  /external/smali/smali/src/test/antlr/org/jf/smali/
expectedTokensTestGrammar.g 3 * Java 1.6 grammar which can be found here:
4 * http://openjdk.java.net/projects/compiler-grammar/antlrworks/Java.g
40 * The remainder of this grammar is released by me (Ben Gruver) under the
70 grammar expectedTokensTestGrammar;
  /frameworks/data-binding/compilerCommon/
XMLLexer.g4 30 lexer grammar XMLLexer;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
support.py 18 grammar_path = os.path.join(test_dir, "..", "Grammar.txt")
19 grammar = driver.load_grammar(grammar_path) variable
20 driver = driver.Driver(grammar, convert=pytree.convert)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/
support.py 18 grammar_path = os.path.join(test_dir, "..", "Grammar.txt")
19 grammar = driver.load_grammar(grammar_path) variable
20 driver = driver.Driver(grammar, convert=pytree.convert)
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
ActionScript.stg 64 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="Token",
66 public class <grammar.recognizerName> extends <if(actions.(actionScope).superClass)><actions.(actionScope).superClass><else><@superClassName><superClass><@end><endif> {
72 <grammar.delegates:
75 <grammar.delegators:
77 <last(grammar.delegators):{g|public var gParent:<g.recognizerName>;}>
79 public function <grammar.recognizerName>(<grammar.delegators:{g|<g:delegateName()>:<g.recognizerName>, }>input:CharStream = null, state:RecognizerSharedState = null) {
83 <if(grammar.grammarIsRoot)>
87 <grammar.directDelegates:
89 <grammar.delegators
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
C.stg 54 * - From the grammar source file : <fileName>
140 * This is what the grammar programmer asked us to put at the top of every file.
186 /* Aids in accessing scopes for grammar programmers
571 * which will invoke the code for the associated rule in the source grammar
575 * For instance if you call the first (topmost) rule in a parser grammar, you will
576 * get the results of a full parse, but calling a rule half way through the grammar will
593 * grammar file.
648 <if(recognizer.grammar.delegates)>
651 <recognizer.grammar.delegates: {g|#include \<<g.recognizerName>.h>}; separator="\n">
690 <if(recognizer.grammar.delegators)
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
LeftRecursiveRuleWalker.g 6 * Grammar conversion to ANTLR v3:
34 tree grammar LeftRecursiveRuleWalker;
42 package org.antlr.grammar.v3;
53 protected Grammar grammar;
73 grammar,
110 rec_rule[Grammar g] returns [boolean isLeftRec]
113 grammar = g;
ANTLRTreePrinter.g 6 Grammar conversion to ANTLR v3:
33 /** Print out a grammar (no pretty printing).
39 tree grammar ANTLRTreePrinter;
48 package org.antlr.grammar.v3;
54 protected Grammar grammar;
90 grammar,
96 /** Normalize a grammar print out by removing all double spaces
119 toString[Grammar g, boolean showActions] returns [String s=null]
121 grammar = g
    [all...]
ANTLRv3Tree.g 29 /** ANTLR v3 tree grammar to walk trees created by ANTLRv3.g */
30 tree grammar ANTLRv3Tree;
38 package org.antlr.grammar.v3;
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DecisionProbe.java 30 import org.antlr.grammar.v3.ANTLRParser;
35 import org.antlr.tool.Grammar;
320 Grammar g = dfa.nfa.grammar;
325 if ( it.hasNext() && g.type!=Grammar.LEXER ) {
368 dfa.nfa.grammar.getNFAStateForAltOfDecision(nfaStart,a);
373 NFAState altStart = dfa.nfa.grammar.getNFAStateForAltOfDecision(nfaStart,alt);
430 while ( it.hasNext() && !dfa.nfa.grammar.NFAToDFAConversionExternallyAborted() ) {
447 d.dfa.nfa.grammar.getDecisionBlockAST(d.dfa.decisionNumber);
481 dfa.nfa.grammar,
    [all...]
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/
validate_instruction.cpp 47 const AssemblyGrammar& grammar) {
49 capabilities.ForEach([&grammar, &ss](SpvCapability cap) {
52 grammar.lookupOperand(SPV_OPERAND_TYPE_CAPABILITY, cap, &desc))
95 const auto ret = state.grammar().lookupOperand(type, operand, &operand_desc);
115 if (state.grammar().lookupOperand(type, operand, &operand_desc) ==
132 if (SPV_SUCCESS == _.grammar().lookupOpcode(opcode, &opcode_desc) &&
137 << ToString(opcode_desc->capabilities, _.grammar());
148 ToString(caps, _.grammar()));
160 return CapabilityError(_, i + 1, opcode, ToString(caps, _.grammar()));
363 // Grammar checks ensures that the number of arguments to this instructio
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
properties.rb 9 grammar RuleProperties;
56 grammar Labels;
109 grammar TokenLabels;
177 grammar RuleLabelReference;
228 grammar ReferenceSetChannel;
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
GrammarNonDeterminismMessage.java 63 String fileName = probe.dfa.nfa.grammar.getFileName();
82 probe.dfa.nfa.grammar.getRuleStartState(tokenName);
GrammarReport.java 31 import org.antlr.grammar.v3.ANTLRParser;
43 public static final String GRAMMAR_STATS_FILENAME = "grammar.stats";
82 public Grammar grammar; field in class:GrammarReport
84 public GrammarReport(Grammar grammar) {
85 this.grammar = grammar;
88 public static ReportData getReportData(Grammar g) {
119 .startsWith(Grammar.SYNPRED_RULE_PREFIX.toUpperCase())
    [all...]
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/utils/
generate_grammar_tables.py 15 """Generates various info tables from SPIR-V JSON grammar."""
28 # Extensions to recognize, but which don't come from the SPIRV-V core grammar.
36 # The following don't have an extended instruction set grammar file.
89 the given operand kind and quantifier used in the JSON grammar.
93 - operand kind: used in the JSON grammar
100 # The following cases are where we differ between the JSON grammar and
133 elif kind == 'PairIdRefIdRef': # Used by OpPhi in the grammar
176 the officially released grammar and how SPIRV-Tools uses the grammar.
393 """Returns enumeration containing extensions declared in the grammar.""
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/
Tool.java 40 /** The main ANTLR entry point. Read a grammar and generate a parser. */
67 /** Don't process grammar file if generated files are newer than grammar */
135 // Set all the options and pick up all the named grammar files
245 internalOption_PrintGrammarTree = true; // print grammar tree
341 // Must be the grammar file
362 * timestamp of all the grammar files involved in build the output
366 * @param grammarFileName The grammar file we are checking
396 // One of the imported grammar files has been updated so we must build
403 System.out.println("Grammar " + grammarFile + " is up to date - build skipped")
565 GrammarSpelunker grammar = new GrammarSpelunker(inputDirectory, gfile); local
600 Grammar grammar = new Grammar(this, grammarFileName, composite); local
    [all...]
  /external/antlr/antlr-3.4/antlr3-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
Antlr3Mojo.java 76 * If set to true, then after the tool has processed an input grammar file
85 * grammar which is devoid of any actions that may be present in the input file.
114 * for each decision in the grammar in <a href="http://www.graphviz.org">Dot format</a>
190 * Specifies the Antlr directory containing grammar files. For
239 * ANTLR 3.x grammars into the target language specified by the grammar.
368 throw new MojoExecutionException("Fatal error occured while evaluating the names of the grammar files to analyze");
380 // If any of the grammar files caused errors but did nto throw exceptions
411 // Which files under the source set should we be looking for as grammar files
440 // Iterate each grammar file we were given and add it into the tool's list of
443 for (File grammar : (Set<File>) grammarFiles)
    [all...]
  /external/antlr/antlr-3.4/runtime/Python/tests/
t052import.py 72 def execParser(self, grammar, grammarEntry, slaves, input):
82 lexerCls, parserCls = self.compileInlineGrammar(grammar)
93 def execLexer(self, grammar, slaves, input):
103 lexerCls = self.compileInlineGrammar(grammar)
121 # String grammar =
122 # "parser grammar S;\n" +
124 # Grammar g = new Grammar(grammar);
132 parser grammar S1
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/
rule-tracing.rb 9 grammar Traced;
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/
via-parser.rb 9 grammar TokenRewrites;

Completed in 1038 milliseconds

1 2 3 4 5 6 7 891011>>