javacc-7.0.3.src.main.resources.templates.cpp.MultiNodeInterface.template 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.
\#ifndef ${NODE_TYPE}_H_
\#define ${NODE_TYPE}_H_
\#include "${NODE_CLASS:-SimpleNode}.h"
#if NAMESPACE
namespace ${NAMESPACE_OPEN}
#fi
class ${PARSER_NAME};
class ${NODE_TYPE} : public ${NODE_CLASS:-SimpleNode} {
public:
${NODE_TYPE}(int id);
${NODE_TYPE}(${PARSER_NAME} *parser, int id);
virtual ~${NODE_TYPE}();
#if VISITOR
/** Accept the visitor. **/
virtual ${VISITOR_RETURN_TYPE} jjtAccept(${PARSER_NAME}Visitor *visitor, ${VISITOR_DATA_TYPE:-void *} data) const ;
#fi
};
#if NAMESPACE
${NAMESPACE_CLOSE}
#fi
\#endif
© 2015 - 2024 Weber Informatics LLC | Privacy Policy