g2o
|
#include <iostream>
#include <errno.h>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <FlexLexer.h>
#include <vector>
#include <string>
#include "scanner.h"
Go to the source code of this file.
Classes | |
struct | yy_buffer_state |
struct | yy_trans_info |
Namespaces | |
SlamParser | |
Macros | |
#define | YY_INT_ALIGNED short int |
#define | FLEX_SCANNER |
#define | YY_FLEX_MAJOR_VERSION 2 |
#define | YY_FLEX_MINOR_VERSION 5 |
#define | YY_FLEX_SUBMINOR_VERSION 35 |
#define | FLEX_BETA |
#define | yyFlexLexer SlamFlexLexer |
#define | FLEXINT_H |
#define | INT8_MIN (-128) |
#define | INT16_MIN (-32767-1) |
#define | INT32_MIN (-2147483647-1) |
#define | INT8_MAX (127) |
#define | INT16_MAX (32767) |
#define | INT32_MAX (2147483647) |
#define | UINT8_MAX (255U) |
#define | UINT16_MAX (65535U) |
#define | UINT32_MAX (4294967295U) |
#define | yyconst |
#define | YY_NULL 0 |
#define | YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) |
#define | BEGIN (yy_start) = 1 + 2 * |
#define | YY_START (((yy_start) - 1) / 2) |
#define | YYSTATE YY_START |
#define | YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
#define | YY_NEW_FILE yyrestart( yyin ) |
#define | YY_END_OF_BUFFER_CHAR 0 |
#define | YY_BUF_SIZE 16384 |
#define | YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
#define | YY_TYPEDEF_YY_BUFFER_STATE |
#define | EOB_ACT_CONTINUE_SCAN 0 |
#define | EOB_ACT_END_OF_FILE 1 |
#define | EOB_ACT_LAST_MATCH 2 |
#define | YY_LESS_LINENO(n) |
#define | yyless(n) |
#define | unput(c) yyunput( c, (yytext_ptr) ) |
#define | YY_TYPEDEF_YY_SIZE_T |
#define | YY_STRUCT_YY_BUFFER_STATE |
#define | YY_BUFFER_NEW 0 |
#define | YY_BUFFER_NORMAL 1 |
#define | YY_BUFFER_EOF_PENDING 2 |
#define | YY_CURRENT_BUFFER |
#define | YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
#define | yy_new_buffer yy_create_buffer |
#define | yy_set_interactive(is_interactive) |
#define | yy_set_bol(at_bol) |
#define | YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
#define | yytext_ptr yytext |
#define | YY_DO_BEFORE_ACTION |
#define | YY_NUM_RULES 15 |
#define | YY_END_OF_BUFFER 16 |
#define | REJECT reject_used_but_not_detected |
#define | yymore() yymore_used_but_not_detected |
#define | YY_MORE_ADJ 0 |
#define | YY_RESTORE_YY_MORE_OFFSET |
#define | yyterminate() return token::END |
#define | YY_NO_UNISTD_H |
#define | YY_USER_ACTION yylloc->columns(yyleng); |
#define | INITIAL 0 |
#define | YY_EXTRA_TYPE void * |
#define | YY_READ_BUF_SIZE 8192 |
#define | ECHO LexerOutput( yytext, yyleng ) |
#define | YY_INPUT(buf, result, max_size) |
#define | YY_START_STACK_INCR 25 |
#define | YY_FATAL_ERROR(msg) LexerError( msg ) |
#define | YY_BREAK break; |
#define | YY_RULE_SETUP YY_USER_ACTION |
#define | YY_EXIT_FAILURE 2 |
#define | yyless(n) |
#define | YYTABLES_NAME "yytables" |
Typedefs | |
typedef signed char | flex_int8_t |
typedef short int | flex_int16_t |
typedef int | flex_int32_t |
typedef unsigned char | flex_uint8_t |
typedef unsigned short int | flex_uint16_t |
typedef unsigned int | flex_uint32_t |
typedef struct yy_buffer_state * | YY_BUFFER_STATE |
typedef size_t | yy_size_t |
typedef unsigned char | YY_CHAR |
typedef SlamParser::Parser::token | token |
typedef SlamParser::Parser::token_type | token_type |
Functions | |
void * | Slamalloc (yy_size_t) |
void * | Slamrealloc (void *, yy_size_t) |
void | Slamfree (void *) |
yylloc | step () |
if (!(yy_init)) | |
while (1) | |
int | isatty (int) |
Variables | |
int | yyleng |
static yyconst flex_int16_t | yy_accept [77] |
static yyconst flex_int32_t | yy_ec [256] |
static yyconst flex_int32_t | yy_meta [47] |
static yyconst flex_int16_t | yy_base [78] |
static yyconst flex_int16_t | yy_def [78] |
static yyconst flex_int16_t | yy_nxt [220] |
static yyconst flex_int16_t | yy_chk [220] |
YY_DECL | |
char * | yy_cp |
char * | yy_bp |
int | yy_act |
#define BEGIN (yy_start) = 1 + 2 * |
Definition at line 138 of file flex_scanner.cpp.
Referenced by yyFlexLexer::yy_pop_state(), and yyFlexLexer::yy_push_state().
#define ECHO LexerOutput( yytext, yyleng ) |
Definition at line 555 of file flex_scanner.cpp.
Referenced by while().
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 179 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyinput().
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 180 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyinput().
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 181 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyinput().
#define FLEX_BETA |
Definition at line 14 of file flex_scanner.cpp.
#define FLEX_SCANNER |
Definition at line 9 of file flex_scanner.cpp.
#define FLEXINT_H |
Definition at line 34 of file flex_scanner.cpp.
#define INITIAL 0 |
Definition at line 517 of file flex_scanner.cpp.
Referenced by while().
#define INT16_MAX (32767) |
Definition at line 76 of file flex_scanner.cpp.
#define INT16_MIN (-32767-1) |
Definition at line 67 of file flex_scanner.cpp.
#define INT32_MAX (2147483647) |
Definition at line 79 of file flex_scanner.cpp.
#define INT32_MIN (-2147483647-1) |
Definition at line 70 of file flex_scanner.cpp.
#define INT8_MAX (127) |
Definition at line 73 of file flex_scanner.cpp.
#define INT8_MIN (-128) |
Definition at line 64 of file flex_scanner.cpp.
#define REJECT reject_used_but_not_detected |
Definition at line 478 of file flex_scanner.cpp.
#define UINT16_MAX (65535U) |
Definition at line 85 of file flex_scanner.cpp.
#define UINT32_MAX (4294967295U) |
Definition at line 88 of file flex_scanner.cpp.
#define UINT8_MAX (255U) |
Definition at line 82 of file flex_scanner.cpp.
#define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
Definition at line 199 of file flex_scanner.cpp.
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 313 of file flex_scanner.cpp.
#define YY_BREAK break; |
Definition at line 606 of file flex_scanner.cpp.
Referenced by while().
#define YY_BUF_SIZE 16384 |
Definition at line 164 of file flex_scanner.cpp.
Referenced by if(), yyFlexLexer::switch_streams(), and yyFlexLexer::yyrestart().
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 267 of file flex_scanner.cpp.
Referenced by yyFlexLexer::yy_get_next_buffer().
#define YY_BUFFER_NEW 0 |
Definition at line 255 of file flex_scanner.cpp.
Referenced by while(), and yyFlexLexer::yy_flush_buffer().
#define YY_BUFFER_NORMAL 1 |
Definition at line 256 of file flex_scanner.cpp.
Referenced by while().
#define YY_CURRENT_BUFFER |
Definition at line 278 of file flex_scanner.cpp.
Referenced by if(), yyFlexLexer::switch_streams(), yyFlexLexer::yy_delete_buffer(), yyFlexLexer::yy_flush_buffer(), yyFlexLexer::yy_get_next_buffer(), yyFlexLexer::yy_init_buffer(), yyFlexLexer::yy_switch_to_buffer(), yyFlexLexer::yypop_buffer_state(), yyFlexLexer::yypush_buffer_state(), yyFlexLexer::yyrestart(), and yyFlexLexer::~yyFlexLexer().
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 285 of file flex_scanner.cpp.
Referenced by if(), while(), yyFlexLexer::yy_delete_buffer(), yyFlexLexer::yy_get_next_buffer(), yyFlexLexer::yy_load_buffer_state(), yyFlexLexer::yy_switch_to_buffer(), yyFlexLexer::yyinput(), yyFlexLexer::yypop_buffer_state(), yyFlexLexer::yypush_buffer_state(), yyFlexLexer::yyrestart(), and yyFlexLexer::yyunput().
#define YY_DO_BEFORE_ACTION |
#define YY_END_OF_BUFFER 16 |
Definition at line 334 of file flex_scanner.cpp.
Referenced by while().
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 153 of file flex_scanner.cpp.
Referenced by yyFlexLexer::yy_flush_buffer(), yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyinput().
#define YY_EXIT_FAILURE 2 |
Definition at line 1655 of file flex_scanner.cpp.
Referenced by yyFlexLexer::LexerError().
#define YY_EXTRA_TYPE void * |
Definition at line 528 of file flex_scanner.cpp.
#define YY_FATAL_ERROR | ( | msg | ) | LexerError( msg ) |
Definition at line 584 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_create_buffer(), yyFlexLexer::yy_get_next_buffer(), yyFlexLexer::yy_pop_state(), yyFlexLexer::yy_push_state(), yyFlexLexer::yyensure_buffer_stack(), and yyFlexLexer::yyunput().
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 10 of file flex_scanner.cpp.
#define YY_FLEX_MINOR_VERSION 5 |
Definition at line 11 of file flex_scanner.cpp.
#define YY_FLEX_SUBMINOR_VERSION 35 |
Definition at line 12 of file flex_scanner.cpp.
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) |
Definition at line 562 of file flex_scanner.cpp.
Referenced by yyFlexLexer::yy_get_next_buffer().
#define YY_INT_ALIGNED short int |
Definition at line 5 of file flex_scanner.cpp.
#define YY_LESS_LINENO | ( | n | ) |
Definition at line 183 of file flex_scanner.cpp.
#define YY_MORE_ADJ 0 |
Definition at line 480 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yy_get_previous_state().
#define yy_new_buffer yy_create_buffer |
Definition at line 291 of file flex_scanner.cpp.
#define YY_NEW_FILE yyrestart( yyin ) |
Definition at line 151 of file flex_scanner.cpp.
Referenced by while(), and yyFlexLexer::yyinput().
#define YY_NO_UNISTD_H |
Definition at line 500 of file flex_scanner.cpp.
#define YY_NULL 0 |
Definition at line 125 of file flex_scanner.cpp.
#define YY_NUM_RULES 15 |
Definition at line 333 of file flex_scanner.cpp.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 549 of file flex_scanner.cpp.
Referenced by yyFlexLexer::yy_get_next_buffer().
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 481 of file flex_scanner.cpp.
Referenced by while().
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 609 of file flex_scanner.cpp.
Referenced by while().
#define YY_SC_TO_UI | ( | c | ) | ((unsigned int) (unsigned char) c) |
Definition at line 132 of file flex_scanner.cpp.
Referenced by while(), and yyFlexLexer::yy_get_previous_state().
#define yy_set_bol | ( | at_bol | ) |
Definition at line 303 of file flex_scanner.cpp.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 293 of file flex_scanner.cpp.
#define YY_START (((yy_start) - 1) / 2) |
Definition at line 144 of file flex_scanner.cpp.
Referenced by while(), and yyFlexLexer::yy_push_state().
#define YY_START_STACK_INCR 25 |
Definition at line 579 of file flex_scanner.cpp.
Referenced by yyFlexLexer::yy_push_state().
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 170 of file flex_scanner.cpp.
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 148 of file flex_scanner.cpp.
Referenced by while().
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 207 of file flex_scanner.cpp.
#define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 173 of file flex_scanner.cpp.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 202 of file flex_scanner.cpp.
#define YY_USER_ACTION yylloc->columns(yyleng); |
Definition at line 514 of file flex_scanner.cpp.
#define yyconst |
Definition at line 121 of file flex_scanner.cpp.
#define yyFlexLexer SlamFlexLexer |
Definition at line 23 of file flex_scanner.cpp.
#define yyless | ( | n | ) |
Definition at line 1667 of file flex_scanner.cpp.
#define yyless | ( | n | ) |
Definition at line 1667 of file flex_scanner.cpp.
#define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 479 of file flex_scanner.cpp.
#define YYSTATE YY_START |
Definition at line 145 of file flex_scanner.cpp.
#define YYTABLES_NAME "yytables" |
Definition at line 1729 of file flex_scanner.cpp.
#define yyterminate | ( | ) | return token::END |
Definition at line 496 of file flex_scanner.cpp.
Referenced by while().
#define yytext_ptr yytext |
Definition at line 319 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_next_buffer(), yyFlexLexer::yy_get_previous_state(), yyFlexLexer::yy_load_buffer_state(), yyFlexLexer::yyinput(), and yyFlexLexer::yyunput().
typedef short int flex_int16_t |
Definition at line 56 of file flex_scanner.cpp.
typedef int flex_int32_t |
Definition at line 57 of file flex_scanner.cpp.
typedef signed char flex_int8_t |
Definition at line 55 of file flex_scanner.cpp.
typedef unsigned short int flex_uint16_t |
Definition at line 59 of file flex_scanner.cpp.
typedef unsigned int flex_uint32_t |
Definition at line 60 of file flex_scanner.cpp.
typedef unsigned char flex_uint8_t |
Definition at line 58 of file flex_scanner.cpp.
typedef SlamParser::Parser::token token |
Definition at line 491 of file flex_scanner.cpp.
Definition at line 492 of file flex_scanner.cpp.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 174 of file flex_scanner.cpp.
typedef unsigned char YY_CHAR |
Definition at line 317 of file flex_scanner.cpp.
typedef size_t yy_size_t |
Definition at line 203 of file flex_scanner.cpp.
if | ( | ! | yy_init | ) |
Definition at line 633 of file flex_scanner.cpp.
References YY_BUF_SIZE, YY_CURRENT_BUFFER, and YY_CURRENT_BUFFER_LVALUE.
Referenced by yyFlexLexer::yyunput().
int isatty | ( | int | ) |
Referenced by yyFlexLexer::yy_delete_buffer().
void * Slamalloc | ( | yy_size_t | size | ) |
Definition at line 1707 of file flex_scanner.cpp.
Referenced by yyFlexLexer::yy_create_buffer(), yyFlexLexer::yy_push_state(), and yyFlexLexer::yyensure_buffer_stack().
void Slamfree | ( | void * | ptr | ) |
Definition at line 1724 of file flex_scanner.cpp.
Referenced by yyFlexLexer::yy_delete_buffer(), and yyFlexLexer::~yyFlexLexer().
void * Slamrealloc | ( | void * | ptr, |
yy_size_t | size | ||
) |
Definition at line 1712 of file flex_scanner.cpp.
Referenced by yyFlexLexer::yy_get_next_buffer(), yyFlexLexer::yy_push_state(), and yyFlexLexer::yyensure_buffer_stack().
yylloc step | ( | ) |
Referenced by g2o::RobotLaser::setOdomPose().
while | ( | 1 | ) |
Definition at line 659 of file flex_scanner.cpp.
References SlamParser::Parser::token::ADD, SlamParser::Parser::token::DOUBLE, SlamParser::Parser::token::E_SE2, SlamParser::Parser::token::E_SE3, ECHO, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, SlamParser::Parser::token::EOL, SlamParser::Parser::token::FIX, INITIAL, SlamParser::Parser::token::INTEGER, SlamParser::Parser::token::QUERY_STATE, SlamParser::Parser::token::SOLVE_STATE, SlamParser::Parser::token::STRING, SlamParser::Parser::token::V_SE2, SlamParser::Parser::token::V_SE3, yy_accept, yy_base, YY_BREAK, YY_BUFFER_NEW, YY_BUFFER_NORMAL, yy_chk, yy_cp, YY_CURRENT_BUFFER_LVALUE, yy_def, YY_DO_BEFORE_ACTION, yy_ec, YY_END_OF_BUFFER, YY_FATAL_ERROR, yy_meta, YY_MORE_ADJ, yy_buffer_state::yy_n_chars, YY_NEW_FILE, yy_nxt, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, YY_START, YY_STATE_EOF, yyleng, yyterminate, and yytext_ptr.
|
static |
Definition at line 342 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_previous_state(), and yyFlexLexer::yy_try_NUL_trans().
int yy_act |
Definition at line 618 of file flex_scanner.cpp.
|
static |
Definition at line 395 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_previous_state(), and yyFlexLexer::yy_try_NUL_trans().
char * yy_bp |
Definition at line 617 of file flex_scanner.cpp.
|
static |
Definition at line 447 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_previous_state(), and yyFlexLexer::yy_try_NUL_trans().
char* yy_cp |
Definition at line 617 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_previous_state(), and yyFlexLexer::yyunput().
YY_DECL |
The main scanner function which does all the work.
Definition at line 615 of file flex_scanner.cpp.
|
static |
Definition at line 407 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_previous_state(), and yyFlexLexer::yy_try_NUL_trans().
|
static |
Definition at line 354 of file flex_scanner.cpp.
Referenced by while(), and yyFlexLexer::yy_get_previous_state().
|
static |
Definition at line 386 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_previous_state(), and yyFlexLexer::yy_try_NUL_trans().
|
static |
Definition at line 419 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_previous_state(), and yyFlexLexer::yy_try_NUL_trans().
int yyleng |
Referenced by while().