Each position in the nested word has a symbol and a type. More...
Public Types | |
enum | Type { CallType, InternalType, ReturnType } |
The type of a position: either a call position, internal position, or return position. More... | |
Public Member Functions | |
Position (Symbol sym, Type ty) | |
Constructs a Position object with the given symbol and type. | |
bool | operator== (Position const &p) const |
Returns whether two positions are equal. | |
Public Attributes | |
Symbol | symbol |
The symbol at this position. | |
Type | type |
The type (call/internal/return) of this position. |
Each position in the nested word has a symbol and a type.
Constructs a Position object with the given symbol and type.
bool opennwa::NestedWord::Position::operator== | ( | Position const & | p | ) | const |
The symbol at this position.
Referenced by operator==().
The type (call/internal/return) of this position.
Referenced by operator==().