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

javacc-7.0.3.examples.JJTreeExamples.cpp.eg3.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 EG3 {

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 EG3 */




© 2015 - 2024 Weber Informatics LLC | Privacy Policy