torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
XdlParser.hpp File Reference

Header for the XdlParser class. More...

#include <string>
#include <iostream>
#include "stack.hh"
#include "torc/physical/XdlImporter.hpp"
#include "torc/physical/Factory.hpp"
#include "torc/physical/OutputStreamHelpers.hpp"
#include "torc/common/DeviceDesignator.hpp"
#include <sstream>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/smart_ptr.hpp>
#include "location.hh"
+ Include dependency graph for XdlParser.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  torc::XdlParser
 A Bison parser. More...
 
struct  torc::XdlParser::token
 Tokens. More...
 

Namespaces

 torc
 Implementation of class to encapsulate micro-bitstream library generation code.
 

Macros

#define YYSTYPE   std::string
 
#define yylex   xdl.lexer->lex
 Code to connect the bison parser in the importer to the flex scanner object. More...
 
#define YYDEBUG   0
 
#define YYERROR_VERBOSE   1
 
#define YYTOKEN_TABLE   0
 
#define YYLLOC_DEFAULT(Current, Rhs, N)
 

Detailed Description

Header for the XdlParser class.

Definition in file XdlParser.hpp.

Macro Definition Documentation

#define YYDEBUG   0

Definition at line 110 of file XdlParser.hpp.

#define YYERROR_VERBOSE   1

Definition at line 118 of file XdlParser.hpp.

#define yylex   xdl.lexer->lex

Code to connect the bison parser in the importer to the flex scanner object.

This defines the yylex() function call to pull the next token from the current lexer object in the importer.

Definition at line 99 of file XdlParser.hpp.

#define YYLLOC_DEFAULT (   Current,
  Rhs,
 
)
Value:
do { \
if (N) \
{ \
(Current).begin = (Rhs)[1].begin; \
(Current).end = (Rhs)[N].end; \
} \
else \
{ \
(Current).begin = (Current).end = (Rhs)[0].end; \
} \
} while (false)
if(!(yy_init))
Definition: LutScanner.cpp:598

Definition at line 131 of file XdlParser.hpp.

#define YYSTYPE   std::string

Definition at line 89 of file XdlParser.hpp.

#define YYTOKEN_TABLE   0

Definition at line 123 of file XdlParser.hpp.