00001 #include "attributeproxy.h" 00002 #include "ast.h" 00003 using namespace AST; 00008 void AttributeProxy::operator=(string value) { 00009 parent->set_attribute(this->attributeName, value); 00010 } 00011 00012 void AttributeProxy::operator=(Node* value) { 00013 parent->set_attribute(this->attributeName, value); 00014 } 00015 void AttributeProxy::operator=(vector<Node*> value) { 00016 parent->set_attribute(this->attributeName, value); 00017 }