/* * ASTMyOtherID.cpp * * Created on: 27 mars 2014 * Author: FrancisANDRE */ #include "ASTMyOtherID.h" #include "ParserVisitor.h" namespace @NAMESPACE@ { ASTMyOtherID::ASTMyOtherID(int id) : SimpleNode(id) { } ASTMyOtherID::ASTMyOtherID(Parser *p, int id) : SimpleNode(p, id){ } ASTMyOtherID::~ASTMyOtherID() { } void ASTMyOtherID::setName(JAVACC_STRING_TYPE image) { name = image; } JAVACC_STRING_TYPE ASTMyOtherID::toString() const { return "Identifier: " + name; } /** Accept the visitor. **/ void* ASTMyOtherID::jjtAccept(ParserVisitor *visitor, void * data) const { return visitor->visit(this, data); } } /* namespace @NAMESPACE@ */