Tensorium
Loading...
Searching...
No Matches
tensorium::ASTNode Struct Reference

#include <AST.hpp>

Collaboration diagram for tensorium::ASTNode:

Public Member Functions

 ASTNode (ASTNodeType type, const std::string &val="")
 
 ASTNode (ASTNodeType type, const std::string &val, const std::vector< std::shared_ptr< ASTNode > > &childs)
 

Public Attributes

ASTNodeType type
 
std::string value
 
std::vector< std::shared_ptr< ASTNode > > children
 

Constructor & Destructor Documentation

◆ ASTNode() [1/2]

tensorium::ASTNode::ASTNode ( ASTNodeType type,
const std::string & val = "" )
inline

◆ ASTNode() [2/2]

tensorium::ASTNode::ASTNode ( ASTNodeType type,
const std::string & val,
const std::vector< std::shared_ptr< ASTNode > > & childs )
inline

Member Data Documentation

◆ children

std::vector<std::shared_ptr<ASTNode> > tensorium::ASTNode::children

◆ type

ASTNodeType tensorium::ASTNode::type

◆ value

std::string tensorium::ASTNode::value

The documentation for this struct was generated from the following file: