/external/bison/src/ |
H A D | parse-gram.y | 82 node. This is because a single named-ref in the grammar may 108 /* Bison's grammar can initial empty locations, hence a default 230 prologue_declarations "%%" grammar epilogue.opt 540 | The grammar section: between the two %%. | 543 grammar: label 545 | grammar rules_or_grammar_declaration 548 /* As a Bison extension, one can use the grammar declarations in the 549 body of the grammar. */
|
/external/antlr/antlr-3.4/runtime/Perl5/tools/ |
H A D | port.pl | 195 of a file (Java class, grammar, ...) is completed it is added to the
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/ |
H A D | profile-mode.rb | 10 grammar SimpleC;
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
H A D | GrammarSerializerFoo.java | 36 /** Serialize a grammar into a highly compressed form with 75 public void grammar(int grammarTokenType, String name) { method in class:GrammarSerializerFoo
|
H A D | Strip.java | 31 import org.antlr.grammar.v3.ANTLRv3Lexer; 32 import org.antlr.grammar.v3.ANTLRv3Parser; 255 // Must be the grammar file 264 System.err.println(" -tree print out ANTLR grammar AST");
|
H A D | Grammar.java | 35 import org.antlr.grammar.v3.*; 47 /** Represents a grammar in memory. */ 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 184 /** What name did the user provide for this grammar? */ 187 /** What type of grammar i [all...] |
H A D | ErrorManager.java | 51 * issues with a grammar. 761 Grammar grammar, 769 new GrammarSyntaxMessage(msgID,grammar,token,arg,re) 760 syntaxError(int msgID, Grammar grammar, Token token, Object arg, RecognitionException re) argument
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
H A D | TestTemplates.java | 32 import org.antlr.grammar.v3.ANTLRParser; 33 import org.antlr.grammar.v3.ActionTranslator; 56 "grammar t;\n" + 93 "grammar t;\n" + 131 "grammar t;\n" + 167 "grammar t;\n" + 202 "grammar t;\n" + 238 "grammar t;\n" + 270 "grammar t;\n" + 296 "grammar [all...] |
H A D | TestSymbolDefinitions.java | 47 "parser grammar t;\n"+ 57 "parser grammar t;\n" + 71 "lexer grammar t;\n" + 85 "grammar t;\n" + 99 "grammar t;\n"+ 113 "grammar t;\n" + 121 "lexer grammar t;" + newline + 131 "grammar t;\n"+ 141 "grammar t;\n"+ 152 "parser grammar [all...] |
H A D | TestAttributes.java | 32 import org.antlr.grammar.v3.ANTLRParser; 33 import org.antlr.grammar.v3.ActionTranslator; 76 "parser grammar t;\n"+ 99 "parser grammar t;\n"+ 122 // now check in actual grammar. 124 "parser grammar t;\n"+ 144 // now check in actual grammar. 146 "parser grammar t;\n"+ 175 // now check in actual grammar. 177 "parser grammar [all...] |
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
H A D | ANTLRv3.g | 28 /** ANTLR v3 grammar written in ANTLR v3 with AST construction */ 29 grammar ANTLRv3; 81 package org.antlr.grammar.v3; 85 package org.antlr.grammar.v3; 99 g='grammar' id ';' optionsSpec? tokensSpec? attrScope* action* 602 /** Reset the file and line information; useful when the grammar
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
H A D | NFAToDFAConverter.java | 84 !dfa.nfa.grammar.NFAToDFAConversionExternallyAborted() ) 87 if ( dfa.nfa.grammar.composite.watchNFAConversion ) { 156 int numAltsIncludingExitBranch = dfa.nfa.grammar 252 if ( dfa.nfa.grammar.type==Grammar.LEXER && containsEOT ) { 253 String filterOption = (String)dfa.nfa.grammar.getOption("filter"); 278 label.toString(dfa.nfa.grammar)+"->"+t); 295 // for analysis of Java grammar from 11.5s to 2s! Wow. 301 label.toString(dfa.nfa.grammar)+ 413 //System.out.println(d.stateNumber+"-"+label.toString(dfa.nfa.grammar)+"->"+targetState.stateNumber); 420 //System.out.println("extra transition to "+tI+" upon "+label.toString(dfa.nfa.grammar)); [all...] |
H A D | SemanticContext.java | 31 import org.antlr.grammar.v3.ANTLRParser; 83 /** Notify the indicated grammar of any syn preds used within this context */ 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);
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
H A D | error.rb | 87 # In general, the recognition exceptions can track where in a grammar a 100 to the recognizer by the rules of a grammar and an input symbol which failed to 258 grammar: 260 grammar MissingTokenExample; 429 consider a grammar like: 430 lexer grammar EarlyExitDemo;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | InlineTextBox.h | 182 virtual void paintDocumentMarker(GraphicsContext*, const FloatPoint& boxOrigin, DocumentMarker*, RenderStyle*, const Font&, bool grammar);
|
/external/srec/srec/Recognizer/src/ |
H A D | RecognizerImpl.c | 956 /* use the key as the grammar URI */ 1545 ESR_ReturnCode SR_RecognizerActivateRuleImpl(SR_Recognizer* self, SR_Grammar* grammar, argument 1549 SR_GrammarImpl* grammarImpl = (SR_GrammarImpl*) grammar; 1555 if (grammar == NULL) 1575 psprintf(grammarID, L("%p"), grammar); 1587 CHKLOG(rc, HashMapPut(impl->grammars, grammarID, grammar)); 1596 CHKLOG(rc, SR_Grammar_SetupRecognizer(grammar, self)); 1600 * If we want to log dynamically added words, then we must give the grammar a reference 1601 * to our event log. The grammar logs word additions if and only if its reference to 1616 SR_EventLogTokenPointer(impl->eventLog, L("igrm"), grammar); 1633 SR_RecognizerDeactivateRuleImpl(SR_Recognizer* self, SR_Grammar* grammar, const LCHAR* ruleName) argument 1666 SR_RecognizerIsActiveRuleImpl(SR_Recognizer* self, SR_Grammar* grammar, const LCHAR* ruleName, ESR_BOOL* isActiveRule) argument 1680 SR_RecognizerSetWordAdditionCeilingImpl(SR_Recognizer* self, SR_Grammar* grammar) argument 1694 SR_RecognizerCheckGrammarConsistencyImpl(SR_Recognizer* self, SR_Grammar* grammar, ESR_BOOL* isConsistent) argument [all...] |
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/ |
H A D | gUnit.g | 29 grammar gUnit;
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
H A D | RecognizerSharedState.as | 5 * shared among multiple grammars; e.g., when one grammar imports another.
|
H A D | BaseRecognizer.as | 21 * have one grammar import others and share same error variables 98 // compute what can follow this grammar element reference 189 * For grammar debugging, you will want to override this to add 371 * Consider grammar: 465 * For example, consider grammar: 688 /** For debugging and other purposes, might want the grammar name.
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
H A D | Python.g | 36 * This grammar was derived automatically from the Python 2.3.3 37 * parser grammar to get a syntactically correct ANTLR grammar 45 * could understand the problem better. This grammar requires 47 * semi-formal grammar on the web for Python (automatically 48 * translated to ANTLR format by an ANTLR grammar, naturally <grin>). 58 grammar Python;
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/ |
H A D | CPP.stg | 53 * - From the grammar source file : <fileName> 207 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="Token", 270 grammar, name, scopes, tokens, tokenNames, rules, numRules, cyclicDFAs, 310 grammar, name, scopes, tokens, tokenNames, 320 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, 547 /** How to generate code for the implicitly-defined lexer grammar rule
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
H A D | Perl5.stg | 57 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="Token", 188 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules, 250 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets, ASTLabelType, superClass="ANTLR::Runtime::Parser", labelType="ANTLR::Runtime::Token", members={<actions.parser.members>}) ::= << 257 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, labelType={<ASTLabelType>}, ASTLabelType="Object", superClass="ANTLR::Runtime::TreeParser", members={<actions.treeparser.members>}, filterMode) ::= << 508 /** How to generate code for the implicitly-defined lexer grammar rule
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/ |
H A D | layout_test_runner.py | 40 from webkitpy.tool import grammar namespace 114 self._printer.write_update('Starting %s ...' % grammar.pluralize('worker', num_workers))
|
/external/srec/config/en.us/ |
H A D | Android.mk | 30 # define paths to some grammar tools
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/ |
H A D | multicommandtool.py | 39 from webkitpy.tool.grammar import pluralize
|