|
GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|

Go to the source code of this file.
Classes | |
| union | yyalloc |
Macros | |
| #define | _Noreturn YY_ATTRIBUTE ((__noreturn__)) |
| #define | BF 258 |
| #define | CH 270 |
| #define | COLOR 264 |
| #define | COLOR_RGB 265 |
| #define | END 267 |
| #define | FONTNAME 262 |
| #define | FONTSIZE 263 |
| #define | IT 259 |
| #define | NUM 271 |
| #define | RM 261 |
| #define | scanner parser.get_scanner () |
| #define | SCRIPT 273 |
| #define | SL 260 |
| #define | START 266 |
| #define | STR 274 |
| #define | SUB 269 |
| #define | SUPER 268 |
| #define | SYM 272 |
| #define | YY_(Msgid) Msgid |
| #define | YY_ATTRIBUTE(Spec) /* empty */ |
| #define | YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
| #define | YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
| #define | YY_INITIAL_VALUE(Value) Value |
| #define | YY_NULLPTR 0 |
| #define | YY_OCTAVE_TEX_COREFCN_OCT_TEX_PARSER_H_INCLUDED |
| #define | YY_REDUCE_PRINT(Rule) |
| #define | YY_STACK_PRINT(Bottom, Top) |
| #define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
| #define | YYABORT goto yyabortlab |
| #define | YYACCEPT goto yyacceptlab |
| #define | YYBACKUP(Token, Value) |
| #define | YYBISON 1 |
| #define | YYBISON_VERSION "3.0.2" |
| #define | yyclearin (yychar = YYEMPTY) |
| #define | YYCOPY(Dst, Src, Count) |
| #define | YYCOPY_NEEDED 1 |
| #define | yydebug octave_tex_debug |
| #define | YYDEBUG 1 |
| #define | YYDPRINTF(Args) |
| #define | YYEMPTY (-2) |
| #define | YYEOF 0 |
| #define | YYERRCODE 256 |
| #define | yyerrok (yyerrstatus = 0) |
| #define | yyerror octave_tex_error |
| #define | YYERROR goto yyerrorlab |
| #define | YYERROR_VERBOSE 0 |
| #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 | YYNRULES 36 |
| #define | YYNSTATES 55 |
| #define | YYNTOKENS 20 |
| #define | YYPACT_NINF -4 |
| #define | yypact_value_is_default(Yystate) (!!((Yystate) == (-4))) |
| #define | yyparse octave_tex_parse |
| #define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
| #define | YYPULL 1 |
| #define | YYPURE 1 |
| #define | YYPUSH 0 |
| #define | YYRECOVERING() (!!yyerrstatus) |
| #define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
| #define | YYSIZE_T size_t |
| #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 (sizeof (union yyalloc) - 1) |
| #define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
| #define | YYSTYPE OCTAVE_TEX_STYPE |
| #define | YYTABLE_NINF -1 |
| #define | yytable_value_is_error(Yytable_value) 0 |
| #define | YYTERROR 1 |
| #define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
| #define | YYUNDEFTOK 2 |
| #define | YYUSE(E) ((void) (E)) |
Typedefs | |
| typedef short int | yytype_int16 |
| typedef signed char | yytype_int8 |
| typedef unsigned short int | yytype_uint16 |
| typedef unsigned char | yytype_uint8 |
Functions | |
| void | free (void *) |
| void * | malloc (size_t) |
| static void | octave_tex_error (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 (text_parser_tex &parser) |
| static void | yydestruct (const char *yymsg, int yytype, OCTAVE_TEX_STYPE *yyvaluep, text_parser_tex &parser) |
Variables | |
| static const yytype_int8 | yycheck [] |
| static const yytype_uint8 | yydefact [] |
| static const yytype_int8 | yydefgoto [] |
| static const yytype_int8 | yypact [] |
| static const yytype_int8 | yypgoto [] |
| static const yytype_uint8 | yyr1 [] |
| static const yytype_uint8 | yyr2 [] |
| static const yytype_uint8 | yystos [] |
| static const yytype_uint8 | yytable [] |
| static const yytype_uint8 | yytranslate [] |
| #define _Noreturn YY_ATTRIBUTE ((__noreturn__)) |
Definition at line 296 of file oct-tex-parser.cc.
| #define BF 258 |
Definition at line 165 of file oct-tex-parser.cc.
| #define CH 270 |
Definition at line 177 of file oct-tex-parser.cc.
| #define COLOR 264 |
Definition at line 171 of file oct-tex-parser.cc.
| #define COLOR_RGB 265 |
Definition at line 172 of file oct-tex-parser.cc.
| #define END 267 |
Definition at line 174 of file oct-tex-parser.cc.
Referenced by octave_base_lexer::display_token(), and octave_tex_lex().
| #define FONTNAME 262 |
Definition at line 169 of file oct-tex-parser.cc.
| #define FONTSIZE 263 |
Definition at line 170 of file oct-tex-parser.cc.
| #define IT 259 |
Definition at line 166 of file oct-tex-parser.cc.
| #define NUM 271 |
Definition at line 178 of file oct-tex-parser.cc.
Referenced by octave_base_lexer::display_token(), octave_base_lexer::handle_number(), octave_lex(), and octave_tex_lex().
| #define RM 261 |
Definition at line 168 of file oct-tex-parser.cc.
| #define scanner parser.get_scanner () |
Definition at line 95 of file oct-tex-parser.cc.
Referenced by text_parser_tex::get_scanner(), and octave_tex_parse().
| #define SCRIPT 273 |
Definition at line 180 of file oct-tex-parser.cc.
| #define SL 260 |
Definition at line 167 of file oct-tex-parser.cc.
| #define START 266 |
Definition at line 173 of file oct-tex-parser.cc.
| #define STR 274 |
Definition at line 181 of file oct-tex-parser.cc.
| #define SUB 269 |
Definition at line 176 of file oct-tex-parser.cc.
| #define SUPER 268 |
Definition at line 175 of file oct-tex-parser.cc.
| #define SYM 272 |
Definition at line 179 of file oct-tex-parser.cc.
| #define YY_ | ( | Msgid | ) | Msgid |
Definition at line 269 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YY_ATTRIBUTE | ( | Spec | ) | /* empty */ |
Definition at line 279 of file oct-tex-parser.cc.
| #define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
Definition at line 284 of file oct-tex-parser.cc.
| #define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
Definition at line 288 of file oct-tex-parser.cc.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 319 of file oct-tex-parser.cc.
Referenced by octave_tex_parse(), and yydestruct().
| #define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 320 of file oct-tex-parser.cc.
Referenced by octave_tex_parse(), and yydestruct().
| #define YY_INITIAL_VALUE | ( | Value | ) | Value |
Definition at line 316 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YY_NULLPTR 0 |
Definition at line 103 of file oct-tex-parser.cc.
| #define YY_OCTAVE_TEX_COREFCN_OCT_TEX_PARSER_H_INCLUDED |
Definition at line 118 of file oct-tex-parser.cc.
| #define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 818 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YY_STACK_PRINT | ( | Bottom, | |
| Top | |||
| ) |
Definition at line 817 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YY_SYMBOL_PRINT | ( | Title, | |
| Type, | |||
| Value, | |||
| Location | |||
| ) |
Definition at line 816 of file oct-tex-parser.cc.
Referenced by octave_tex_parse(), and yydestruct().
| #define YYABORT goto yyabortlab |
Definition at line 662 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYACCEPT goto yyacceptlab |
Definition at line 661 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYBACKUP | ( | Token, | |
| Value | |||
| ) |
Definition at line 668 of file oct-tex-parser.cc.
| #define YYBISON 1 |
Definition at line 44 of file oct-tex-parser.cc.
| #define YYBISON_VERSION "3.0.2" |
Definition at line 47 of file oct-tex-parser.cc.
| #define yyclearin (yychar = YYEMPTY) |
Definition at line 657 of file oct-tex-parser.cc.
| #define YYCOPY | ( | Dst, | |
| Src, | |||
| Count | |||
| ) |
Definition at line 443 of file oct-tex-parser.cc.
| #define YYCOPY_NEEDED 1 |
Definition at line 415 of file oct-tex-parser.cc.
| #define yydebug octave_tex_debug |
Definition at line 67 of file oct-tex-parser.cc.
| #define YYDEBUG 1 |
Definition at line 74 of file oct-tex-parser.cc.
| #define YYDPRINTF | ( | Args | ) |
Definition at line 815 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYEMPTY (-2) |
Definition at line 658 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYEOF 0 |
Definition at line 659 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYERRCODE 256 |
Definition at line 687 of file oct-tex-parser.cc.
| #define yyerrok (yyerrstatus = 0) |
Definition at line 656 of file oct-tex-parser.cc.
| #define yyerror octave_tex_error |
Definition at line 66 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYERROR goto yyerrorlab |
Definition at line 663 of file oct-tex-parser.cc.
| #define YYERROR_VERBOSE 0 |
Definition at line 112 of file oct-tex-parser.cc.
| #define YYFINAL 43 |
Definition at line 456 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYFREE free |
Definition at line 386 of file oct-tex-parser.cc.
| #define YYINITDEPTH 200 |
Definition at line 824 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYLAST 81 |
Definition at line 458 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define yylex octave_tex_lex |
Definition at line 65 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYMALLOC malloc |
Definition at line 380 of file oct-tex-parser.cc.
| #define YYMAXDEPTH 10000 |
Definition at line 835 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYMAXUTOK 274 |
Definition at line 472 of file oct-tex-parser.cc.
| #define yynerrs octave_tex_nerrs |
Definition at line 68 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYNNTS 14 |
Definition at line 463 of file oct-tex-parser.cc.
| #define YYNRULES 36 |
Definition at line 465 of file oct-tex-parser.cc.
| #define YYNSTATES 55 |
Definition at line 467 of file oct-tex-parser.cc.
| #define YYNTOKENS 20 |
Definition at line 461 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYPACT_NINF -4 |
Definition at line 547 of file oct-tex-parser.cc.
| #define yypact_value_is_default | ( | Yystate | ) | (!!((Yystate) == (-4))) |
Definition at line 549 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define yyparse octave_tex_parse |
Definition at line 64 of file oct-tex-parser.cc.
| #define YYPULL 1 |
Definition at line 59 of file oct-tex-parser.cc.
| #define YYPURE 1 |
Definition at line 53 of file oct-tex-parser.cc.
| #define YYPUSH 0 |
Definition at line 56 of file oct-tex-parser.cc.
| #define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 666 of file oct-tex-parser.cc.
| #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
Definition at line 259 of file oct-tex-parser.cc.
| #define YYSIZE_T size_t |
Definition at line 253 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYSKELETON_NAME "yacc.c" |
Definition at line 50 of file oct-tex-parser.cc.
| #define YYSTACK_ALLOC YYMALLOC |
Definition at line 366 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 369 of file oct-tex-parser.cc.
| #define YYSTACK_BYTES | ( | N | ) |
| #define YYSTACK_FREE YYFREE |
Definition at line 367 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 407 of file oct-tex-parser.cc.
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack | |||
| ) |
Definition at line 422 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYSTYPE OCTAVE_TEX_STYPE |
Definition at line 62 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYTABLE_NINF -1 |
Definition at line 552 of file oct-tex-parser.cc.
| #define yytable_value_is_error | ( | Yytable_value | ) | 0 |
Definition at line 554 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYTERROR 1 |
Definition at line 686 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 474 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
| #define YYUNDEFTOK 2 |
Definition at line 471 of file oct-tex-parser.cc.
| #define YYUSE | ( | E | ) | ((void) (E)) |
Definition at line 302 of file oct-tex-parser.cc.
Referenced by yydestruct().
| typedef short int yytype_int16 |
Definition at line 243 of file oct-tex-parser.cc.
| typedef signed char yytype_int8 |
Definition at line 231 of file oct-tex-parser.cc.
| typedef unsigned short int yytype_uint16 |
Definition at line 237 of file oct-tex-parser.cc.
| typedef unsigned char yytype_uint8 |
Definition at line 225 of file oct-tex-parser.cc.
| void free | ( | void * | ) |
| void* malloc | ( | size_t | ) |
Referenced by Gamd(), mxArray::malloc(), mex::malloc_unmarked(), mxMalloc(), octave_alloc(), octave_fgets(), octave_putenv(), and octave_tex_alloc().
|
static |
Definition at line 1851 of file oct-tex-parser.cc.
| int octave_tex_lex | ( | OCTAVE_TEX_STYPE * | , |
| void * | |||
| ) |
The main scanner function which does all the work.
Definition at line 1015 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, octave_tex__create_buffer(), octave_tex__load_buffer_state(), octave_tex_ensure_buffer_stack(), octave_tex_wrap, 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_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_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(), yyin, yyless, yylval, yyout, yyterminate, and yytext.
| int octave_tex_parse | ( | text_parser_tex & | parser | ) |
Definition at line 1182 of file oct-tex-parser.cc.
References text_element_fontstyle::bold, text_element_fontstyle::italic, text_element_fontstyle::normal, text_element_fontstyle::oblique, scanner, text_parser_tex::set_parse_result(), YY_, YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_INITIAL_VALUE, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, yyerror, yyerrstatus, YYFINAL, YYINITDEPTH, YYLAST, yylex, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact, yypact_value_is_default, yypgoto, YYPOPSTACK, yyr1, yyr2, YYSIZE_T, yyss, yyalloc::yyss_alloc, yyssa, yyssp, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystacksize, yystate, yystos, YYSTYPE, yytable, yytable_value_is_error, YYTERROR, YYTRANSLATE, yyvs, yyalloc::yyvs_alloc, yyvsa, and yyvsp.
Referenced by text_parser_tex::parse().
|
static |
Definition at line 1066 of file oct-tex-parser.cc.
References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_SYMBOL_PRINT, and YYUSE.
Referenced by octave_tex_parse().
|
static |
Definition at line 612 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 572 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 590 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 559 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 583 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 638 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 647 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 627 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 599 of file oct-tex-parser.cc.
Referenced by octave_tex_parse().
|
static |
Definition at line 479 of file oct-tex-parser.cc.
1.8.8