Searched refs:lookahead (Results 1 - 25 of 131) sorted by path

123456

/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DBaseRecognizer.as451 * viable tokens that can possibly come next (lookahead depth 1)
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
H A DAntlr.Runtime.Tree.Tests.pas722 /// advanced somewhere to the middle of the lookahead buffer.
724 /// Use Consume() to advance N nodes into lookahead. Then use LT()
753 // now use LT to lookahead past end of buffer
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
H A DAntlr.Runtime.Tree.pas1067 /// the lookahead mechanism is fairly complicated.
1984 /// to fit new lookahead depths, but Consume() wraps like a circular
1989 /// <summary>lookahead[head] is the first symbol of lookahead, LT(1). </summary>
1993 /// Add new lookahead at lookahead[tail]. tail wraps around at the
1994 /// end of the lookahead buffer so tail could be less than head.
2062 /// the lookahead buffer.
2073 /// <summary>Make sure we have at least k symbols in lookahead buffer </summary>
2078 /// Add a node to the lookahead buffe
[all...]
H A DAntlr.Runtime.pas198 /// Get the ith character of lookahead. This is usually the same as
379 /// <summary>Index into the char stream of next lookahead char </summary>
1119 /// <summary>What is the index of the current character of lookahead? </summary>
2094 /// viable tokens that can possibly come next (lookahead depth 1)
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRUnbufferedCommonTreeNodeStreamState.h39 NSMutableArray *lookahead; variable
60 - (NSMutableArray *) lookahead;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
H A DANTLRUnbufferedCommonTreeNodeStreamState.h39 NSMutableArray *lookahead; variable
60 - (NSMutableArray *) lookahead;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
H A DANTLRUnbufferedCommonTreeNodeStreamState.h39 NSMutableArray *lookahead; variable
60 - (NSMutableArray *) lookahead;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRUnbufferedCommonTreeNodeStream.h54 NSMutableArray *lookahead; variable
70 @property (retain, getter=getLookahead, setter=setLookahead:) NSMutableArray *lookahead; variable
H A DANTLRUnbufferedCommonTreeNodeStreamState.h39 NSMutableArray *lookahead; variable
60 - (NSMutableArray *) lookahead;
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Ddfa.rb40 alternatives in a rule based upon lookahead symbols from an input stream.
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/
H A Dprofile-mode.rb24 * Use ANTLRWorks to see the lookahead use (step by Location)
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
H A DActionScript.stg832 /** Same as a normal DFA state except that we don't examine lookahead
996 <if(semPredState)> <! get next lookahead symbol to test edges, then rewind !>
1009 /** Just like a fixed DFA edge, test the lookahead and indicate what
1038 /** Sometimes a lookahead test cannot assume that LA(k) is in a temp variable
1039 * somewhere. Must ask for the lookahead directly.
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
H A DC.stg2355 /** Same as a normal DFA state except that we don't examine lookahead
2593 <if(semPredState)> <! get next lookahead symbol to test edges, then rewind !>
2610 /** Just like a fixed DFA edge, test the lookahead and indicate what
2642 /** Sometimes a lookahead test cannot assume that LA(k) is in a temp variable
2643 * somewhere. Must ask for the lookahead directly.
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
H A DCSharp2.stg1151 /** Same as a normal DFA state except that we don't examine lookahead
1370 <! get next lookahead symbol to test edges, then rewind !>
1384 /** Just like a fixed DFA edge, test the lookahead and indicate what
1413 /** Sometimes a lookahead test cannot assume that LA(k) is in a temp variable
1414 * somewhere. Must ask for the lookahead directly.
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
H A DCSharp3.stg1130 /** Same as a normal DFA state except that we don't examine lookahead
1349 <! get next lookahead symbol to test edges, then rewind !>
1363 /** Just like a fixed DFA edge, test the lookahead and indicate what
1392 /** Sometimes a lookahead test cannot assume that LA(k) is in a temp variable
1393 * somewhere. Must ask for the lookahead directly.
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
H A DDelphi.stg1249 /** Same as a normal DFA state except that we don't examine lookahead
1454 <if(semPredState)> <! get next lookahead symbol to test edges, then rewind !>
1467 /** Just like a fixed DFA edge, test the lookahead and indicate what
1497 /** Sometimes a lookahead test cannot assume that LA(k) is in a temp variable
1498 * somewhere. Must ask for the lookahead directly.
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
H A DJava.stg908 /** Same as a normal DFA state except that we don't examine lookahead
1099 <if(semPredState)> <! get next lookahead symbol to test edges, then rewind !>
1112 /** Just like a fixed DFA edge, test the lookahead and indicate what
1141 /** Sometimes a lookahead test cannot assume that LA(k) is in a temp variable
1142 * somewhere. Must ask for the lookahead directly.
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
H A DObjC.stg1380 /** Same as a normal DFA state except that we don't examine lookahead
1597 <if(semPredState)> <! get next lookahead symbol to test edges, then rewind !>
1611 /** Just like a fixed DFA edge, test the lookahead and indicate what
1649 /** Sometimes a lookahead test cannot assume that LA(k) is in a temp variable
1650 * somewhere. Must ask for the lookahead directly.
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
H A DPerl5.stg872 /** Same as a normal DFA state except that we don't examine lookahead
1076 <if(semPredState)> <! get next lookahead symbol to test edges, then rewind !>
1089 /** Just like a fixed DFA edge, test the lookahead and indicate what
1118 /** Sometimes a lookahead test cannot assume that LA(k) is in a temp variable
1119 * somewhere. Must ask for the lookahead directly.
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
H A DPython.stg991 /** Same as a normal DFA state except that we don't examine lookahead
1180 <if(semPredState)> <! get next lookahead symbol to test edges, then rewind !>
1193 /** Just like a fixed DFA edge, test the lookahead and indicate what
1224 /** Sometimes a lookahead test cannot assume that LA(k) is in a temp variable
1225 * somewhere. Must ask for the lookahead directly.
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/
H A DScala.stg901 /** Same as a normal DFA state except that we don't examine lookahead
1086 <if(semPredState)> <! get next lookahead symbol to test edges, then rewind !>
1098 /** Just like a fixed DFA edge, test the lookahead and indicate what
1127 /** Sometimes a lookahead test cannot assume that LA(k) is in a temp variable
1128 * somewhere. Must ask for the lookahead directly.
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
H A Den.stg87 "cannot generate a sample input sequence from lookahead DFA"
261 ANTLR could not analyze this decision in rule <enclosingRule>; often this is because of recursive rule references visible from the left edge of alternatives. ANTLR will re-analyze the decision with a fixed lookahead of k=1. Consider using "options {k=1;}" for that decision and possibly adding a syntactic predicate.
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DAVT.java196 String lookahead = null; // next token
201 if (lookahead != null)
203 t = lookahead;
204 lookahead = null;
228 lookahead = tokenizer.nextToken();
230 if (lookahead.equals("{"))
234 buffer.append(lookahead);
236 lookahead = null;
242 else if(lookahead.equals("\"") || lookahead
[all...]
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DNamespaceSupport2.java392 private String lookahead=null; field in class:PrefixForUriEnumerator
406 if(lookahead!=null)
414 lookahead=prefix;
425 String tmp=lookahead;
426 lookahead=null;
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
H A DXPathParser.java290 final boolean lookahead(char c, int n) method in class:XPathParser
391 * @param n number of tokens to lookahead. Must be
397 private final boolean lookahead(String s, int n) method in class:XPathParser
404 String lookahead = (String) m_ops.m_tokenQueue.elementAt(m_queueMark + (n - 1));
406 isToken = (lookahead != null) ? lookahead.equals(s) : (s == null);
874 if (tokenIs('!') && lookahead('=', 1))
1444 else if (lookahead('(', 1) || (lookahead(':', 1) && lookahead('(',
[all...]

Completed in 9009 milliseconds

123456