javacc-7.0.3.examples.JJTreeExamples.cpp.eg2.ASTMyID.h Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javacc Show documentation
Show all versions of javacc Show documentation
JavaCC is a parser/scanner generator for Java.
/*
* ASTMyID.h
*
* Created on: 28 mars 2014
* Author: FrancisANDRE
*/
#ifndef ASTMYID_H_
#define ASTMYID_H_
#include "ParserTree.h"
namespace EG2 {
class ASTMyID : public SimpleNode {
private:
JAVACC_STRING_TYPE name;
public:
ASTMyID(int i);
ASTMyID(Parser *p, int id);
virtual ~ASTMyID();
void setName(JAVACC_STRING_TYPE image);
JAVACC_STRING_TYPE toString() const;
};
} /* namespace EG2 */
#endif /* ASTMYID_H_ */