#include <ire_node_builder.hh>
Inheritance diagram for IReNodeBuilder:
Public Methods | |
virtual ReNode* | createOrNode (ReNode *pre, ReNode *post, const Position &pos)=0 |
virtual ReNode* | createCatNode (ReNode *pre, ReNode *post, const Position &pos)=0 |
virtual ReNode* | createPlusNode (ReNode *in, const Position &pos)=0 |
virtual ReNode* | createOptionalNode (ReNode *in, const Position &pos)=0 |
virtual ReNode* | createStarNode (ReNode *in, const Position &pos)=0 |
virtual ReNode* | createStringLiteralNode (const string &s, const Position &pos)=0 |
virtual ReNode* | createCharListNode (bool negated, const vector< CharClassDescriptor > &chars, const Position &pos)=0 |
All the methods receive, besides arguments specific to the node's kind, an object of type Position that indicates the position inside the input file where the expression has been identified.
Definition at line 95 of file ire_node_builder.hh.
|
Creates a new "|" node with children pre and post. Reimplemented in DfaReNodeBuilder. Referenced by IReNodeBuilder_createOrNode().
|
|
Creates a new concatenation node with children pre and post. Reimplemented in DfaReNodeBuilder. Referenced by IReNodeBuilder_createCatNode().
|
|
Creates a new "+" node whose operand is in. Reimplemented in DfaReNodeBuilder. Referenced by IReNodeBuilder_createPlusNode().
|
|
Creates a new "?" node whose operand in. Reimplemented in DfaReNodeBuilder. Referenced by IReNodeBuilder_createOptionalNode().
|
|
Creates a "*" node whose operand is in. Reimplemented in DfaReNodeBuilder. Referenced by IReNodeBuilder_createStarNode().
|
|
Creates a node that matches the gicen string literal s. Reimplemented in DfaReNodeBuilder. Referenced by IReNodeBuilder_createStringLiteralNode().
|
|
Creates a new node that matches the characters classes given in \s chars or, if negated is true, the characters that do not belong to the classes in chars. Reimplemented in DfaReNodeBuilder. Referenced by IReNodeBuilder_createCharListNode().
|