Interpreter prototype alpha
c++ interpreter for make believe language
 
Loading...
Searching...
No Matches
builtinNode.h
Go to the documentation of this file.
1
8#ifndef BUILTINNODE
9#define BUILTINNODE
10#include "../tokenNode.h"
11
15class builtinNode : public tokenNode{
16public:
20 std::shared_ptr<tokenNode> assigneddata = nullptr;
21
25 std::string built_in_name = "";
26
32
38 std::string __represent__();
39};
40
41#endif
std::string __represent__()
(virtual) returns a string representing the current state of this builtinNode and it's syntax tree st...
Definition builtinNode.cpp:5
builtinNode()
constructor
Definition builtinNode.cpp:3
std::string built_in_name
name of the built in function
Definition builtinNode.h:25
std::shared_ptr< tokenNode > assigneddata
assigned data for the built in function to use
Definition builtinNode.h:20
creates a node in the syntax tree of type builtinNode
Definition builtinNode.h:15
node used for creating abstract syntax tree
Definition tokenNode.h:15