Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
Bond::ParseNode Class Referenceabstract

Base class for all parse tree nodes. More...

#include <bond/compiler/parsenodes.h>

Inheritance diagram for Bond::ParseNode:
Bond::FunctionPrototype Bond::ListParseNode Bond::TypeDescriptor Bond::TypeSpecifier 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 ~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

 ParseNode ()

Detailed Description

Base class for all parse tree nodes.

Constructor & Destructor Documentation

◆ ~ParseNode()

virtual Bond::ParseNode::~ParseNode ( )
inlinevirtual

◆ ParseNode()

Bond::ParseNode::ParseNode ( )
inlineprotected

Member Function Documentation

◆ Accept() [1/2]

◆ Accept() [2/2]

◆ GetContextToken()


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