|
Bond 0.9
C++ Bond Runtime Library API Documentation
|
Represents a declarative statement with one or more named initializers. More...
#include <bond/compiler/parsenodes.h>
Public Member Functions | |
| DeclarativeStatement (TypeDescriptor *typeDescriptor, NamedInitializer *initializerList) | |
| Constructs a declarative statement. | |
| virtual | ~DeclarativeStatement () |
| 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 TypeDescriptor * | GetTypeDescriptor () const |
| Returns the declaration type descriptor. | |
| TypeDescriptor * | GetTypeDescriptor () |
| Returns the declaration type descriptor. | |
| const NamedInitializer * | GetNamedInitializerList () const |
| Returns list of named initializers. | |
| NamedInitializer * | GetNamedInitializerList () |
| Returns list of named initializers. | |
| 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 () |
Additional Inherited Members | |
| Protected Member Functions inherited from Bond::ListParseNode | |
| ListParseNode () | |
| Protected Member Functions inherited from Bond::ParseNode | |
| ParseNode () | |
Represents a declarative statement with one or more named initializers.
|
inline |
Constructs a declarative statement.
| typeDescriptor | Common type descriptor for declared names. |
| initializerList | List of declared names and initializers. |
|
inlinevirtual |
|
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 list of named initializers.
|
inline |
Returns list of named initializers.
|
inline |
Returns the declaration type descriptor.
|
inline |
Returns the declaration type descriptor.