Interpreter prototype alpha
c++ interpreter for make believe language
 
Loading...
Searching...
No Matches
StringNode.h
Go to the documentation of this file.
1
8#ifndef STRINGNODE_H
9#define STRINGNODE_H
10#include "../tokenNode.h"
11
15class StringNode : public tokenNode{
16public:
20 std::string stringValue = "";
21
26 StringNode();
27
33 std::string __represent__();
34};
35
36#endif
StringNode()
constructor
Definition StringNode.cpp:3
std::string stringValue
the value of this string node
Definition StringNode.h:20
std::string __represent__()
(virtual) returns a string representing the current state of this whilenode and it's syntax tree stru...
Definition StringNode.cpp:5
creates a node in the syntax tree of type string
Definition StringNode.h:15
node used for creating abstract syntax tree
Definition tokenNode.h:15