|
GameApi 28
Library used by GameApi Builder tool
|
Struct that doubles as both a parser ast_node and an AST node. More...
#include <chaiscript_common.hpp>


Public Member Functions | |
| const std::string & | filename () const |
| const File_Position & | start () const |
| const File_Position & | end () const |
| std::string | pretty_print () const |
| virtual std::vector< std::reference_wrapper< AST_Node > > | get_children () const =0 |
| virtual Boxed_Value | eval (const chaiscript::detail::Dispatch_State &t_e) const =0 |
| std::string | to_string (const std::string &t_prepend="") const |
| Prints the contents of an AST node, including its children, recursively. | |
| virtual | ~AST_Node ()=default |
| AST_Node (AST_Node &&)=default | |
| AST_Node & | operator= (AST_Node &&)=default |
| AST_Node (const AST_Node &)=delete | |
| AST_Node & | operator= (const AST_Node &)=delete |
Static Public Member Functions | |
| static bool | get_bool_condition (const Boxed_Value &t_bv, const chaiscript::detail::Dispatch_State &t_ss) |
Public Attributes | |
| const AST_Node_Type | identifier |
| const std::string | text |
| Parse_Location | location |
Protected Member Functions | |
| AST_Node (std::string t_ast_node_text, AST_Node_Type t_id, Parse_Location t_loc) | |
Struct that doubles as both a parser ast_node and an AST node.
|
virtualdefault |
|
default |

|
delete |
|
inlineprotected |
|
inline |

|
pure virtual |
|
inline |

|
inlinestatic |

|
pure virtual |
|
inline |

|
inline |

|
inline |
Prints the contents of an AST node, including its children, recursively.

| const AST_Node_Type chaiscript::AST_Node::identifier |
| Parse_Location chaiscript::AST_Node::location |
| const std::string chaiscript::AST_Node::text |