
Go to the source code of this file.
Classes | |
| union | octave_tex_alloc |
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) |
| static void | octave_tex_error (octave::text_parser_tex &parser, const char *s) |
| 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) |
| static void | yydestruct (const char *yymsg, yysymbol_kind_t yykind, OCTAVE_TEX_STYPE *yyvaluep, octave::text_parser_tex &parser) |
Variables | |
| static const yytype_int8 | yycheck [] |
| static const yytype_int8 | yydefact [] |
| static const yytype_int8 | yydefgoto [] |
| static const yytype_int8 | yypact [] |
| static const yytype_int8 | yypgoto [] |
| static const yytype_int8 | yyr1 [] |
| static const yytype_int8 | yyr2 [] |
| static const yytype_int8 | yystos [] |
| static const yytype_int8 | yytable [] |
| static const yytype_int8 | yytranslate [] |
| #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(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::~sparse_qr_rep(), base64_decode(), base64_decode_bytes(), canonicalize_file_name(), file_editor_tab::check_valid_codec(), F__native2unicode__(), F__unicode2native__(), Famd(), Fbase64_encode(), Fcsymamd(), Ffftw(), fgets(), Fsymamd(), get_ASCII_filename(), getcwd(), octave_async_system_wrapper(), octave_chdir_wrapper(), octave_destroy_glob_info_struct(), octave_execv_wrapper(), octave_free(), octave_free_signal_mask(), octave_getcwd_wrapper(), octave_getopt_long_wrapper(), octave_lstat_wrapper(), octave_mkdir_wrapper(), octave_rmdir_wrapper(), octave_stat_wrapper(), octave_tex_free(), octave_unblock_child(), octave_unlink_wrapper(), read_mat5_binary_element(), readlink(), save_mat5_binary_element(), save_mat5_element_length(), u8_from_wchar(), u8_to_wchar(), vasprintf(), and xfree().
| void* malloc | ( | unsigned | ) |
|
static |
Definition at line 1656 of file oct-tex-parser.cc.
| 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 BEGIN, BF, CH, COLOR, COLOR_RGB, ECHO, END, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, FONTNAME, FONTSIZE, INITIAL, IT, MAYBE_NUM_MODE, NUM, NUM_MODE, RM, SL, START, SUB, SUPER, SYM, yy_accept, yy_base, YY_BREAK, YY_BUF_SIZE, YY_BUFFER_NEW, YY_BUFFER_NORMAL, yyguts_t::yy_c_buf_p, yy_chk, yy_create_buffer, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_def, yyguts_t::yy_did_buffer_switch_on_eof, YY_DO_BEFORE_ACTION, yy_ec, YY_END_OF_BUFFER, YY_FATAL_ERROR, yy_get_next_buffer(), yy_get_previous_state(), yyguts_t::yy_hold_char, yyguts_t::yy_init, yyguts_t::yy_last_accepting_cpos, yyguts_t::yy_last_accepting_state, yy_load_buffer_state, yy_meta, YY_MORE_ADJ, yyguts_t::yy_n_chars, YY_NEW_FILE, yy_nxt, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, YY_START, yyguts_t::yy_start, YY_STATE_EOF, yy_try_NUL_trans(), yyensure_buffer_stack, yyin, yyless, yylval, yyout, yyterminate, yytext, and yywrap.
| int octave_tex_parse | ( | octave::text_parser_tex & | parser | ) |
Definition at line 1006 of file oct-tex-parser.cc.
References m_scanner, OCTAVE_TEX_EMPTY, OCTAVE_TEX_EOF, OCTAVE_TEX_error, OCTAVE_TEX_UNDEF, YY_, YY_ACCESSING_SYMBOL, YY_ASSERT, YY_CAST, YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_IGNORE_USELESS_CAST_BEGIN, YY_IGNORE_USELESS_CAST_END, YY_INITIAL_VALUE, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yyalloc, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, yyerror, YYERROR, yyerrstatus, YYFINAL, YYINITDEPTH, YYLAST, yylex, yylval, YYMAXDEPTH, yynerrs, YYNOMEM, YYNSTATES, YYNTOKENS, yypact, yypact_value_is_default, yypgoto, YYPOPSTACK, YYPTRDIFF_T, yyr1, yyr2, YYSIZE_T, YYSIZEOF, yyss, yyssa, yyssp, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystacksize, yystate, YYSTYPE, YYSYMBOL_YYEMPTY, YYSYMBOL_YYEOF, YYSYMBOL_YYerror, yytable, yytable_value_is_error, YYTRANSLATE, yyvs, yyvsa, and yyvsp.
Referenced by text_parser_tex::parse().
|
static |
Definition at line 888 of file oct-tex-parser.cc.
References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_SYMBOL_PRINT, YY_USE, YYSYMBOL_CH, YYSYMBOL_color_element, YYSYMBOL_combined_script_element, YYSYMBOL_font_modifier_element, YYSYMBOL_fontname_element, YYSYMBOL_fontsize_element, YYSYMBOL_NUM, YYSYMBOL_scoped_string_element_list, YYSYMBOL_simple_string, YYSYMBOL_string_element, YYSYMBOL_string_element_list, YYSYMBOL_subscript_element, YYSYMBOL_superscript_element, YYSYMBOL_SYM, and YYSYMBOL_symbol_element.
Referenced by octave_tex_parse().
|
static |
Definition at line 655 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 615 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 633 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 602 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 626 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 681 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 690 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 670 of file oct-tex-parser.cc.
|
static |
Definition at line 642 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 519 of file oct-tex-parser.cc.