#include <production_spec.hh>
Collaboration diagram for ProductionSpec:
Public Methods | |
ProductionSpec (const string &name_, const string &retType_, const Position &retTypePos_, const string &formalArgs_, const Position &formalArgsPos_, const string &exceptList_, const Position &exceptListPos_, const string &preambleCode_, const Position &preambleCodePos_, EbnfLaNode *expansion_, const Position &pos_) | |
ProductionSpec (const ProductionSpec &o) | |
void | dump (ostream &os) const |
Public Attributes | |
string | name |
CodeChunk | retType |
CodeChunk | formalArgs |
CodeChunk | exceptList |
CodeChunk | preambleCode |
EbnfLaNode* | expansion |
Position | pos |
Definition at line 66 of file production_spec.hh.
|
Definition at line 70 of file production_spec.hh. |
|
Definition at line 84 of file production_spec.hh. |
|
Definition at line 44 of file production_spec.cc. Referenced by ParserSpec::dump().
|
|
The production's name. Definition at line 97 of file production_spec.hh. |
|
Contains the string to be sued as the return type specifier in the generated code. Definition at line 103 of file production_spec.hh. |
|
Contains the string to be sued as the list of formal arguments in the generated code. Definition at line 109 of file production_spec.hh. |
|
Contains the string to be used as the list of exceptions thrown by the productions's method in the generated code. Definition at line 115 of file production_spec.hh. |
|
Contains the code found in the first user code block (if any) of the produxction. Definition at line 121 of file production_spec.hh. |
|
The EBNF expansion of th production. Definition at line 126 of file production_spec.hh. |
|
The position wihin the input grammar file where this production was found Definition at line 131 of file production_spec.hh. |