|
Bond 0.9
C++ Bond Runtime Library API Documentation
|
Represents a potentially qualified identifier. More...
#include <bond/compiler/parsenodes.h>
Public Member Functions | |
| QualifiedIdentifier (const Token *name) | |
| Constructs a qualified identifier element. | |
| virtual | ~QualifiedIdentifier () |
| Destroys a QualifiedIdentifier object. | |
| virtual void | Accept (ParseNodeVisitor &visitor) override |
| Dispatches this node to the given visitor. | |
| virtual void | Accept (ParseNodeVisitor &visitor) const override |
| Dispatches this node to the given visitor. | |
| virtual const Token * | GetContextToken () const override |
| Returns the token used as source context for diagnostics. | |
| const Token * | GetName () const |
| Returns this identifier segment token. | |
| QualifiedIdentifier * | GetNextIdentifier () |
| Returns the next identifier segment. | |
| const QualifiedIdentifier * | GetNextIdentifier () const |
| Returns the next identifier segment. | |
| bool | IsTerminal () const |
| Returns true if this is the last identifier segment. | |
| Public Member Functions inherited from Bond::ListParseNode | |
| virtual | ~ListParseNode () |
| Destroys a ListParseNode object. | |
| ListParseNode * | GetNextNode () |
| Returns the next node in the list. | |
| const ListParseNode * | GetNextNode () const |
| Returns the next node in the list. | |
| void | SetNextNode (ListParseNode *next) |
| Sets the next node in the list. | |
| Public Member Functions inherited from Bond::ParseNode | |
| virtual | ~ParseNode () |
| Destroys a ParseNode object. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Bond::ListParseNode | |
| ListParseNode () | |
| Protected Member Functions inherited from Bond::ParseNode | |
| ParseNode () | |
Represents a potentially qualified identifier.
|
inlineexplicit |
Constructs a qualified identifier element.
| name | Token containing one identifier segment. |
|
inlinevirtual |
Destroys a QualifiedIdentifier object.
|
inlineoverridevirtual |
Dispatches this node to the given visitor.
| visitor | Visitor that handles this node type. |
Implements Bond::ParseNode.
|
inlineoverridevirtual |
Dispatches this node to the given visitor.
| visitor | Visitor that handles this node type. |
Implements Bond::ParseNode.
|
inlineoverridevirtual |
Returns the token used as source context for diagnostics.
Implements Bond::ParseNode.
|
inline |
Returns this identifier segment token.
|
inline |
Returns the next identifier segment.
|
inline |
Returns the next identifier segment.
|
inline |
Returns true if this is the last identifier segment.