Method |
Description |
|
Error ( $text ) |
|
|
PrintTrace ( ) |
Output debug information to output (php://output stream) |
|
Trace ( $TraceFILE, $zTracePrompt ) |
Turn parser tracing on by giving a stream to which to write the trace
and a prompt to preface each trace message. Tracing is turned off
by making either argument NULL |
|
__construct ( $lex, $file = '' ) |
|
|
__destruct ( ) |
Deallocate and destroy a parser. Destructors are all called for
all stack elements before shutting the parser down. |
|
doParse ( integer $yymajor, mixed $yytokenvalue ) : void |
The main parser program. |
|
tokenName ( $tokenType ) : string |
This function returns the symbolic name associated with a token
value. |
|
yy_accept ( ) |
The following is executed when the parser accepts |
|
yy_destructor ( $yymajor, $yypminor ) |
The following function deletes the value associated with a
symbol. The symbol can be either a terminal or nonterminal. |
|
yy_find_reduce_action ( $stateno, $iLookAhead ) |
Find the appropriate action for a parser given the non-terminal
look-ahead token $iLookAhead. |
|
yy_find_shift_action ( $iLookAhead ) |
Find the appropriate action for a parser given the terminal
look-ahead token iLookAhead. |
|
yy_get_expected_tokens ( $token ) : array |
Based on the current state and parser stack, get a list of all
possible lookahead tokens |
|
yy_is_expected_token ( $token ) : boolean |
Based on the parser state and current parser stack, determine whether
the lookahead token is possible. |
|
yy_parse_failed ( ) |
The following code executes when the parse fails |
|
yy_pop_parser_stack ( ) : integer |
Pop the parser's stack once. |
|
yy_r0 ( ) |
#line 81 "lib/Haanga/Compiler/Parser.y" |
|
yy_r1 ( ) |
#line 83 "lib/Haanga/Compiler/Parser.y" |
|
yy_r14 ( ) |
#line 108 "lib/Haanga/Compiler/Parser.y" |
|
yy_r18 ( ) |
#line 112 "lib/Haanga/Compiler/Parser.y" |
|
yy_r19 ( ) |
#line 126 "lib/Haanga/Compiler/Parser.y" |
|
yy_r2 ( ) |
#line 84 "lib/Haanga/Compiler/Parser.y" |
|
yy_r20 ( ) |
#line 129 "lib/Haanga/Compiler/Parser.y" |
|
yy_r21 ( ) |
#line 132 "lib/Haanga/Compiler/Parser.y" |
|
yy_r22 ( ) |
#line 135 "lib/Haanga/Compiler/Parser.y" |
|
yy_r23 ( ) |
#line 140 "lib/Haanga/Compiler/Parser.y" |
|
yy_r24 ( ) |
#line 146 "lib/Haanga/Compiler/Parser.y" |
|
yy_r25 ( ) |
#line 154 "lib/Haanga/Compiler/Parser.y" |
|
yy_r26 ( ) |
#line 162 "lib/Haanga/Compiler/Parser.y" |
|
yy_r27 ( ) |
#line 170 "lib/Haanga/Compiler/Parser.y" |
|
yy_r29 ( ) |
#line 172 "lib/Haanga/Compiler/Parser.y" |
|
yy_r3 ( ) |
#line 87 "lib/Haanga/Compiler/Parser.y" |
|
yy_r30 ( ) |
#line 186 "lib/Haanga/Compiler/Parser.y" |
|
yy_r31 ( ) |
#line 194 "lib/Haanga/Compiler/Parser.y" |
|
yy_r32 ( ) |
#line 204 "lib/Haanga/Compiler/Parser.y" |
|
yy_r33 ( ) |
#line 212 "lib/Haanga/Compiler/Parser.y" |
|
yy_r34 ( ) |
#line 219 "lib/Haanga/Compiler/Parser.y" |
|
yy_r35 ( ) |
#line 226 "lib/Haanga/Compiler/Parser.y" |
|
yy_r36 ( ) |
#line 235 "lib/Haanga/Compiler/Parser.y" |
|
yy_r37 ( ) |
#line 241 "lib/Haanga/Compiler/Parser.y" |
|
yy_r38 ( ) |
#line 249 "lib/Haanga/Compiler/Parser.y" |
|
yy_r39 ( ) |
#line 256 "lib/Haanga/Compiler/Parser.y" |
|
yy_r4 ( ) |
#line 89 "lib/Haanga/Compiler/Parser.y" |
|
yy_r40 ( ) |
#line 262 "lib/Haanga/Compiler/Parser.y" |
|
yy_r41 ( ) |
#line 269 "lib/Haanga/Compiler/Parser.y" |
|
yy_r42 ( ) |
#line 277 "lib/Haanga/Compiler/Parser.y" |
|
yy_r43 ( ) |
#line 283 "lib/Haanga/Compiler/Parser.y" |
|
yy_r44 ( ) |
#line 289 "lib/Haanga/Compiler/Parser.y" |
|
yy_r45 ( ) |
#line 295 "lib/Haanga/Compiler/Parser.y" |
|
yy_r46 ( ) |
#line 303 "lib/Haanga/Compiler/Parser.y" |
|
yy_r47 ( ) |
#line 310 "lib/Haanga/Compiler/Parser.y" |
|
yy_r48 ( ) |
#line 317 "lib/Haanga/Compiler/Parser.y" |
|
yy_r5 ( ) |
#line 93 "lib/Haanga/Compiler/Parser.y" |
|
yy_r50 ( ) |
#line 332 "lib/Haanga/Compiler/Parser.y" |
|
yy_r51 ( ) |
#line 340 "lib/Haanga/Compiler/Parser.y" |
|
yy_r52 ( ) |
#line 343 "lib/Haanga/Compiler/Parser.y" |
|
yy_r53 ( ) |
#line 344 "lib/Haanga/Compiler/Parser.y" |
|
yy_r54 ( ) |
#line 345 "lib/Haanga/Compiler/Parser.y" |
|
yy_r55 ( ) |
#line 347 "lib/Haanga/Compiler/Parser.y" |
|
yy_r57 ( ) |
#line 351 "lib/Haanga/Compiler/Parser.y" |
|
yy_r6 ( ) |
#line 97 "lib/Haanga/Compiler/Parser.y" |
|
yy_r60 ( ) |
#line 357 "lib/Haanga/Compiler/Parser.y" |
|
yy_r61 ( ) |
#line 358 "lib/Haanga/Compiler/Parser.y" |
|
yy_r62 ( ) |
#line 359 "lib/Haanga/Compiler/Parser.y" |
|
yy_r63 ( ) |
#line 360 "lib/Haanga/Compiler/Parser.y" |
|
yy_r64 ( ) |
#line 363 "lib/Haanga/Compiler/Parser.y" |
|
yy_r7 ( ) |
#line 101 "lib/Haanga/Compiler/Parser.y" |
|
yy_r70 ( ) |
#line 375 "lib/Haanga/Compiler/Parser.y" |
|
yy_r71 ( ) |
#line 378 "lib/Haanga/Compiler/Parser.y" |
|
yy_r72 ( ) |
#line 379 "lib/Haanga/Compiler/Parser.y" |
|
yy_r75 ( ) |
#line 382 "lib/Haanga/Compiler/Parser.y" |
|
yy_r77 ( ) |
#line 384 "lib/Haanga/Compiler/Parser.y" |
|
yy_r78 ( ) |
#line 385 "lib/Haanga/Compiler/Parser.y" |
|
yy_r79 ( ) |
#line 386 "lib/Haanga/Compiler/Parser.y" |
|
yy_r8 ( ) |
#line 102 "lib/Haanga/Compiler/Parser.y" |
|
yy_r81 ( ) |
#line 391 "lib/Haanga/Compiler/Parser.y" |
|
yy_r82 ( ) |
#line 395 "lib/Haanga/Compiler/Parser.y" |
|
yy_r83 ( ) |
#line 401 "lib/Haanga/Compiler/Parser.y" |
|
yy_r84 ( ) |
#line 403 "lib/Haanga/Compiler/Parser.y" |
|
yy_r85 ( ) |
#line 408 "lib/Haanga/Compiler/Parser.y" |
|
yy_r86 ( ) |
#line 413 "lib/Haanga/Compiler/Parser.y" |
|
yy_r89 ( ) |
#line 422 "lib/Haanga/Compiler/Parser.y" |
|
yy_r9 ( ) |
#line 103 "lib/Haanga/Compiler/Parser.y" |
|
yy_r93 ( ) |
#line 428 "lib/Haanga/Compiler/Parser.y" |
|
yy_reduce ( $yyruleno ) |
Perform a reduce action and the shift that must immediately
follow the reduce. |
|
yy_shift ( $yyNewState, $yyMajor, $yypMinor ) |
Perform a shift action. |
|
yy_syntax_error ( $yymajor, $TOKEN ) |
The following code executes when a syntax error first occurs. |
|