g2o
Loading...
Searching...
No Matches
bison_parser.cpp File Reference
#include <stdio.h>
#include <string>
#include <vector>
#include "commands.h"
#include "bison_parser.h"
#include "driver.h"
#include "scanner.h"
#include "slam_context.h"
Include dependency graph for bison_parser.cpp:

Go to the source code of this file.

Namespaces

namespace  SlamParser

Macros

#define yylex   SlamParserlex
#define yylex   driver.lexer->lex
#define YY_(msgid)
#define YY_EXCEPTIONS   1
#define YYRHSLOC(Rhs, K)
#define YYLLOC_DEFAULT(Current, Rhs, N)
#define YYCDEBUG    if (false) std::cerr
#define YY_SYMBOL_PRINT(Title, Symbol)
#define YY_REDUCE_PRINT(Rule)
#define YY_STACK_PRINT()
#define yyerrok   (yyerrstatus_ = 0)
#define yyclearin   (yyla.clear())
#define YYACCEPT   goto yyacceptlab
#define YYABORT   goto yyabortlab
#define YYERROR   goto yyerrorlab
#define YYRECOVERING()
#define YYCASE_(N, S)

Macro Definition Documentation

◆ YY_

#define YY_ ( msgid)
Value:
msgid

Definition at line 78 of file bison_parser.cpp.

Referenced by SlamParser::Parser::yysyntax_error_().

◆ YY_EXCEPTIONS

#define YY_EXCEPTIONS   1

Definition at line 87 of file bison_parser.cpp.

◆ YY_REDUCE_PRINT

#define YY_REDUCE_PRINT ( Rule)
Value:
static_cast<void>(0)

Definition at line 139 of file bison_parser.cpp.

Referenced by SlamParser::Parser::parse().

◆ YY_STACK_PRINT

#define YY_STACK_PRINT ( )
Value:
static_cast<void>(0)

Definition at line 140 of file bison_parser.cpp.

Referenced by SlamParser::Parser::parse().

◆ YY_SYMBOL_PRINT

#define YY_SYMBOL_PRINT ( Title,
Symbol )
Value:
YY_USE(Symbol)
#define YY_USE(E)

Definition at line 138 of file bison_parser.cpp.

Referenced by SlamParser::Parser::parse(), SlamParser::Parser::yy_destroy_(), and SlamParser::Parser::yypush_().

◆ YYABORT

#define YYABORT   goto yyabortlab

Definition at line 148 of file bison_parser.cpp.

Referenced by SlamParser::Parser::parse().

◆ YYACCEPT

#define YYACCEPT   goto yyacceptlab

Definition at line 147 of file bison_parser.cpp.

Referenced by SlamParser::Parser::parse().

◆ YYCASE_

#define YYCASE_ ( N,
S )
Value:
case N: \
yyformat = S; \
break

Referenced by SlamParser::Parser::yysyntax_error_().

◆ YYCDEBUG

#define YYCDEBUG    if (false) std::cerr

Definition at line 136 of file bison_parser.cpp.

136#define YYCDEBUG \
137 if (false) std::cerr

Referenced by SlamParser::Parser::parse().

◆ yyclearin

#define yyclearin   (yyla.clear())

Definition at line 145 of file bison_parser.cpp.

◆ yyerrok

#define yyerrok   (yyerrstatus_ = 0)

Definition at line 144 of file bison_parser.cpp.

◆ YYERROR

#define YYERROR   goto yyerrorlab

Definition at line 149 of file bison_parser.cpp.

Referenced by SlamParser::Parser::parse().

◆ yylex [1/2]

#define yylex   driver.lexer->lex

Definition at line 38 of file bison_parser.cpp.

◆ yylex [2/2]

#define yylex   SlamParserlex

Definition at line 38 of file bison_parser.cpp.

Referenced by SlamParser::Parser::parse().

◆ YYLLOC_DEFAULT

#define YYLLOC_DEFAULT ( Current,
Rhs,
N )
Value:
do \
if (N) { \
(Current).begin = YYRHSLOC(Rhs, 1).begin; \
(Current).end = YYRHSLOC(Rhs, N).end; \
} else { \
(Current).begin = (Current).end = YYRHSLOC(Rhs, 0).end; \
} \
while (false)
#define YYRHSLOC(Rhs, K)

Definition at line 97 of file bison_parser.cpp.

97#define YYLLOC_DEFAULT(Current, Rhs, N) \
98 do \
99 if (N) { \
100 (Current).begin = YYRHSLOC(Rhs, 1).begin; \
101 (Current).end = YYRHSLOC(Rhs, N).end; \
102 } else { \
103 (Current).begin = (Current).end = YYRHSLOC(Rhs, 0).end; \
104 } \
105 while (false)

Referenced by SlamParser::Parser::parse().

◆ YYRECOVERING

#define YYRECOVERING ( )
Value:
(!!yyerrstatus_)

Definition at line 150 of file bison_parser.cpp.

◆ YYRHSLOC

#define YYRHSLOC ( Rhs,
K )
Value:
((Rhs)[K].location)

Definition at line 91 of file bison_parser.cpp.