/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/runtime/Ruby/lib/antlr3/test/ |
grammar.rb | 42 class Grammar 202 sprintf( "grammar %s (%s)", @name, @path ) 261 @source =~ /^\s*(lexer|parser|tree)?\s*grammar\s*(\S+)\s*;/ or 262 raise Grammar::FormatError[ source, path ] 266 end # class Grammar 268 class Grammar::InlineGrammar < Grammar 300 sprintf( 'inline grammar %s (%s:%s)', name, @host_file, @host_line ) 312 end # class Grammar::InlineGrammar 314 class Grammar::CompilationFailure < StandardErro [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DocumentMarker.h | 50 Grammar = 1 << GramarMarkerIndex, 74 : MarkerTypes(Spelling | Grammar | TextMatch | InvisibleSpellcheck) 82 : MarkerTypes(Spelling | Grammar) 90 : MarkerTypes(Spelling | Grammar | InvisibleSpellcheck)
|
/frameworks/base/core/java/android/speech/srec/ |
Recognizer.java | 36 * <li>Create a <code>Recognizer.Grammar</code>. 37 * <li>Setup the <code>Recognizer.Grammar</code>. 38 * <li>Reset the <code>Recognizer.Grammar</code> slots, if needed. 39 * <li>Fill the <code>Recognizer.Grammar</code> slots, if needed. 40 * <li>Compile the <code>Recognizer.Grammar</code>, if needed. 41 * <li>Save the filled <code>Recognizer.Grammar</code>, if needed. 58 * // create and load a Grammar 59 * Recognizer.Grammar grammar = recognizer.new Grammar(cdir + "/grammars/VoiceDialer.g2g") [all...] |
/external/chromium_org/third_party/ply/ |
yacc.py | 34 # This implements an LR parser that is constructed from grammar rules defined 169 # This class is used to hold non-terminal grammar symbols during parsing. 171 # .type = Grammar symbol type 183 # grammar rule. Index lookup and assignment actually assign the 288 pslice = YaccProduction(None) # Production object passed to grammar rules 318 symstack = [ ] # Stack of grammar symbols 418 # Call the grammar rule with our special slice object 459 # Call the grammar rule with our special slice object 603 pslice = YaccProduction(None) # Production object passed to grammar rules 629 symstack = [ ] # Stack of grammar symbol [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
WebFrameTest.cpp | [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
Grammar.java | 35 import org.antlr.grammar.v3.*; 47 /** Represents a grammar in memory. */ 48 public class Grammar { 65 public static final int WILDCARD_TREE_LABEL = 6; // Used in tree grammar x=. 66 public static final int WILDCARD_TREE_LIST_LABEL = 7; // Used in tree grammar x+=. 121 "Parser" // if combined grammar, gen Parser and Lexer will be done later 125 * another tree parser. Maps delegate to set of delegator grammar types. 146 /** This is the buffer of *all* tokens found in the grammar file 155 public Grammar grammar; field in class:Grammar.Decision [all...] |
/cts/tools/signature-tools/lib/ |
antlr-2.7.7.jar | |
/external/antlr/antlr-3.4/lib/ |
antlr-3.4-complete.jar | |
/prebuilts/misc/common/antlr/ |
antlr-3.4-complete.jar | |
/external/chromium_org/third_party/checkstyle/ |
checkstyle-5.7-all.jar | |
/prebuilts/misc/common/groovy/ |
groovy-all-1.7.0.jar | |
/prebuilts/tools/common/m2/repository/com/cenqua/clover/clover/3.1.12/ |
clover-3.1.12.jar | |
/prebuilts/tools/common/m2/repository/org/codehaus/groovy/groovy-all/2.2.1/ |
groovy-all-2.2.1.jar | |
/prebuilts/tools/common/m2/repository/xerces/xercesImpl/2.6.2/ |
xercesImpl-2.6.2.jar | |
/external/jdiff/ |
xerces.jar | |