#include <iebnf_node_builder.hh>
Inheritance diagram for IEbnfNodeBuilder:
Public Methods | |
virtual EbnfNode* | createOrNode (EbnfNode *pre, EbnfNode *post, const Position &pos)=0 |
virtual EbnfNode* | createCatNode (EbnfNode *pre, EbnfNode *post, const Position &pos)=0 |
virtual EbnfNode* | createPlusNode (EbnfNode *in, const Position &pos)=0 |
virtual EbnfNode* | createStarNode (EbnfNode *in, const Position &pos)=0 |
virtual EbnfNode* | createOptionalNode (EbnfNode *in, const Position &pos)=0 |
virtual EbnfNode* | createNonterminalNode (const string &targetVar, const Position &targetVarPoa, const string &nontermId, const string &actualArgs, const Position &actualArgsPos, const Position &pos)=0 |
virtual EbnfNode* | createTerminalNode (const string &termId, const Position &pos)=0 throw (ParseException) |
virtual LaSpec* | createLaSpec (int fixedla, EbnfNode *synLa, const string &semLa, const Position &pos)=0 |
virtual CatchClause* | createCatchClause (const string &exceptionDecl, const Position &edPos, const string &code, const Position &edPos)=0 |
virtual void | setLookahead (EbnfNode *node, LaSpec *la)=0 |
virtual void | setStartCode (EbnfNode *node, const string &code, bool force, const Position &pos)=0 |
virtual void | setEndCode (EbnfNode *node, const string &code, bool force, const Position &pos)=0 |
virtual void | setCatchClauses (EbnfNode *node, vector< CatchClause > &catchList)=0 |
All the methods receive, besides node-specific arguments, a Position object that indicates where inthe input file the construct that the node represents was found.
Definition at line 77 of file iebnf_node_builder.hh.
|
Reimplemented in EbnfNodeBuilder. Referenced by IEbnfNodeBuilder_createOrNode().
|
|
Reimplemented in EbnfNodeBuilder. Referenced by IEbnfNodeBuilder_createCatNode().
|
|
Reimplemented in EbnfNodeBuilder. Referenced by IEbnfNodeBuilder_createPlusNode().
|
|
Reimplemented in EbnfNodeBuilder. Referenced by IEbnfNodeBuilder_createStarNode().
|
|
Reimplemented in EbnfNodeBuilder. Referenced by IEbnfNodeBuilder_createOptionalNode().
|
|
Reimplemented in EbnfNodeBuilder. Referenced by IEbnfNodeBuilder_createNonterminalNode().
|
|
Reimplemented in EbnfNodeBuilder. Referenced by IEbnfNodeBuilder_createTerminalNode().
|
|
Creates a new lookahead spec object with the given arguments. Reimplemented in EbnfNodeBuilder. Referenced by IEbnfNodeBuilder_createLaSpec().
|
|
Creates a new CatchClause object with the given exception declaration and associated code. Reimplemented in EbnfNodeBuilder. Referenced by IEbnfNodeBuilder_createCatchClause().
|
|
Reimplemented in EbnfNodeBuilder. Referenced by IEbnfNodeBuilder_setLookahead().
|
|
Reimplemented in EbnfNodeBuilder. Referenced by IEbnfNodeBuilder_setStartCode().
|
|
Reimplemented in EbnfNodeBuilder. Referenced by IEbnfNodeBuilder_setEndCode().
|
|
Reimplemented in EbnfNodeBuilder. Referenced by IEbnfNodeBuilder_setCatchClauses().
|