![]()  | 
  
    Vcsn
    2.5.dev
    
   Be Rational 
   | 
 
#include <lib/vcsn/rat/parse.hh>#include <iostream>#include <errno.h>#include <cstdlib>#include <cstdio>#include <cstring>#include <lib/vcsn/rat/scan.hh>#include <cassert>#include <stack>#include <string>#include <boost/lexical_cast.hpp>#include <vcsn/misc/escape.hh>#include <vcsn/misc/regex.hh>#include <lib/vcsn/rat/driver.hh>#include <unistd.h>Go to the source code of this file.
Classes | |
| struct | yy_buffer_state | 
| struct | yy_trans_info | 
Namespaces | |
| YY_FLEX_NAMESPACE_BEGIN | |
Macros | |
| #define | yyterminate() return parser::make_END(loc) | 
| #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 1 | 
| #define | FLEX_BETA | 
| #define | yyFlexLexer yyFlexLexer | 
| #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 const | 
| #define | yynoreturn | 
| #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 | 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 | 
| #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 | FLEX_DEBUG | 
| #define | yytext_ptr yytext | 
| #define | YY_INTERACTIVE | 
| #define | YY_DO_BEFORE_ACTION | 
| #define | YY_NUM_RULES 61 | 
| #define | YY_END_OF_BUFFER 62 | 
| #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 | YY_NO_INPUT 1 | 
| #define | LINE(Line) | 
| #define | YY_USER_ACTION loc.columns(yyleng); | 
| #define | TOK(Token) parser::make_ ## Token (loc) | 
| #define | INITIAL 0 | 
| #define | SC_CLASS 1 | 
| #define | SC_CONTEXT 2 | 
| #define | SC_EXPONENT 3 | 
| #define | SC_WEIGHT 4 | 
| #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_DECL_IS_OURS 1 | 
| #define | YY_DECL int yyFlexLexer::yylex() | 
| #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 unsigned char | YY_CHAR | 
Functions | |
| irange_type | YY_FLEX_NAMESPACE_BEGIN::quantifier (driver &d, const location &loc, const std::string &s) | 
| void * | yyalloc (yy_size_t size) | 
| void * | yyrealloc (void *ptr, yy_size_t size) | 
| void | yyfree (void *ptr) | 
Variables | |
| int | yyleng | 
| static const flex_int16_t | yy_accept [131] | 
| static const YY_CHAR | yy_ec [256] | 
| static const YY_CHAR | yy_meta [60] | 
| static const flex_uint16_t | yy_base [141] | 
| static const flex_int16_t | yy_def [141] | 
| static const flex_uint16_t | yy_nxt [331] | 
| static const flex_int16_t | yy_chk [331] | 
| static const flex_int16_t | yy_rule_linenum [61] | 
| #define LINE | ( | Line | ) | 
| #define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) | 
| #define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) | 
| #define YY_CURRENT_BUFFER | 
| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] | 
| #define YY_DO_BEFORE_ACTION | 
| #define YY_INPUT | ( | buf, | |
| result, | |||
| max_size | |||
| ) | 
| #define YY_RULE_SETUP YY_USER_ACTION | 
| #define yy_set_bol | ( | at_bol | ) | 
| #define yy_set_interactive | ( | is_interactive | ) | 
| #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) | 
| #define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) | 
| #define yyFlexLexer yyFlexLexer | 
| #define yyless | ( | n | ) | 
| #define yyless | ( | n | ) | 
| typedef short int flex_int16_t | 
| typedef int flex_int32_t | 
| typedef signed char flex_int8_t | 
| typedef unsigned short int flex_uint16_t | 
| typedef unsigned int flex_uint32_t | 
| typedef unsigned char flex_uint8_t | 
| typedef struct yy_buffer_state* YY_BUFFER_STATE | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
| int yyleng |