Public Methods | |
void | init () |
bool | done () |
Protected Methods | |
void | markUndone () |
Private Attributes | |
bool | _done |
done
field will be setif the production needs to be processed again because it depends on productions that are not done yet themselves.
Definition at line 212 of file lanalyzer.cc.
|
This must be called before the actual traversal starts. It sets the done flag. If, after the traversal ends, the done() method returns true, then indeed the EBNF node need not be traversed again. Definition at line 221 of file lanalyzer.cc. Referenced by runAlgo().
|
|
Returns the value of the done flag. Definition at line 226 of file lanalyzer.cc. |
|
This is to be called by the algorithm implementation, if at some point it is decided that the EBNF tree needs to be processed again. Definition at line 234 of file lanalyzer.cc. Referenced by EbnfFirstCompAlgo::operator()(), and EbnfNullableCompAlgo::operator()().
|
|
Definition at line 237 of file lanalyzer.cc. |