37 #ifndef PARSER_HEADER_H
38 # define PARSER_HEADER_H
49 namespace torc {
namespace generic {
71 #ifdef YYERROR_VERBOSE
72 # undef YYERROR_VERBOSE
73 # define YYERROR_VERBOSE 1
75 # define YYERROR_VERBOSE 1
80 # define YYTOKEN_TABLE 0
87 #ifndef YYLLOC_DEFAULT
88 # define YYLLOC_DEFAULT(Current, Rhs, N) \
92 (Current).begin = (Rhs)[1].begin; \
93 (Current).end = (Rhs)[N].end; \
97 (Current).begin = (Current).end = (Rhs)[0].end; \
105 namespace torc {
namespace generic {
471 virtual int parse ();
561 static const unsigned short int yyr1_[];
565 #if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
610 inline void yypop_ (
unsigned int n = 1);
static const unsigned short int yytable_[]
Represents attributes of a Port or PortReference object.
stack< location_type > location_stack_type
location stack type.
static const short int yypact_ninf_
location location_type
Symbol locations.
torc::generic::TimeStamp * timeStamp
Represents attributes of a Net object.
void set_debug_stream(std::ostream &)
Set the current debugging stream.
void set_debug_level(debug_level_type l)
Set the current debugging level.
torc::generic::InstanceInfo * instanceInfo
debug_level_type debug_level() const
The current debugging level.
torc::generic::NetAttributes * netAttributes
static const unsigned short int yytoken_number_[]
For each scanner token number, its symbol number.
static const int yyterror_
int state_type
State numbers.
token::yytokentype token_type
Token type.
static const unsigned short int yyrline_[]
For each rule, its source line number.
Represents the portDelay attribute on Port or PortReference.
virtual void error(const location_type &loc, const std::string &msg)
torc::generic::LogicListData * logicListData
stack< semantic_type > semantic_stack_type
Semantic value stack type.
torc::generic::VersionData * edifVersion
Represents the netDelay attribute of Net.
state_stack_type yystate_stack_
The state stack.
virtual void yy_reduce_print_(int r)
Report on the debug stream that the rule r is going to be reduced.
static const unsigned short int yydefact_[]
torc::generic::PortListData * portListData
static const unsigned short int yystos_[]
For a state, its accessing symbol.
static const short int yycheck_[]
virtual void yy_symbol_value_print_(int yytype, const semantic_type *yyvaluep, const location_type *yylocationp)
Report a symbol value on the debug stream.
stack< state_type > state_stack_type
State stack type.
static const unsigned short int yyr1_[]
For a rule, its LHS.
location_stack_type yylocation_stack_
The location stack.
torc::generic::LogicValueAttributes * logicValueAttributes
static const int yyfinal_
Represents the time in Universal Time Coordinate (year, month, day, hour, minute, second) ...
Parser(class Driver &inDriver_yyarg)
Build a parser object.
void yypop_(unsigned int n=1)
Pop n symbols the three stacks.
torc::generic::PairStrData * pairStrData
static const short int yypgoto_[]
torc::generic::ParamAssignInfo * paramAssignInfo
static const unsigned int yyuser_token_number_max_
Represents attributes of a view interface.
torc::generic::PortAttributes * portAttributes
virtual std::string yysyntax_error_(int yystate, int tok)
torc::generic::InstanceRefData * instanceRef
static const short int yydefgoto_[]
torc::generic::ValueData * valueData
virtual std::string yytnamerr_(const char *n)
Convert the symbol name n to a form suitable for a diagnostic.
virtual void yy_symbol_print_(int yytype, const semantic_type *yyvaluep, const location_type *yylocationp)
Report a symbol on the debug stream.
This class is used within simulationInfo construct to define a logic value to use for modeling...
std::vector< size_t > * arrayDimensions
semantic_stack_type yysemantic_stack_
The semantic value stack.
torc::generic::PortInstData * portInst
std::ostream & debug_stream() const
The current debugging stream.
static const int yyempty_
static const short int yypact_[]
For a state, the index in yytable_ of its portion.
static const signed char yytable_ninf_
torc::generic::PortDelay * portDelay
torc::generic::NetDelay * netDelay
void yydestruct_(const char *yymsg, int yytype, semantic_type *yyvaluep, location_type *yylocationp)
Reclaim the memory associated to a symbol.
static const int yyerrcode_
token_number_type yytranslate_(int t)
Convert a scanner token number t to a symbol number.
static const int yyntokens_
torc::generic::NameData * nameData
static const char *const yytname_[]
For a symbol, its name in clear.
torc::generic::ViewRefData * viewRefData
torc::generic::PairData * pairData
static const token_number_type yyundef_token_
static const unsigned short int yyprhs_[]
For each rule, the index of the first RHS symbol in yyrhs_.
static const rhs_number_type yyrhs_[]
A `-1'-separated list of the rules' RHS.
short int rhs_number_type
A type to store symbol numbers and -1.
virtual void yystack_print_()
Print the state stack on the debug stream.
torc::generic::PortRefData * portRefData
int debug_level_type
Type for debugging levels.
torc::generic::CellRefData * cellRefData
unsigned short int token_number_type
Internal symbol numbers.
torc::generic::InterfaceAttributes * interfaceAttributes
torc::generic::LogicRefData * logicRefData
static const unsigned char yyr2_[]
For a rule, its RHS length.
torc::generic::NetRefData * netRefData