Home
last modified time | relevance | path

Searched refs:LA (Results 1 – 25 of 29) sorted by relevance

12

/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DCParser.py160 LA1_0 = self.input.LA(1)
209 LA3_0 = self.input.LA(1)
212 LA3_1 = self.input.LA(2)
228 LA3_2 = self.input.LA(2)
244 LA3_3 = self.input.LA(2)
260 LA3_4 = self.input.LA(2)
276 LA3_5 = self.input.LA(2)
292 LA3_6 = self.input.LA(2)
308 LA3_7 = self.input.LA(2)
324 LA3_8 = self.input.LA(2)
[all …]
DCLexer.py2308 LA1_0 = self.input.LA(1)
2316 …nput.LA(1) == u'$' or (u'0' <= self.input.LA(1) <= u'9') or (u'A' <= self.input.LA(1) <= u'Z') or …
2349 …if self.input.LA(1) == u'$' or (u'A' <= self.input.LA(1) <= u'Z') or self.input.LA(1) == u'_' or (…
2380 LA2_0 = self.input.LA(1)
2395 LA3_0 = self.input.LA(1)
2414 …if (u'\u0000' <= self.input.LA(1) <= u'&') or (u'(' <= self.input.LA(1) <= u'[') or (u']' <= self.…
2450 LA4_0 = self.input.LA(1)
2466 LA5_0 = self.input.LA(1)
2482 …if (u'\u0000' <= self.input.LA(1) <= u'!') or (u'#' <= self.input.LA(1) <= u'[') or (u']' <= self.…
2521 if self.input.LA(1) == u'X' or self.input.LA(1) == u'x':
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DCParser.py160 LA1_0 = self.input.LA(1)
209 LA3_0 = self.input.LA(1)
212 LA3_1 = self.input.LA(2)
228 LA3_2 = self.input.LA(2)
244 LA3_3 = self.input.LA(2)
260 LA3_4 = self.input.LA(2)
276 LA3_5 = self.input.LA(2)
292 LA3_6 = self.input.LA(2)
308 LA3_7 = self.input.LA(2)
324 LA3_8 = self.input.LA(2)
[all …]
DCLexer.py2308 LA1_0 = self.input.LA(1)
2316 …nput.LA(1) == u'$' or (u'0' <= self.input.LA(1) <= u'9') or (u'A' <= self.input.LA(1) <= u'Z') or …
2349 …if self.input.LA(1) == u'$' or (u'A' <= self.input.LA(1) <= u'Z') or self.input.LA(1) == u'_' or (…
2380 LA2_0 = self.input.LA(1)
2395 LA3_0 = self.input.LA(1)
2414 …if (u'\u0000' <= self.input.LA(1) <= u'&') or (u'(' <= self.input.LA(1) <= u'[') or (u']' <= self.…
2450 LA4_0 = self.input.LA(1)
2466 LA5_0 = self.input.LA(1)
2482 …if (u'\u0000' <= self.input.LA(1) <= u'!') or (u'#' <= self.input.LA(1) <= u'[') or (u']' <= self.…
2521 if self.input.LA(1) == u'X' or self.input.LA(1) == u'x':
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dantlr.c80 if ( !((setwd1[LA(1)]&0x1))) break; in grammar()
81 if ( (LA(1)==94) ) { in grammar()
95 if ( (LA(1)==95) ) { in grammar()
110 if ( (LA(1)==96) ) { in grammar()
132 if ( (LA(1)==97) ) { in grammar()
168 if ( !((setwd1[LA(1)]&0x2))) break; in grammar()
169 if ( (LA(1)==Action) ) { in grammar()
181 if ( (LA(1)==108) ) { in grammar()
185 if ( (LA(1)==109) ) { in grammar()
189 if ( (LA(1)==110) ) { in grammar()
[all …]
Dantlr1.txt131 LA(1)==_t_o_k_e_n__n_u_m_b_e_r. The default is to generate sets.
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/
Ddlg_p.c72 while ( (setwd1[LA(1)]&0x1) ) { in grammar()
77 if ( (LA(1)==LEXACTION) ) { in grammar()
81 if ( (LA(1)==LEXMEMBER) ) { in grammar()
85 if ( (LA(1)==LEXPREFIX) ) { in grammar()
89 if ( (LA(1)==PARSERCLASS) ) { in grammar()
93 if ( (LA(1)==ACTION) ) { in grammar()
116 while ( (LA(1)==ACTION) ) { in grammar()
151 if ( (LA(1)==PER_PER) ) { in start_states()
156 if ( (LA(1)==NAME_PER_PER) ) { in start_states()
163 while ( (LA(1)==NAME_PER_PER) ) { in start_states()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
Derr.h108 if ( wd[LA(1)]&mask || LA(1) == zzEOF_TOKEN ) {consumed=0; return;}
111 while ( !(wd[LA(1)]&mask) && LA(1) != zzEOF_TOKEN ) {zzCONSUME;}
129 while ( !zzset_el( (tmp=LA(1)), st) && tmp!=1 /* Eof */) { /* MR7 */
147 while ( (tmp=LA(1)) !=t && tmp!=1 /* Eof */) { zzCONSUME; } /* MR7 */
196 if ( !zzset_el((unsigned)LA(i), f[i-1]) ) break; in zzFAIL()
211 *bad_tok = LA(1); in zzFAIL()
219 *bad_tok = LA(i); in zzFAIL()
510 if ( LA(1)!=_t ) {
512 *zzMissTok= _t; *zzBadTok=LA(1);
533 if ( LA(1)!=_t ) {
[all …]
DAParser.cpp296 if ( LA(1)!=_t ) { in _match()
317 if ( LA(1)!=_t ) return 0; in _match_wsig()
336 if ( !set_el(LA(1), tset) ) { in _setmatch()
354 if ( !set_el(LA(1), tset) ) return 0; in _setmatch_wsig()
370 while ( !set_el( (tmp=LA(1)), st) && tmp!=Eof) { consume(); } // MR1 in consumeUntil()
382 while ( (tmp=LA(1)) !=t && tmp!=Eof) { consume(); } // MR1 in consumeUntilToken()
402 /* MR8 */ if ( wd[LA(1)]&mask || LA(1) == eofToken ) {resynchConsumed=0; return;} in resynch()
406 while ( !(wd[LA(1)]&mask) && LA(1) != eofToken ) {consume();} in resynch()
442 if (LA(1) == eofToken) { in syn()
443 errorAt = parserTokenName(LA(1)); in syn()
[all …]
Dast.c82 zzcr_ast(n, &(zzaCur), LA(0), LATEXT(0));
84 zzcr_ast(n, &(zzaCur), LA(1), LATEXT(1));
113 zzcr_ast(n, &(zzaCur), LA(0), LATEXT(0));
115 zzcr_ast(n, &(zzaCur), LA(1), LATEXT(1));
Dantlr.h511 #define zzMakeAttr { zzNON_GUESS_MODE {zzOvfChk; --zzasp; zzcr_attr(&(zzaStack[zzasp]),LA(1),LATEX…
653 #define LA(i) zztokenLA[(zzlabase+(i)-1)&(LL_K-1)] macro
656 #define LA(i) zztokenLA[(zzlap+(i)-1)&(LL_K-1)] macro
662 #define LA(i) zztoken macro
DAParser.h232 ANTLRTokenType LA(int i) in LA() function
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
Derr.h108 if ( wd[LA(1)]&mask || LA(1) == zzEOF_TOKEN ) {consumed=0; return;}
111 while ( !(wd[LA(1)]&mask) && LA(1) != zzEOF_TOKEN ) {zzCONSUME;}
129 while ( !zzset_el( (tmp=LA(1)), st) && tmp!=1 /* Eof */) { /* MR7 */
147 while ( (tmp=LA(1)) !=t && tmp!=1 /* Eof */) { zzCONSUME; } /* MR7 */
196 if ( !zzset_el((unsigned)LA(i), f[i-1]) ) break; in zzFAIL()
211 *bad_tok = LA(1); in zzFAIL()
219 *bad_tok = LA(i); in zzFAIL()
510 if ( LA(1)!=_t ) {
512 *zzMissTok= _t; *zzBadTok=LA(1);
533 if ( LA(1)!=_t ) {
[all …]
DAParser.cpp287 if ( LA(1)!=_t ) { in _match()
307 if ( LA(1)!=_t ) return 0; in _match_wsig()
326 if ( !set_el(LA(1), tset) ) { in _setmatch()
343 if ( !set_el(LA(1), tset) ) return 0; in _setmatch_wsig()
359 while ( !set_el( (tmp=LA(1)), st) && tmp!=Eof) { consume(); } // MR1 in consumeUntil()
371 while ( (tmp=LA(1)) !=t && tmp!=Eof) { consume(); } // MR1 in consumeUntilToken()
391 /* MR8 */ if ( wd[LA(1)]&mask || LA(1) == eofToken ) {resynchConsumed=0; return;} in resynch()
395 while ( !(wd[LA(1)]&mask) && LA(1) != eofToken ) {consume();} in resynch()
415 (LA(1)==eofToken && LT(1)->getText()[0] == '@')? in syn()
527 if ( !set_el(LA(i), f[i-1]) ) break; in FAIL()
[all …]
Dast.c82 zzcr_ast(n, &(zzaCur), LA(0), LATEXT(0));
84 zzcr_ast(n, &(zzaCur), LA(1), LATEXT(1));
113 zzcr_ast(n, &(zzaCur), LA(0), LATEXT(0));
115 zzcr_ast(n, &(zzaCur), LA(1), LATEXT(1));
Dantlr.h499 #define zzMakeAttr { zzNON_GUESS_MODE {zzOvfChk; --zzasp; zzcr_attr(&(zzaStack[zzasp]),LA(1),LAT…
641 #define LA(i) zztokenLA[(zzlabase+(i)-1)&(LL_K-1)] macro
644 #define LA(i) zztokenLA[(zzlap+(i)-1)&(LL_K-1)] macro
650 #define LA(i) zztoken macro
DAParser.h231 ANTLRTokenType LA(int i) in LA() function
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/
DCHANGES_SUMMARY.txt47 until LA(i) or LT(i) is called.
79 while ( (LA(1)==A)
124 while ( (LA(1)==A || LA(1)==D)
160 (! ( LA(1)==A && LA(2)==B ) || p(LATEXT(2)) ) {
429 if ( LA(1)==ID
448 if ( LA(1)==ID ) { rule1(); ...
735 looks at LA(2). You must introduce it manually. The
761 isTypeName() in castExpr if LA(2) is an ID and
762 don't apply it when LA(2) is STRUCT:
1015 if (LA(1)==A &&
[all …]
DCHANGES_FROM_133_BEFORE_MR13.txt68 if ( LA(1)==Q &&
69 (LA(1)==AAA && LA(1)==BBB) &&
72 This is incorrect because it expresses the idea that LA(1)
97 The correct code should express the idea that *if* LA(1) is
98 AAA then p must be true to attempt r1, but if LA(1) is *not*
99 AAA then it is okay to attempt r1, provided that *if* LA(1) is
102 if ( LA(1)==Q &&
103 ( !(LA(1)==AAA || LA(1)==BBB) ||
104 ( ! LA(1) == AAA || p) &&
105 ( ! LA(1) == BBB || q || r ) ) ) {
[all …]
DCHANGES_FROM_133.txt581 An bug (or at least an oddity) is that a reference to LT(1), LA(1),
593 following a token match contains a reference to LT(1), LA(1), or LATEXT(1).
1045 if (LA(1) == Number) {
1061 if ( (LA(1)==Number) ) {
1066 if ( (LA(1)==Word) ) {
1362 until LA(i) or LT(i) is called.
1618 Consider the code used to prime the lookahead buffer LA(i)
1952 LA(1)={B C} LA(2)={B C D}, but previous versions of antlr
1953 would compute the prediction expression as LA(1)={A C} LA(2)={B D}
2039 if ( ! LA(1)==STAR) break;
[all …]
DKNOWN_PROBLEMS.txt40 An bug (or at least an oddity) is that a reference to LT(1), LA(1),
52 following a token match contains a reference to LT(1), LA(1), or LATEXT(1).
DCHANGES_FROM_131.txt68 a : <<LA(1)==ID ? predicate : 1>>? ID
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/
DCHANGES_SUMMARY.txt47 until LA(i) or LT(i) is called.
79 while ( (LA(1)==A)
124 while ( (LA(1)==A || LA(1)==D)
160 (! ( LA(1)==A && LA(2)==B ) || p(LATEXT(2)) ) {
429 if ( LA(1)==ID
448 if ( LA(1)==ID ) { rule1(); ...
735 looks at LA(2). You must introduce it manually. The
761 isTypeName() in castExpr if LA(2) is an ID and
762 don't apply it when LA(2) is STRUCT:
1015 if (LA(1)==A &&
[all …]
DCHANGES_FROM_133_before_mr13.txt68 if ( LA(1)==Q &&
69 (LA(1)==AAA && LA(1)==BBB) &&
72 This is incorrect because it expresses the idea that LA(1)
97 The correct code should express the idea that *if* LA(1) is
98 AAA then p must be true to attempt r1, but if LA(1) is *not*
99 AAA then it is okay to attempt r1, provided that *if* LA(1) is
102 if ( LA(1)==Q &&
103 ( !(LA(1)==AAA || LA(1)==BBB) ||
104 ( ! LA(1) == AAA || p) &&
105 ( ! LA(1) == BBB || q || r ) ) ) {
[all …]
DCHANGES_FROM_133.txt369 if (LA(1) == Number) {
385 if ( (LA(1)==Number) ) {
390 if ( (LA(1)==Word) ) {
686 until LA(i) or LT(i) is called.
936 Consider the code used to prime the lookahead buffer LA(i)
1270 LA(1)={B C} LA(2)={B C D}, but previous versions of antlr
1271 would compute the prediction expression as LA(1)={A C} LA(2)={B D}
1357 if ( ! LA(1)==STAR) break;
1372 if ( ! LA(1)==ZIP) break;
1406 if ( !zzrv && LA(1)==A && LA(2)==A) {
[all …]

12