HomeSort by relevance Sort by last modified time
    Searched refs:Grammar (Results 76 - 100 of 148) sorted by null

1 2 34 5 6

  /external/srec/srec/AcousticState/
Android.mk 20 $(ASR_ROOT_DIR)/srec/Grammar/include \
  /external/srec/srec/Grammar/
Android.mk 20 $(ASR_ROOT_DIR)/srec/Grammar/include \
  /external/srec/srec/Nametag/
Android.mk 22 $(ASR_ROOT_DIR)/srec/Grammar/include \
  /external/srec/srec/Recognizer/
Android.mk 22 $(ASR_ROOT_DIR)/srec/Grammar/include \
  /external/srec/srec/Semproc/
Android.mk 28 $(ASR_ROOT_DIR)/srec/Grammar/include \
  /external/srec/srec/Session/
Android.mk 19 $(ASR_ROOT_DIR)/srec/Grammar/include \
  /external/srec/srec/Vocabulary/
Android.mk 19 $(ASR_ROOT_DIR)/srec/Grammar/include \
  /external/srec/srec_jni/
Android.mk 26 $(ASR_ROOT_DIR)/srec/Grammar/include \
  /external/srec/tools/grxmlcompile/
Android.mk 33 $(ASR_ROOT_DIR)/srec/Grammar/include \
  /external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
