/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;
|
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...] |
/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");
|
RecognizerEngine.java | 40 * <li>Set up the grammar using setupGrammar. 76 protected Recognizer.Grammar mSrecGrammar; 98 * <li>set up the grammar (implementation is in child class) 126 // destroy the grammar and regenerate.
|
/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...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestTreeGrammarRewriteAST.java | 34 import org.antlr.tool.Grammar; 40 * in a normal grammar except that the atomic element is a node not 48 String grammar = local 49 "grammar T;\n" + 57 "tree grammar TP;\n"+ 62 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", 68 String grammar = local 69 "grammar T;\n" + 77 "tree grammar TP;\n"+ 82 String found = execTreeParser("T.g", grammar, "TParser", "TP.g" 88 String grammar = local 107 String grammar = local 131 String grammar = local 151 String grammar = local 171 String grammar = local 191 String grammar = local 212 String grammar = local 260 String grammar = local 280 String grammar = local 300 String grammar = local 320 String grammar = local 340 String grammar = local 360 String grammar = local 381 String grammar = local 401 String grammar = local 421 String grammar = local 441 String grammar = local 461 String grammar = local 482 String grammar = local 502 String grammar = local 524 String grammar = local 544 String grammar = local 565 String grammar = local 585 String grammar = local 604 String grammar = local 626 String grammar = local 651 String grammar = local 672 String grammar = local 694 String grammar = local 716 String grammar = local 739 String grammar = local 762 String grammar = local 785 String grammar = local 808 String grammar = local 828 String grammar = local 851 String grammar = local 875 String grammar = local 898 String grammar = local 918 String grammar = local 938 String grammar = local 958 String grammar = local 981 String grammar = local 1001 String grammar = local 1021 String grammar = local 1041 String grammar = local 1061 String grammar = local 1081 String grammar = local 1101 String grammar = local [all...] |
/external/webkit/Source/WebCore/editing/ |
SpellChecker.cpp | 147 return DocumentMarker::Grammar;
|