|
Bond 0.9
C++ Bond Runtime Library API Documentation
|
Base class for expression nodes. More...
#include <bond/compiler/parsenodes.h>
Public Member Functions | |
| virtual | ~Expression () |
| const TypeDescriptor & | GetTypeDescriptor () const |
| Returns the expression's type descriptor. | |
| void | SetTypeDescriptor (const TypeDescriptor &descriptor) |
| Sets the expression's type descriptor. | |
| const TypeAndValue & | GetTypeAndValue () const |
| Returns type and value metadata for the expression. | |
| TypeAndValue & | GetTypeAndValue () |
| Returns mutable type and value metadata for the expression. | |
| Public Member Functions inherited from Bond::ListParseNode | |
| virtual | ~ListParseNode () |
| 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 () |
| virtual void | Accept (ParseNodeVisitor &visitor)=0 |
| Dispatches this node to the given visitor. | |
| virtual void | Accept (ParseNodeVisitor &visitor) const =0 |
| Dispatches this node to the given visitor. | |
| virtual const Token * | GetContextToken () const =0 |
| Returns the token used as source context for diagnostics. | |
Protected Member Functions | |
| Expression () | |
| Protected Member Functions inherited from Bond::ListParseNode | |
| ListParseNode () | |
| Protected Member Functions inherited from Bond::ParseNode | |
| ParseNode () | |
Base class for expression nodes.
|
inlinevirtual |
|
inlineprotected |
|
inline |
Returns mutable type and value metadata for the expression.
|
inline |
Returns type and value metadata for the expression.
|
inline |
Returns the expression's type descriptor.
|
inline |
Sets the expression's type descriptor.
| descriptor | Type descriptor to assign. |