g2o
Loading...
Searching...
No Matches
g2o
examples
interactive_slam
slam_parser
parser
scanner.h
Go to the documentation of this file.
1
#ifndef SCANNER_H
2
#define SCANNER_H
3
4
#ifndef YY_DECL
5
6
#define YY_DECL \
7
SlamParser::Parser::token_type SlamParser::Scanner::lex( \
8
SlamParser::Parser::semantic_type* yylval, \
9
SlamParser::Parser::location_type* yylloc)
10
#endif
11
12
#ifndef __FLEX_LEXER_H
13
#define yyFlexLexer SlamFlexLexer
14
#include "
FlexLexer.h
"
15
#undef yyFlexLexer
16
#endif
17
18
#include "
bison_parser.h
"
19
20
namespace
SlamParser
{
21
22
class
Scanner
:
public
SlamFlexLexer {
23
public
:
27
Scanner
(std::istream* arg_yyin = 0, std::ostream* arg_yyout = 0);
28
30
virtual
~Scanner
();
31
35
virtual
Parser::token_type
lex
(
Parser::semantic_type
* yylval,
36
Parser::location_type
* yylloc);
37
39
void
set_debug
(
bool
b);
40
};
41
42
}
// namespace SlamParser
43
44
#endif
FlexLexer.h
bison_parser.h
SlamParser::Scanner
Definition
scanner.h:22
SlamParser::Scanner::~Scanner
virtual ~Scanner()
Definition
flex_scanner.cpp:1624
SlamParser::Scanner::set_debug
void set_debug(bool b)
Definition
flex_scanner.cpp:1626
SlamParser::Scanner::lex
virtual Parser::token_type lex(Parser::semantic_type *yylval, Parser::location_type *yylloc)
SlamParser::location
Two points in a source file.
Definition
location.hh:142
SlamParser
Definition
abstract_slam_interface.h:33
SlamParser::Parser::token::token_kind_type
token_kind_type
Definition
bison_parser.h:230
SlamParser::Parser::value_type
Symbol semantic values.
Definition
bison_parser.h:197
Generated on Tue Nov 11 2025 05:18:45 for g2o by
1.9.8