Go to the source code of this file.
Macros | |
#define | m_scanner parser.get_scanner () |
#define | YY_(Msgid) Msgid |
#define | YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) |
Accessing symbol of state STATE. More... | |
#define | YY_ASSERT(E) ((void) (0 && (E))) |
#define | YY_ATTRIBUTE_PURE |
#define | YY_ATTRIBUTE_UNUSED |
#define | YY_CAST(Type, Val) ((Type) (Val)) |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
#define | YY_IGNORE_USELESS_CAST_BEGIN |
#define | YY_IGNORE_USELESS_CAST_END |
#define | YY_INITIAL_VALUE(Value) Value |
#define | YY_NULLPTR ((void*)0) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YY_REINTERPRET_CAST(Type, Val) ((Type) (Val)) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_SYMBOL_PRINT(Title, Kind, Value, Location) |
#define | YY_USE(E) ((void) (E)) |
#define | YYABORT goto yyabortlab |
#define | YYACCEPT goto yyacceptlab |
#define | yyalloc octave_tex_yyalloc |
#define | YYBACKUP(Token, Value) |
#define | YYBISON 30802 |
#define | YYBISON_VERSION "3.8.2" |
#define | yyclearin (yychar = OCTAVE_TEX_EMPTY) |
#define | YYCOPY(Dst, Src, Count) |
#define | YYCOPY_NEEDED 1 |
#define | yydebug octave_tex_debug |
#define | YYDEBUG 1 |
#define | YYDPRINTF(Args) ((void) 0) |
#define | YYERRCODE OCTAVE_TEX_UNDEF |
#define | yyerrok (yyerrstatus = 0) |
#define | yyerror octave_tex_error |
#define | YYERROR goto yyerrorlab |
#define | YYFINAL 43 |
#define | YYFREE free |
#define | YYINITDEPTH 200 |
#define | YYLAST 81 |
#define | yylex octave_tex_lex |
#define | YYMALLOC malloc |
#define | YYMAXDEPTH 10000 |
#define | YYMAXUTOK 274 |
#define | yynerrs octave_tex_nerrs |
#define | YYNNTS 14 |
#define | YYNOMEM goto yyexhaustedlab |
#define | YYNRULES 36 |
#define | YYNSTATES 55 |
#define | YYNTOKENS 20 |
#define | YYPACT_NINF (-4) |
#define | yypact_value_is_default(Yyn) ((Yyn) == YYPACT_NINF) |
#define | yyparse octave_tex_parse |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
#define | YYPTRDIFF_MAXIMUM LONG_MAX |
#define | YYPTRDIFF_T long |
#define | YYPULL 1 |
#define | YYPURE 1 |
#define | YYPUSH 0 |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYSIZE_MAXIMUM |
#define | YYSIZE_T unsigned |
#define | YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X)) |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | YYSTACK_BYTES(N) |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1) |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYSTYPE OCTAVE_TEX_STYPE |
#define | YYTABLE_NINF (-1) |
#define | yytable_value_is_error(Yyn) 0 |
#define | YYTRANSLATE(YYX) |
Typedefs | |
typedef int | yy_state_fast_t |
typedef yytype_int8 | yy_state_t |
typedef enum yysymbol_kind_t | yysymbol_kind_t |
typedef short | yytype_int16 |
typedef signed char | yytype_int8 |
typedef unsigned short | yytype_uint16 |
typedef unsigned char | yytype_uint8 |
Functions | |
void | free (void *) |
void * | malloc (unsigned) |
int | octave_tex_lex (OCTAVE_TEX_STYPE *, void *) |
The main scanner function which does all the work. More... | |
int | octave_tex_parse (octave::text_parser_tex &parser) |
#define m_scanner parser.get_scanner () |
Definition at line 93 of file oct-tex-parser.cc.
#define YY_ | ( | Msgid | ) | Msgid |
Definition at line 297 of file oct-tex-parser.cc.
#define YY_ACCESSING_SYMBOL | ( | State | ) | YY_CAST (yysymbol_kind_t, yystos[State]) |
#define YY_ASSERT | ( | E | ) | ((void) (0 && (E))) |
Definition at line 363 of file oct-tex-parser.cc.
#define YY_ATTRIBUTE_PURE |
Definition at line 306 of file oct-tex-parser.cc.
#define YY_ATTRIBUTE_UNUSED |
Definition at line 314 of file oct-tex-parser.cc.
#define YY_CAST | ( | Type, | |
Val | |||
) | ((Type) (Val)) |
Definition at line 113 of file oct-tex-parser.cc.
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 343 of file oct-tex-parser.cc.
#define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 344 of file oct-tex-parser.cc.
#define YY_IGNORE_USELESS_CAST_BEGIN |
Definition at line 358 of file oct-tex-parser.cc.
#define YY_IGNORE_USELESS_CAST_END |
Definition at line 359 of file oct-tex-parser.cc.
#define YY_INITIAL_VALUE | ( | Value | ) | Value |
Definition at line 340 of file oct-tex-parser.cc.
#define YY_NULLPTR ((void*)0) |
Definition at line 125 of file oct-tex-parser.cc.
#define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 858 of file oct-tex-parser.cc.
#define YY_REINTERPRET_CAST | ( | Type, | |
Val | |||
) | ((Type) (Val)) |
Definition at line 114 of file oct-tex-parser.cc.
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 857 of file oct-tex-parser.cc.
#define YY_SYMBOL_PRINT | ( | Title, | |
Kind, | |||
Value, | |||
Location | |||
) |
Definition at line 856 of file oct-tex-parser.cc.
#define YY_USE | ( | E | ) | ((void) (E)) |
Definition at line 320 of file oct-tex-parser.cc.
#define YYABORT goto yyabortlab |
Definition at line 705 of file oct-tex-parser.cc.
#define YYACCEPT goto yyacceptlab |
Definition at line 704 of file oct-tex-parser.cc.
#define yyalloc octave_tex_yyalloc |
Definition at line 94 of file oct-tex-parser.cc.
#define YYBACKUP | ( | Token, | |
Value | |||
) |
Definition at line 712 of file oct-tex-parser.cc.
#define YYBISON 30802 |
Definition at line 49 of file oct-tex-parser.cc.
#define YYBISON_VERSION "3.8.2" |
Definition at line 52 of file oct-tex-parser.cc.
#define yyclearin (yychar = OCTAVE_TEX_EMPTY) |
Definition at line 702 of file oct-tex-parser.cc.
#define YYCOPY | ( | Dst, | |
Src, | |||
Count | |||
) |
Definition at line 480 of file oct-tex-parser.cc.
#define YYCOPY_NEEDED 1 |
Definition at line 452 of file oct-tex-parser.cc.
#define yydebug octave_tex_debug |
Definition at line 72 of file oct-tex-parser.cc.
#define YYDEBUG 1 |
Definition at line 79 of file oct-tex-parser.cc.
#define YYDPRINTF | ( | Args | ) | ((void) 0) |
Definition at line 855 of file oct-tex-parser.cc.
#define YYERRCODE OCTAVE_TEX_UNDEF |
Definition at line 731 of file oct-tex-parser.cc.
#define yyerrok (yyerrstatus = 0) |
Definition at line 701 of file oct-tex-parser.cc.
#define yyerror octave_tex_error |
Definition at line 71 of file oct-tex-parser.cc.
#define YYERROR goto yyerrorlab |
Definition at line 706 of file oct-tex-parser.cc.
#define YYFINAL 43 |
Definition at line 493 of file oct-tex-parser.cc.
#define YYFREE free |
Definition at line 424 of file oct-tex-parser.cc.
#define YYINITDEPTH 200 |
Definition at line 864 of file oct-tex-parser.cc.
#define YYLAST 81 |
Definition at line 495 of file oct-tex-parser.cc.
#define yylex octave_tex_lex |
Definition at line 70 of file oct-tex-parser.cc.
#define YYMALLOC malloc |
Definition at line 418 of file oct-tex-parser.cc.
#define YYMAXDEPTH 10000 |
Definition at line 875 of file oct-tex-parser.cc.
#define YYMAXUTOK 274 |
Definition at line 507 of file oct-tex-parser.cc.
#define yynerrs octave_tex_nerrs |
Definition at line 73 of file oct-tex-parser.cc.
#define YYNNTS 14 |
Definition at line 500 of file oct-tex-parser.cc.
#define YYNOMEM goto yyexhaustedlab |
Definition at line 707 of file oct-tex-parser.cc.
#define YYNRULES 36 |
Definition at line 502 of file oct-tex-parser.cc.
#define YYNSTATES 55 |
Definition at line 504 of file oct-tex-parser.cc.
#define YYNTOKENS 20 |
Definition at line 498 of file oct-tex-parser.cc.
#define YYPACT_NINF (-4) |
Definition at line 590 of file oct-tex-parser.cc.
#define yypact_value_is_default | ( | Yyn | ) | ((Yyn) == YYPACT_NINF) |
Definition at line 592 of file oct-tex-parser.cc.
#define yyparse octave_tex_parse |
Definition at line 69 of file oct-tex-parser.cc.
#define YYPTRDIFF_MAXIMUM LONG_MAX |
Definition at line 257 of file oct-tex-parser.cc.
#define YYPTRDIFF_T long |
Definition at line 256 of file oct-tex-parser.cc.
#define YYPULL 1 |
Definition at line 64 of file oct-tex-parser.cc.
#define YYPURE 1 |
Definition at line 58 of file oct-tex-parser.cc.
#define YYPUSH 0 |
Definition at line 61 of file oct-tex-parser.cc.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 710 of file oct-tex-parser.cc.
#define YYSIZE_MAXIMUM |
Definition at line 274 of file oct-tex-parser.cc.
#define YYSIZE_T unsigned |
Definition at line 270 of file oct-tex-parser.cc.
#define YYSIZEOF | ( | X | ) | YY_CAST (YYPTRDIFF_T, sizeof (X)) |
Definition at line 280 of file oct-tex-parser.cc.
#define YYSKELETON_NAME "yacc.c" |
Definition at line 55 of file oct-tex-parser.cc.
#define YYSTACK_ALLOC YYMALLOC |
Definition at line 404 of file oct-tex-parser.cc.
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 407 of file oct-tex-parser.cc.
#define YYSTACK_BYTES | ( | N | ) |
Definition at line 448 of file oct-tex-parser.cc.
#define YYSTACK_FREE YYFREE |
Definition at line 405 of file oct-tex-parser.cc.
Definition at line 444 of file oct-tex-parser.cc.
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack | |||
) |
Definition at line 459 of file oct-tex-parser.cc.
#define YYSTYPE OCTAVE_TEX_STYPE |
Definition at line 67 of file oct-tex-parser.cc.
#define YYTABLE_NINF (-1) |
Definition at line 595 of file oct-tex-parser.cc.
#define yytable_value_is_error | ( | Yyn | ) | 0 |
Definition at line 597 of file oct-tex-parser.cc.
#define YYTRANSLATE | ( | YYX | ) |
Definition at line 512 of file oct-tex-parser.cc.
typedef int yy_state_fast_t |
Definition at line 287 of file oct-tex-parser.cc.
typedef yytype_int8 yy_state_t |
Definition at line 284 of file oct-tex-parser.cc.
typedef enum yysymbol_kind_t yysymbol_kind_t |
Definition at line 91 of file oct-tex-parser.cc.
typedef short yytype_int16 |
Definition at line 208 of file oct-tex-parser.cc.
typedef signed char yytype_int8 |
Definition at line 200 of file oct-tex-parser.cc.
typedef unsigned short yytype_uint16 |
Definition at line 240 of file oct-tex-parser.cc.
typedef unsigned char yytype_uint8 |
Definition at line 229 of file oct-tex-parser.cc.
anonymous enum |
Enumerator | |
---|---|
YYENOMEM |
Definition at line 699 of file oct-tex-parser.cc.
enum yysymbol_kind_t |
Definition at line 131 of file oct-tex-parser.cc.
void free | ( | void * | ) |
Referenced by regexp::~regexp(), base64_decode(), base64_decode_bytes(), octave::sys::canonicalize_file_name(), F__native2unicode__(), F__unicode2native__(), Famd(), Fbase64_encode(), Fcsymamd(), Ffftw(), fgets(), Fsymamd(), get_ASCII_filename(), getcwd(), octave_chdir_wrapper(), octave_destroy_glob_info_struct(), octave_execv_wrapper(), octave_free(), octave_free_signal_mask(), octave_getcwd_wrapper(), octave_lstat_wrapper(), octave_mkdir_wrapper(), octave_rmdir_wrapper(), octave_stat_wrapper(), octave_tex_free(), octave_unblock_child(), octave_unlink_wrapper(), octave::sys::readlink(), u8_from_wchar(), u8_to_wchar(), and octave::vasprintf().
void* malloc | ( | unsigned | ) |
int octave_tex_lex | ( | OCTAVE_TEX_STYPE * | yylval_param, |
void * | yyscanner | ||
) |
The main scanner function which does all the work.
Definition at line 1228 of file oct-tex-lexer.cc.
References YY_BUF_SIZE, yy_create_buffer, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_load_buffer_state, yyensure_buffer_stack, yyguts_t, yyin, yylval, and yyout.
int octave_tex_parse | ( | octave::text_parser_tex & | parser | ) |
Definition at line 1006 of file oct-tex-parser.cc.
References OCTAVE_TEX_EMPTY, YY_, YY_ASSERT, YY_CAST, YY_IGNORE_USELESS_CAST_BEGIN, YY_IGNORE_USELESS_CAST_END, YY_INITIAL_VALUE, YY_STACK_PRINT, YYABORT, YYACCEPT, yyalloc, YYDPRINTF, yyerrstatus, YYFINAL, YYINITDEPTH, yylval, YYMAXDEPTH, yynerrs, YYNOMEM, YYNSTATES, YYPTRDIFF_T, YYSIZE_T, YYSIZEOF, yyss, yyssa, yyssp, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystacksize, yystate, YYSTYPE, YYSYMBOL_YYEMPTY, yyvs, yyvsa, and yyvsp.
Referenced by text_parser_tex::parse().