|
g2o
|
#include <errno.h>#include <cstdio>#include <cstdlib>#include <cstring>#include <iostream>#include <FlexLexer.h>#include <string>#include <vector>#include "scanner.h"
Go to the source code of this file.
Classes | |
| struct | yy_buffer_state |
| struct | yy_trans_info |
Namespaces | |
| namespace | SlamParser |
Macros | |
| #define | YY_INT_ALIGNED short int |
| #define | FLEX_SCANNER |
| #define | YY_FLEX_MAJOR_VERSION 2 |
| #define | YY_FLEX_MINOR_VERSION 6 |
| #define | YY_FLEX_SUBMINOR_VERSION 4 |
| #define | FLEX_BETA |
| #define | yyFlexLexer SlamFlexLexer |
| #define | yyalloc Slamalloc |
| #define | yyrealloc Slamrealloc |
| #define | yyfree Slamfree |
| #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 | SIZE_MAX (~(size_t)0) |
| #define | yyconst const |
| #define | yynoreturn |
| #define | YY_NULL 0 |
| #define | YY_SC_TO_UI(c) ((YY_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 | YY_TYPEDEF_YY_SIZE_T |
| #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 | YY_LINENO_REWIND_TO(ptr) |
| #define | yyless(n) |
| #define | unput(c) yyunput(c, (yytext_ptr)) |
| #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 ((yy_buffer_stack) ? (yy_buffer_stack)[(yy_buffer_stack_top)] : NULL) |
| #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 /*LINTED*/ 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 flex_uint8_t | YY_CHAR |
| typedef SlamParser::Parser::token | token |
| typedef SlamParser::Parser::token_type | token_type |
Functions | |
| void * | yyalloc (yy_size_t) |
| void * | yyrealloc (void *, yy_size_t) |
| void | yyfree (void *) |
| if (!(yy_init)) | |
| while (1) | |
Variables | |
| int | yyleng |
| static const flex_int16_t | yy_accept [77] |
| static const YY_CHAR | yy_ec [256] |
| static const YY_CHAR | yy_meta [47] |
| static const flex_int16_t | yy_base [78] |
| static const flex_int16_t | yy_def [78] |
| static const flex_int16_t | yy_nxt [220] |
| static const 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 147 of file flex_scanner.cpp.
Definition at line 494 of file flex_scanner.cpp.
| #define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 190 of file flex_scanner.cpp.
| #define EOB_ACT_END_OF_FILE 1 |
Definition at line 191 of file flex_scanner.cpp.
| #define EOB_ACT_LAST_MATCH 2 |
Definition at line 192 of file flex_scanner.cpp.
| #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 52 of file flex_scanner.cpp.
| #define INITIAL 0 |
Definition at line 456 of file flex_scanner.cpp.
| #define INT16_MAX (32767) |
Definition at line 94 of file flex_scanner.cpp.
| #define INT16_MIN (-32767 - 1) |
Definition at line 85 of file flex_scanner.cpp.
| #define INT32_MAX (2147483647) |
Definition at line 97 of file flex_scanner.cpp.
| #define INT32_MIN (-2147483647 - 1) |
Definition at line 88 of file flex_scanner.cpp.
| #define INT8_MAX (127) |
Definition at line 91 of file flex_scanner.cpp.
| #define INT8_MIN (-128) |
Definition at line 82 of file flex_scanner.cpp.
| #define REJECT reject_used_but_not_detected |
Definition at line 415 of file flex_scanner.cpp.
| #define SIZE_MAX (~(size_t)0) |
Definition at line 110 of file flex_scanner.cpp.
| #define UINT16_MAX (65535U) |
Definition at line 103 of file flex_scanner.cpp.
| #define UINT32_MAX (4294967295U) |
Definition at line 106 of file flex_scanner.cpp.
| #define UINT8_MAX (255U) |
Definition at line 100 of file flex_scanner.cpp.
| #define unput | ( | c | ) | yyunput(c, (yytext_ptr)) |
Definition at line 208 of file flex_scanner.cpp.
| #define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 307 of file flex_scanner.cpp.
| #define YY_BREAK /*LINTED*/ break; |
Definition at line 545 of file flex_scanner.cpp.
| #define YY_BUF_SIZE 16384 |
Definition at line 169 of file flex_scanner.cpp.
| #define YY_BUFFER_EOF_PENDING 2 |
Definition at line 269 of file flex_scanner.cpp.
| #define YY_BUFFER_NEW 0 |
Definition at line 257 of file flex_scanner.cpp.
| #define YY_BUFFER_NORMAL 1 |
Definition at line 258 of file flex_scanner.cpp.
| #define YY_CURRENT_BUFFER ((yy_buffer_stack) ? (yy_buffer_stack)[(yy_buffer_stack_top)] : NULL) |
Definition at line 279 of file flex_scanner.cpp.
| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 284 of file flex_scanner.cpp.
| #define YY_DO_BEFORE_ACTION |
Definition at line 319 of file flex_scanner.cpp.
| #define YY_END_OF_BUFFER 16 |
Definition at line 326 of file flex_scanner.cpp.
| #define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 158 of file flex_scanner.cpp.
| #define YY_EXIT_FAILURE 2 |
Definition at line 1552 of file flex_scanner.cpp.
| #define YY_EXTRA_TYPE void* |
Definition at line 467 of file flex_scanner.cpp.
| #define YY_FATAL_ERROR | ( | msg | ) | LexerError(msg) |
Definition at line 523 of file flex_scanner.cpp.
| #define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 10 of file flex_scanner.cpp.
| #define YY_FLEX_MINOR_VERSION 6 |
Definition at line 11 of file flex_scanner.cpp.
| #define YY_FLEX_SUBMINOR_VERSION 4 |
Definition at line 12 of file flex_scanner.cpp.
| #define YY_INPUT | ( | buf, | |
| result, | |||
| max_size | |||
| ) |
Definition at line 501 of file flex_scanner.cpp.
| #define YY_INT_ALIGNED short int |
Definition at line 5 of file flex_scanner.cpp.
| #define YY_LESS_LINENO | ( | n | ) |
Definition at line 194 of file flex_scanner.cpp.
| #define YY_LINENO_REWIND_TO | ( | ptr | ) |
Definition at line 195 of file flex_scanner.cpp.
| #define YY_MORE_ADJ 0 |
Definition at line 417 of file flex_scanner.cpp.
| #define yy_new_buffer yy_create_buffer |
Definition at line 290 of file flex_scanner.cpp.
| #define YY_NEW_FILE yyrestart(yyin) |
Definition at line 157 of file flex_scanner.cpp.
| #define YY_NO_UNISTD_H |
Definition at line 437 of file flex_scanner.cpp.
| #define YY_NULL 0 |
Definition at line 136 of file flex_scanner.cpp.
| #define YY_NUM_RULES 15 |
Definition at line 325 of file flex_scanner.cpp.
| #define YY_READ_BUF_SIZE 8192 |
Definition at line 488 of file flex_scanner.cpp.
| #define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 418 of file flex_scanner.cpp.
| #define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 548 of file flex_scanner.cpp.
| #define YY_SC_TO_UI | ( | c | ) | ((YY_CHAR)(c)) |
Definition at line 141 of file flex_scanner.cpp.
| #define yy_set_bol | ( | at_bol | ) |
Definition at line 299 of file flex_scanner.cpp.
| #define yy_set_interactive | ( | is_interactive | ) |
Definition at line 291 of file flex_scanner.cpp.
| #define YY_START (((yy_start)-1) / 2) |
Definition at line 152 of file flex_scanner.cpp.
| #define YY_START_STACK_INCR 25 |
Definition at line 518 of file flex_scanner.cpp.
| #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 176 of file flex_scanner.cpp.
| #define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 155 of file flex_scanner.cpp.
| #define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 211 of file flex_scanner.cpp.
| #define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 179 of file flex_scanner.cpp.
| #define YY_TYPEDEF_YY_SIZE_T |
Definition at line 184 of file flex_scanner.cpp.
| #define YY_USER_ACTION yylloc->columns(yyleng); |
Definition at line 452 of file flex_scanner.cpp.
| #define yyalloc Slamalloc |
Definition at line 28 of file flex_scanner.cpp.
| #define yyconst const |
Definition at line 127 of file flex_scanner.cpp.
| #define yyFlexLexer SlamFlexLexer |
Definition at line 23 of file flex_scanner.cpp.
| #define yyfree Slamfree |
Definition at line 40 of file flex_scanner.cpp.
| #define yyless | ( | n | ) |
Definition at line 198 of file flex_scanner.cpp.
| #define yyless | ( | n | ) |
Definition at line 198 of file flex_scanner.cpp.
| #define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 416 of file flex_scanner.cpp.
| #define yynoreturn |
Definition at line 132 of file flex_scanner.cpp.
| #define yyrealloc Slamrealloc |
Definition at line 34 of file flex_scanner.cpp.
| #define YYSTATE YY_START |
Definition at line 153 of file flex_scanner.cpp.
| #define YYTABLES_NAME "yytables" |
Definition at line 1615 of file flex_scanner.cpp.
| #define yyterminate | ( | ) | return token::END |
Definition at line 433 of file flex_scanner.cpp.
| #define yytext_ptr yytext |
Definition at line 312 of file flex_scanner.cpp.
| typedef short int flex_int16_t |
Definition at line 74 of file flex_scanner.cpp.
| typedef int flex_int32_t |
Definition at line 75 of file flex_scanner.cpp.
| typedef signed char flex_int8_t |
Definition at line 73 of file flex_scanner.cpp.
| typedef unsigned short int flex_uint16_t |
Definition at line 77 of file flex_scanner.cpp.
| typedef unsigned int flex_uint32_t |
Definition at line 78 of file flex_scanner.cpp.
| typedef unsigned char flex_uint8_t |
Definition at line 76 of file flex_scanner.cpp.
| typedef SlamParser::Parser::token token |
Definition at line 428 of file flex_scanner.cpp.
Definition at line 429 of file flex_scanner.cpp.
| typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 180 of file flex_scanner.cpp.
| typedef flex_uint8_t YY_CHAR |
Definition at line 310 of file flex_scanner.cpp.
| typedef size_t yy_size_t |
Definition at line 185 of file flex_scanner.cpp.
| if | ( | ! | yy_init | ) |
Definition at line 557 of file flex_scanner.cpp.
References YY_BUF_SIZE, YY_CURRENT_BUFFER, and YY_CURRENT_BUFFER_LVALUE.
| while | ( | 1 | ) |
Definition at line 591 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_act, yy_base, yy_bp, 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_NEW_FILE, yy_nxt, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, YY_START, YY_STATE_EOF, yyleng, yyterminate, yytext, and yytext_ptr.
| void * yyalloc | ( | yy_size_t | size | ) |
Definition at line 1598 of file flex_scanner.cpp.
| void yyfree | ( | void * | ptr | ) |
Definition at line 1611 of file flex_scanner.cpp.
| void * yyrealloc | ( | void * | ptr, |
| yy_size_t | size | ||
| ) |
Definition at line 1600 of file flex_scanner.cpp.
|
static |
Definition at line 333 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 555 of file flex_scanner.cpp.
Referenced by while().
|
static |
Definition at line 363 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 554 of file flex_scanner.cpp.
Referenced by while(), and yyFlexLexer::yyunput().
|
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_cp |
Definition at line 554 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_previous_state(), yyFlexLexer::yy_try_NUL_trans(), and yyFlexLexer::yyunput().
| YY_DECL |
The main scanner function which does all the work.
Definition at line 552 of file flex_scanner.cpp.
|
static |
Definition at line 371 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_previous_state(), and yyFlexLexer::yy_try_NUL_trans().
|
static |
Definition at line 340 of file flex_scanner.cpp.
Referenced by while(), and yyFlexLexer::yy_get_previous_state().
|
static |
Definition at line 359 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_previous_state(), and yyFlexLexer::yy_try_NUL_trans().
|
static |
Definition at line 378 of file flex_scanner.cpp.
Referenced by while(), yyFlexLexer::yy_get_previous_state(), and yyFlexLexer::yy_try_NUL_trans().
|
extern |
Referenced by while().