#include "astleafliteral.h" #include AstLeafLiteral::AstLeafLiteral( const Variable &v ) : AstNode( AstNode::tLiteral ), vValue( v ) { } AstLeafLiteral::AstLeafLiteral( AstNode eType, const Variable &v ) : AstNode( eType ), vValue( v ) { } AstLeafLiteral::~AstLeafLiteral() { } Bu::Formatter &operator<<( Bu::Formatter &f, const AstLeafLiteral &l ) { return f << l.getType() << "::" << l.vValue; }