torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LutParser.hpp File Reference
#include <string>
#include <iostream>
#include "stack.hh"
#include "torc/bitstream/assembler/Assembler.hpp"
#include <cstdio>
#include "location.hh"
+ Include dependency graph for LutParser.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

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

Namespaces

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

Macros

#define YYSTYPE   std::string
 
#define yylex   lut.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)
 

Macro Definition Documentation

#define YYDEBUG   0

Definition at line 105 of file LutParser.hpp.

#define YYERROR_VERBOSE   1

Definition at line 113 of file LutParser.hpp.

#define yylex   lut.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 94 of file LutParser.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 126 of file LutParser.hpp.

#define YYSTYPE   std::string

Definition at line 84 of file LutParser.hpp.

#define YYTOKEN_TABLE   0

Definition at line 118 of file LutParser.hpp.