ActionTranslator.g 28 lexer grammar ActionTranslator;
35 package org.antlr.grammar.v3;
44 import org.antlr.grammar.v3.ANTLRParser;
52 Grammar grammar;
62 this.grammar = generator.grammar;
63 this.enclosingRule = grammar.getLocallyDefinedRule(ruleName);
75 grammar = generator.grammar;
    [all...]
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;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
grammar.py 4 """This module defines the data structures used to represent a grammar.
22 class Grammar(object):
25 Once initialized, this class supplies the grammar tables for the
33 file is written by calling dump() (after loading the grammar
58 begin this grammar rule (represented by a dict
68 start -- the number of the grammar's start symbol.
88 """Dump the grammar tables to a pickle file."""
94 """Load the grammar tables from a pickle file."""
102 Copy the grammar.
114 """Dump the grammar tables to standard output, for debugging.""
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
grammar.py 4 """This module defines the data structures used to represent a grammar.
22 class Grammar(object):
25 Once initialized, this class supplies the grammar tables for the
33 file is written by calling dump() (after loading the grammar
58 begin this grammar rule (represented by a dict
68 start -- the number of the grammar's start symbol.
88 """Dump the grammar tables to a pickle file."""
94 """Load the grammar tables from a pickle file."""
102 Copy the grammar.
114 """Dump the grammar tables to standard output, for debugging.""
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
CodeGenerator.java 34 import org.antlr.grammar.v3.ANTLRLexer;
35 import org.antlr.grammar.v3.ANTLRParser;
36 import org.antlr.grammar.v3.ActionTranslator;
37 import org.antlr.grammar.v3.CodeGenTreeWalker;
63 * in a grammar file dictates which templates get loaded/used.
91 /** Which grammar are we generating code for? Each generator
92 * is attached to a specific grammar.
94 public Grammar grammar; field in class:CodeGenerator
153 public CodeGenerator(Tool tool, Grammar grammar, String language)
    [all...]
RubyTarget.java 32 import org.antlr.tool.Grammar;
306 Grammar grammar,
314 and then generate code from that. It keeps the combo/parser grammar object
315 and the lexer grammar object, as well as their respective code generator and
321 - if this method is called with a combo grammar, and the action map
322 in the grammar contains an entry for the named scope "all",
323 add an entry to sharedActionBlocks mapping the grammar name to
326 (one that's extracted from a combo grammar), check to see if
327 there's an entry in sharedActionBlocks for the lexer's grammar name
    [all...]
Target.java 34 import org.antlr.tool.Grammar;
88 Grammar grammar,
93 generator.getRecognizerFileName(grammar.name, grammar.type);
99 Grammar grammar,
108 Grammar grammar)
110 // Build NFAs from the grammar AS
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
GrammarSanity.java 33 import org.antlr.grammar.v3.ANTLRParser;
48 protected Grammar grammar; field in class:GrammarSanity
49 public GrammarSanity(Grammar grammar) {
50 this.grammar = grammar;
59 grammar.buildNFA(); // make sure we have NFAs
60 grammar.leftRecursiveRules = new HashSet();
62 for (int i = 0; i < grammar.composite.ruleIndexToRuleList.size(); i++)
    [all...]
ErrorManager.java 51 * issues with a grammar.
119 // GRAMMAR ERRORS
189 // GRAMMAR WARNINGS
327 /** Handle all ST error listeners here (code gen, Grammar, and this class
707 Grammar g,
719 Grammar g,
727 Grammar g,
734 Grammar g,
746 Grammar g,
754 Grammar g
    [all...]
NFAFactory.java 39 /** Routines to construct StateClusters from EBNF grammar constructs.
76 /** Optimize an alternative (list of grammar elements).
129 int tokenType = nfa.grammar.getTokenType(atomAST.getText());
155 set = nfa.grammar.complement(set);
176 int c = Grammar.getCharValueFromGrammarCharLiteral(charLiteralAST.getText());
186 int from = Grammar.getCharValueFromGrammarCharLiteral(a);
187 int to = Grammar.getCharValueFromGrammarCharLiteral(b);
198 if ( nfa.grammar.type==Grammar.LEXER ) {
200 Grammar.getUnescapedStringFromGrammarStringLiteral(stringLiteralAST.getText())
    [all...]
  /frameworks/base/core/java/android/speech/srec/
Recognizer.java 38 * <li>Create a <code>Recognizer.Grammar</code>.
39 * <li>Setup the <code>Recognizer.Grammar</code>.
40 * <li>Reset the <code>Recognizer.Grammar</code> slots, if needed.
41 * <li>Fill the <code>Recognizer.Grammar</code> slots, if needed.
42 * <li>Compile the <code>Recognizer.Grammar</code>, if needed.
43 * <li>Save the filled <code>Recognizer.Grammar</code>, if needed.
60 * // create and load a Grammar
61 * Recognizer.Grammar grammar = recognizer.new Grammar(cdir + "/grammars/VoiceDialer.g2g")
    [all...]
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
PhoneTypeChoiceRecognizerEngine.java 35 if (false) Log.d(TAG, "start new Grammar");
36 mSrecGrammar = mSrec.new Grammar(SREC_DIR + "/grammars/phone_type_choice.g2g");
  /external/chromium_org/third_party/WebKit/Source/core/editing/
SpellCheckRequester.cpp 72 const Vector<DocumentMarker*>& markers = checkingRange->ownerDocument()->markers()->markersInRange(checkingRange.get(), DocumentMarker::Spelling | DocumentMarker::Grammar);
249 markers |= DocumentMarker::Grammar;
SpellChecker.cpp 72 const Vector<DocumentMarker*>& markers = checkingRange->ownerDocument()->markers()->markersInRange(checkingRange.get(), DocumentMarker::Spelling | DocumentMarker::Grammar);
249 markers |= DocumentMarker::Grammar;
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
SemanticContext.java 31 import org.antlr.grammar.v3.ANTLRParser;
32 import org.antlr.tool.Grammar;
83 /** Notify the indicated grammar of any syn preds used within this context */
84 public void trackUseOfSyntacticPredicates(Grammar g) {
88 /** The AST node in tree created from the grammar holding the predicate */
138 * text rather than same node in the grammar's AST.
182 generator.grammar.decisionsWhoseDFAsUsesSemPreds.add(dfa);
234 public void trackUseOfSyntacticPredicates(Grammar g) {
371 public void trackUseOfSyntacticPredicates(Grammar g) {
584 public void trackUseOfSyntacticPredicates(Grammar g)
    [all...]
DFAState.java 34 import org.antlr.tool.Grammar;
53 * the underlying LL grammar from which the NFA was derived.
310 System.out.println("addReachableLabel to state "+dfa.decisionNumber+"."+stateNumber+": "+label.getSet().toString(dfa.nfa.grammar));
324 System.out.println("comparing ["+i+"]: "+label.toString(dfa.nfa.grammar)+" & "+
325 rl.toString(dfa.nfa.grammar)+"="+
326 intersection.toString(dfa.nfa.grammar));
369 System.out.println("remainder state "+dfa.decisionNumber+"."+stateNumber+": "+remainder.toString(dfa.nfa.grammar));
577 if ( dfa.nfa.grammar.type!=Grammar.LEXER ||
578 !dfa.decisionNFAStartState.enclosingRule.name.equals(Grammar.ARTIFICIAL_TOKENS_RULENAME)
    [all...]

Completed in 471 milliseconds

1 2 34 5 6