#include <AstNode.h>
Definition at line 23 of file AstNode.h.
Public Member Functions | |
| AstNode (const std::string &_type="", const std::string &_value="") | |
| AstNode (const AstNode &n) | |
| ~AstNode () | |
| AstNode & | operator= (const AstNode &n) |
| bool | operator== (const AstNode &n) const |
| void | setValue (const std::string &v) |
| void | setType (const std::string &t) |
| std::string | getValue () const |
| std::string | getType () const |
Private Attributes | |
| std::string | type |
| std::string | value |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const AstNode &node) |
| AstNode::AstNode | ( | const std::string & | _type = "", |
|
| const std::string & | _value = "" | |||
| ) | [inline] |
| AstNode::AstNode | ( | const AstNode & | n | ) | [inline] |
| bool AstNode::operator== | ( | const AstNode & | n | ) | const [inline] |
| void AstNode::setValue | ( | const std::string & | v | ) | [inline] |
| void AstNode::setType | ( | const std::string & | t | ) | [inline] |
| std::string AstNode::getValue | ( | ) | const [inline] |
| std::string AstNode::getType | ( | ) | const [inline] |
| std::ostream& operator<< | ( | std::ostream & | stream, | |
| const AstNode & | node | |||
| ) | [friend] |
std::string AstNode::type [private] |
Definition at line 25 of file AstNode.h.
Referenced by getType(), operator<<(), operator=(), and setType().
std::string AstNode::value [private] |
Definition at line 26 of file AstNode.h.
Referenced by getValue(), operator<<(), operator=(), and setValue().
1.5.3