58 #define YYSTYPE AsnParserNode 66 : aadl_information(_aadl_information),
68 debug_level(_parameters->get_class_debug_level(
"AsnParser"))
Data structure representing the entire HLS information.
const std::string file_name
The name of the file to be parsed.
#define GET_CLASS(obj)
Macro returning the actual type of an object.
Definition of the class representing a generic C application.
Auxiliary methods for manipulating string.
enum ParserFlowStep_Type { } ParserFlowStep_Type
Autoheader include.
const application_managerRef AppM
The application manager.
header file for LEX based lexer for asn file.
utility function used to read files.
AsnParser(const DesignFlowManagerConstRef design_flow_manager, const std::string &file_name, const application_managerRef AppM, const ParameterConstRef parameters)
Constructor.
const ParameterConstRef parameters
Set of input parameters.
DesignFlowStep_Status
The status of a step.
fileIO_istreamRef fileIO_istream_open(const std::string &name)
this function returns an istream compressed or not.
#define THROW_ERROR(str_expr)
helper function used to throw an error in a standard way
DesignFlowStep_Status Exec() override
Execute the step.
void YYParse(const AsnParserDataRef data, const AsnFlexLexerRef lexer) const
Wrapper to yyparse.
Specification of the data structure associated with a node during asn parsing.
AsnParserData(const AadlInformationRef aadl_information, const ParameterConstRef parameters)
Constructor.
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
this class is used to manage the command-line or XML options.
int debug_level
The debug level.
~AsnParser() override
Destuctor.
Specification of the asn parsing interface function.