g2o
Loading...
Searching...
No Matches
Macros | Functions | Variables
scanner.l File Reference
#include <vector>
#include <string>
#include "scanner.h"

Go to the source code of this file.

Macros

#define yyterminate()   return token::END
 
#define YY_NO_UNISTD_H
 
#define YY_USER_ACTION   yylloc->columns(yyleng);
 

Functions

yylloc step ()
 
yylloc lines (yyleng)
 

Variables

yylval integerVal = atoi(yytext)
 
yylval doubleVal = atof(yytext)
 
yylval stringVal = new std::string(yytext, yyleng)
 
return static_cast< token_type > * yytext
 
std::ostream * out
 
std::ostream out yy_flex_debug = b
 

Macro Definition Documentation

◆ YY_NO_UNISTD_H

#define YY_NO_UNISTD_H

◆ YY_USER_ACTION

#define YY_USER_ACTION   yylloc->columns(yyleng);

Definition at line 46 of file scanner.l.

◆ yyterminate

#define yyterminate ( )    return token::END

Function Documentation

◆ lines()

yylloc lines ( yyleng  )

◆ step()

yylloc step ( )

Referenced by g2o::computeSimpleStars().

Variable Documentation

◆ doubleVal

yylval doubleVal = atof(yytext)

Definition at line 65 of file scanner.l.

◆ integerVal

yylval integerVal = atoi(yytext)

Definition at line 60 of file scanner.l.

◆ out

std::ostream* out

Definition at line 137 of file scanner.l.

Referenced by g2o::readFloats(), and g2o::readInts().

◆ stringVal

yylval stringVal = new std::string(yytext, yyleng)

Definition at line 75 of file scanner.l.

◆ yy_flex_debug

std::ostream out yy_flex_debug = b

Definition at line 148 of file scanner.l.

Referenced by yyFlexLexer::ctor_common(), and SlamParser::Scanner::set_debug().

◆ yytext

return static_cast<token_type>* yytext

Definition at line 127 of file scanner.l.

Referenced by while().