Go to the source code of this file.
Compounds | |
class | ColourResetAlgo |
class | LaNumberingAlgo |
class | NontermFixAlgo |
class | LRecDetectAlgo |
class | EbnfRepetitiveAlgo |
class | EbnfNullableCompAlgo |
class | EbnfFirstCompAlgo |
class | EbnfFollowCompAlgo |
class | EbnfLl1CheckAlgo |
Functions | |
void | runAlgo (vector< ProductionSpec > &prods, EbnfNodeAlgo &algo, bool reverse=false) throw (EbnfNodeAlgoException) |
void | runAlgo (vector< ProductionSpec > &prods, EbnfRepetitiveAlgo &algo, bool reverse=false) throw (EbnfNodeAlgoException) |
Variables | |
string | curProdName |
|
Runs a dfTraverse on each production's expansion given in the vector with the given AbnfNodeAlgo as argument. If the reverse flag is true, then a backward traversal is done (using the rdfTraverse). Additionally, before running the given algorithm, the colour of each node is set to white. If the algorith fails (i.e. throws an exception), runAlgo also throws an exception with the same location, and the reason augmented to indicate the production that was being processed when the exception occurred. Definition at line 252 of file lanalyzer.cc. |
|
Runs a dfTraverse on each production's expansion given in the vector with the given AbnfNodeAlgo as argument. If the reverse flag is true, then a backward traversal is done (using the rdfTraverse). Additionally, before running the given algorithm, the colour of each node is set to white. The functions maintains a vector of "done" flags for each production, and will restart the traversal of each "not-done" production until all the productions are marked as "done". If the algorith fails (i.e. throws an exception), runAlgo also throws an exception with the same location, and the reason augmented to indicate the production that was being processed when the exception occurred. Definition at line 294 of file lanalyzer.cc. Referenced by LAnalyzer::makeLa().
|
|
Definition at line 69 of file lanalyzer.cc. |