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

javacc-6.1.2.bin.templates.cpp.MultiNodeImpl.template Maven / Gradle / Ivy

There is a newer version: 7.0.13
Show newest version
  ${NODE_TYPE}::${NODE_TYPE}(int id) : ${NODE_CLASS:-SimpleNode}(id){
  }

  ${NODE_TYPE}::${NODE_TYPE}(${PARSER_NAME} *p, int id) : ${NODE_CLASS:-SimpleNode}(p, id){
  }

#if VISITOR
  /** Accept the visitor. **/
  ${VISITOR_RETURN_TYPE} ${NODE_TYPE}::jjtAccept(${PARSER_NAME}Visitor *visitor, ${VISITOR_DATA_TYPE:-void *} data) const {
#if !VISITOR_RETURN_TYPE_VOID
    return 
#fi
#if VISITOR_METHOD_NAME_INCLUDES_TYPE_NAME
    visitor->visit${NODE_TYPE}(this, data);
#else
    visitor->visit(this, data);
#fi
  }
  ${NODE_TYPE}::~${NODE_TYPE}() {
  }
#fi




© 2015 - 2024 Weber Informatics LLC | Privacy Policy