HomeSort by relevance Sort by last modified time
    Searched refs:alt (Results 1 - 25 of 220) sorted by null

1 2 3 4 5 6 7 8 9

  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
ST.stg 109 rewriteTemplateAltFirst(alt) ::= <<
110 <if(alt.pred)>
111 if <alt.pred>:
112 # <alt.description>
113 retval.st = <alt.alt>
116 # <alt.description>
117 retval.st = <alt.alt>
122 rewriteTemplateAlt(alt) ::= <
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
NFAConfiguration.java 32 /** An NFA state, predicted alt, and syntactic/semantic context.
42 /** What alt is predicted by this configuration */
43 public int alt; field in class:NFAConfiguration
63 * other configuration associated with alt 3).
90 int alt,
95 this.alt = alt;
103 * the state|alt|ctx could be the same and have two different
113 this.alt==other.alt &
    [all...]
LL1DFA.java 42 /** From list of lookahead sets (one per alt in decision), create
60 for (int alt=1; alt<altLook.length; alt++) {
63 setAcceptState(alt, acceptAltState);
65 acceptAltState.cachedUniquelyPredicatedAlt = alt;
66 Label e = getLabelForSet(altLook[alt].tokenTypeSet);
97 int alt = alts.get(0); local
98 setAcceptState(alt, s);
99 s.cachedUniquelyPredicatedAlt = alt;
106 int alt = (int)alts.get(i); local
    [all...]
DFAState.java 47 * NFA could be in. We need to track the alt predicted by each
70 * context trees for an alt.
108 /** If we detect recursion on more than one alt, decision is non-LL(*),
137 /** The set of NFA configurations (state,alt,context) for this DFA state */
145 * hence looping forever. Sensitive to the NFA state, the alt, and
205 * an NFA state/alt/syntactic&semantic context (chain of invoking state(s)
209 * state|alt|synCtx and different semantic contexts because the
228 // track min alt rather than compute later
229 if ( c.alt < minAltInConfigurations ) {
230 minAltInConfigurations = c.alt;
429 int alt = NFA.INVALID_ALT_NUMBER; local
455 int alt = NFA.INVALID_ALT_NUMBER; local
555 int alt=0; local
    [all...]
NFAToDFAConverter.java 122 * Walk each alt in decision and compute closure from the start of that
124 * that same decision. The idea is to associate a specific alt number
125 * with the starting closure so we can trace the alt number for all states
126 * derived from this. At a stop state in the DFA, we can return this alt
127 * number, indicating which alt is predicted.
131 * this alternative one, let's make this alt n+1 where n is the number of
140 NFAState alt = dfa.decisionNFAStartState; local
145 while ( alt!=null ) {
147 // any input symbols for each alt. Keep adding to same
149 // but track the alt numbe
970 int alt = d.getUniquelyPredictedAlt(); local
1316 int alt = altI.intValue(); local
1711 int alt = i+1; local
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
math-partial-sums.js 8 var alt = -1.0;
16 alt = -alt;
25 a8 += alt/k;
26 a9 += alt/(2*k -1);
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
math-partial-sums.js 8 var alt = -1.0;
16 alt = -alt;
25 a8 += alt/k;
26 a9 += alt/(2*k -1);
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
RecursionOverflowMessage.java 43 public int alt; field in class:RecursionOverflowMessage
49 int alt,
56 this.alt = alt;
72 st.add("alt", alt);
LeftRecursiveRuleAnalyzer.java 61 public void setTokenPrec(GrammarAST t, int alt) {
63 tokenToPrec.put(ttype, alt);
77 if ( altAssociativity.get(alt)!=null && altAssociativity.get(alt)!=assoc ) {
78 ErrorManager.error(ErrorManager.MSG_ALL_OPS_NEED_SAME_ASSOC, alt);
80 altAssociativity.put(alt, assoc);
82 //System.out.println("op " + alt + ": " + t.getText()+", assoc="+assoc);
86 public void binaryAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {
94 int nextPrec = nextPrecedence(alt);
102 altText += "{}"; // add empty alt to prevent pred hoistin
    [all...]
DOTGenerator.java 185 // special case: if decision point, then line up the alt start states
191 NFAState alt = (NFAState)s; local
192 while ( alt!=null ) {
193 rankST.add("states", getStateLabel(alt));
194 if ( alt.transition[1] !=null ) {
195 alt = (NFAState)alt.transition[1].target;
198 alt=null;
336 int alt = altI.intValue(); local
340 buf.append("alt");
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
AssignTokenTypesWalker.g 133 * stringAlias = ^(BLOCK[] ^(ALT[] STRING_LITERAL[] EOA[]) EOB[])
137 GrammarAST alt = (GrammarAST)adaptor.create( ALT, "ALT" );
138 adaptor.addChild( alt, adaptor.create( STRING_LITERAL, "STRING_LITERAL" ) );
139 adaptor.addChild( alt, adaptor.create( EOA, "EOA" ) );
140 adaptor.addChild( stringAlias, alt );
145 * charAlias = ^(BLOCK[] ^(ALT[] CHAR_LITERAL[] EOA[]) EOB[])
149 GrammarAST alt = (GrammarAST)adaptor.create( ALT, "ALT" )
    [all...]
LeftRecursiveRuleWalker.g 55 private int outerAlt; // which outer alt of rule?
79 public void setTokenPrec(GrammarAST t, int alt) {}
80 public void binaryAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
81 public void ternaryAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
82 public void prefixAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
83 public void suffixAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
84 public void otherAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
157 ( ^(ALT element+ EOA) rewrite? )+
162 /** An alt is either prefix, suffix, binary, or ternary operation or "other" */
180 | ^(ALT element+ EOA) // "other" cas
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
ST.stg 106 rewriteTemplateAlt(alt) ::= <<
107 // <alt.description>
108 <if(alt.pred)>
109 if (<alt.pred>) {
110 retval.st = <alt.alt>;
114 retval.st = <alt.alt>;
  /external/chromium/chrome/browser/automation/
ui_controls.h 52 bool alt,
58 bool alt,
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
ST4ObjC.stg 176 rewriteTemplateAlt(alt) ::= <<
177 // <alt.description>
178 <if(alt.pred)>
179 if (<alt.pred>) {
180 retval.st = <alt.alt>;
184 retval.st = <alt.alt>;
  /external/webkit/Source/WebCore/accessibility/
AccessibilityImageMapLink.cpp 104 const AtomicString& alt = getAttribute(altAttr); local
105 if (!alt.isEmpty())
106 return alt;
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
SerializedGrammar.java 68 List alt = alts[i]; local
70 buf.append(alt.toString());
138 List alt = readAlt(in); local
139 alts[i] = alt;
146 List alt = new ArrayList(); local
148 if ( A!='A' ) throw new IOException("missing A on start of alt");
154 alt.add(new TokenRef(ttype));
159 alt.add(new RuleRef(ruleIndex));
173 alt.add(b);
178 //System.out.println("exit alt");
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_input_api.cc 100 bool alt = false; local
101 if (args->GetBoolean(kAlt, &alt))
102 flags |= alt ? ui::EF_ALT_DOWN : 0;
  /external/grub/netboot/
misc.c 96 int alt = 0; local
101 alt = 1;
129 if (alt)
  /external/icu4c/i18n/
astro.h 224 * @param alt The altitude, measured in radians above the horizon.
228 Horizon(double alt=0, double azim=0)
229 : altitude(alt), azimuth(azim) { }
233 * @param alt The altitude, measured in radians above the horizon.
237 void set(double alt, double azim) {
238 altitude = alt;
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/
LeftRecursiveRules.stg 79 recRuleAlt(alt, pred) ::= "{<pred>}?=> <alt>"
  /external/webkit/Source/WebCore/html/
HTMLAppletElement.idl 29 attribute [Reflect] DOMString alt;
HTMLAreaElement.idl 25 attribute [Reflect] DOMString alt;
HTMLImageElement.idl 28 attribute [Reflect] DOMString alt;
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
en.stg 204 "with rewrite=true, alt <arg> not simple node or obvious tree element; text attribute for rule not guaranteed to be correct"
226 "rule <arg> alt <arg2> uses rewrite syntax and also an AST operator"
230 ALL_OPS_NEED_SAME_ASSOC(arg) ::= "all operators of alt <alt> of left-recursive rule must have same associativity"
238 <paths:{ it | alt <it.alt> via NFA path <it.states; separator=","><\n>}>
254 Input such as "<upon>" is insufficiently covered with predicates at locations: <altToLocations.keys:{alt|alt <alt>: <altToLocations.(alt):{loc| line <loc.line>:<loc.column> at <loc.text>}; separator=", ">}; separator=", "><if(hasPredic (…)
    [all...]

Completed in 459 milliseconds

1 2 3 4 5 6 7 8 9