All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javacc-7.0.1.examples.JJTreeExamples.cpp.eg2.ASTMyID.cc Maven / Gradle / Ivy

There is a newer version: 7.0.13
Show newest version
/*
 * ASTMyID.cpp
 *
 *  Created on: 28 mars 2014
 *      Author: FrancisANDRE
 */

#include "ASTMyID.h"

namespace EG2 {

ASTMyID::ASTMyID(int i) : SimpleNode(i) {
}
ASTMyID::ASTMyID(Parser *p, int id) : SimpleNode(p, id){
}

void
ASTMyID::setName(JAVACC_STRING_TYPE image) {
	name = image;
}

ASTMyID::~ASTMyID() {
}

JAVACC_STRING_TYPE ASTMyID::toString() const {
  return "Identifier: " + name;
}


} /* namespace EG2 */




© 2015 - 2024 Weber Informatics LLC | Privacy Policy