Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
Bond::ListParseNode Class Reference

Base class for parse nodes that can be linked into singly linked lists. More...

#include <bond/compiler/parsenodes.h>

Inheritance diagram for Bond::ListParseNode:
Bond::ParseNode Bond::DeclarativeStatement Bond::Expression Bond::ExpressionStatement Bond::IfStatement Bond::IncludeDirective Bond::Initializer Bond::JumpStatement Bond::NativeBlock Bond::QualifiedIdentifier Bond::ResolvedSwitchLabel Bond::SwitchLabel Bond::SwitchStatement Bond::Symbol Bond::TranslationUnit Bond::WhileStatement

Public Member Functions

virtual ~ListParseNode ()
ListParseNodeGetNextNode ()
 Returns the next node in the list.
const ListParseNodeGetNextNode () 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 TokenGetContextToken () const =0
 Returns the token used as source context for diagnostics.

Protected Member Functions

 ListParseNode ()
Protected Member Functions inherited from Bond::ParseNode
 ParseNode ()

Detailed Description

Base class for parse nodes that can be linked into singly linked lists.

Constructor & Destructor Documentation

◆ ~ListParseNode()

virtual Bond::ListParseNode::~ListParseNode ( )
inlinevirtual

◆ ListParseNode()

Bond::ListParseNode::ListParseNode ( )
inlineprotected

Member Function Documentation

◆ GetNextNode() [1/2]

ListParseNode * Bond::ListParseNode::GetNextNode ( )
inline

Returns the next node in the list.

◆ GetNextNode() [2/2]

const ListParseNode * Bond::ListParseNode::GetNextNode ( ) const
inline

Returns the next node in the list.

◆ SetNextNode()

void Bond::ListParseNode::SetNextNode ( ListParseNode * next)
inline

Sets the next node in the list.

Parameters
nextNode to link after this node.

The documentation for this class was generated from the following file:
  • include/bond/compiler/parsenodes.h