6 #ifndef VCD_PARSER_DRIVER_HPP 7 #define VCD_PARSER_DRIVER_HPP 15 #include "VCDParser.hpp" 20 VCDParser::parser::symbol_type yylex (VCDFileParser & driver) 59 void error(
const VCDParser::location & l,
const std::string & m);
62 void error(
const std::string & m);
void scan_end()
Utility function for stopping parsing.
VCDTime end_time
Ignore anything after this timepoint.
Class for parsing files containing CSP notation.
A file for common types and data structures used by the VCD parser.
bool trace_scanning
Should we debug tokenising?
void error(const VCDParser::location &l, const std::string &m)
Reports errors to stderr.
VCDFile * fh
Current file being parsed and constructed.
VCDTime start_time
Ignore anything before this timepoint.
bool trace_parsing
Should we debug parsing of tokens?
std::stack< VCDScope * > scopes
Current stack of scopes being parsed.
Top level object to represent a single VCD file.
double VCDTime
Represents a single instant in time in a trace.
VCDFileParser()
Create a new parser/.
VCDFile * parse_file(const std::string &filepath)
Parse the suppled file.
void scan_begin()
Utility function for starting parsing.
std::string filepath
The current file being parsed.