GNU Octave
3.8.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 | __attribute__(Spec) /* empty */ |
#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_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
#define | YY_INITIAL_VALUE(Value) = Value |
#define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
#define | YY_NULL 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 "2.7.12-4996" |
#define | yychar octave_tex_char |
#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 | YYFAIL goto yyerrlab |
#define | YYFINAL 43 |
#define | YYFREE free |
#define | YYID(N) (N) |
#define | YYINITDEPTH 200 |
#define | YYLAST 81 |
#define | yylex octave_tex_lex |
#define | YYLEX yylex (&yylval, scanner) |
#define | yylval octave_tex_lval |
#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 unsigned int |
#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 | YYTABLE_NINF -1 |
#define | yytable_value_is_error(Yytable_value) YYID (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 short int | yytype_int8 |
typedef unsigned short int | yytype_uint16 |
typedef unsigned char | yytype_uint8 |
Functions | |
if (!yymsg) yymsg | |
static void | octave_tex_error (text_parser_tex &parser, const char *s) |
int | octave_tex_lex (YYSTYPE *, void *) |
The main scanner function which does all the work. | |
int | octave_tex_parse () |
int | octave_tex_parse (parser) text_parser_tex &parser |
switch (yytype) | |
() | void (yyvaluep)) |
() | void (parser)) |
static void | yydestruct (yymsg, yytype, yyvaluep, parser) const char *yymsg |
Variables | |
text_parser_tex & | parser |
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 [] |
int | yytype |
YYSTYPE * | yyvaluep |
#define __attribute__ | ( | Spec | ) | /* empty */ |
Definition at line 294 of file oct-tex-parser.cc.
#define BF 258 |
Definition at line 162 of file oct-tex-parser.cc.
#define CH 270 |
Definition at line 174 of file oct-tex-parser.cc.
#define COLOR 264 |
Definition at line 168 of file oct-tex-parser.cc.
#define COLOR_RGB 265 |
Definition at line 169 of file oct-tex-parser.cc.
#define END 267 |
Definition at line 171 of file oct-tex-parser.cc.
Referenced by octave_base_lexer::display_token(), and octave_tex_lex().
#define FONTNAME 262 |
Definition at line 166 of file oct-tex-parser.cc.
#define FONTSIZE 263 |
Definition at line 167 of file oct-tex-parser.cc.
#define IT 259 |
Definition at line 163 of file oct-tex-parser.cc.
#define NUM 271 |
Definition at line 175 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 165 of file oct-tex-parser.cc.
#define scanner parser.get_scanner () |
Definition at line 96 of file oct-tex-parser.cc.
Referenced by text_parser_tex::get_scanner().
#define SCRIPT 273 |
Definition at line 177 of file oct-tex-parser.cc.
#define SL 260 |
Definition at line 164 of file oct-tex-parser.cc.
#define START 266 |
Definition at line 170 of file oct-tex-parser.cc.
#define STR 274 |
Definition at line 178 of file oct-tex-parser.cc.
#define SUB 269 |
Definition at line 173 of file oct-tex-parser.cc.
#define SUPER 268 |
Definition at line 172 of file oct-tex-parser.cc.
#define SYM 272 |
Definition at line 176 of file oct-tex-parser.cc.
#define YY_ | ( | Msgid | ) | Msgid |
Definition at line 286 of file oct-tex-parser.cc.
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
#define YY_IGNORE_MAYBE_UNINITIALIZED_END |
#define YY_INITIAL_VALUE | ( | Value | ) | = Value |
#define YY_LOCATION_PRINT | ( | File, | |
Loc | |||
) | ((void) 0) |
Definition at line 727 of file oct-tex-parser.cc.
#define YY_NULL 0 |
Definition at line 105 of file oct-tex-parser.cc.
#define YY_OCTAVE_TEX_COREFCN_OCT_TEX_PARSER_H_INCLUDED |
Definition at line 120 of file oct-tex-parser.cc.
#define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 900 of file oct-tex-parser.cc.
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 899 of file oct-tex-parser.cc.
#define YY_SYMBOL_PRINT | ( | Title, | |
Type, | |||
Value, | |||
Location | |||
) |
Definition at line 898 of file oct-tex-parser.cc.
#define YYABORT goto yyabortlab |
Definition at line 682 of file oct-tex-parser.cc.
#define YYACCEPT goto yyacceptlab |
Definition at line 681 of file oct-tex-parser.cc.
#define YYBACKUP | ( | Token, | |
Value | |||
) |
#define YYBISON 1 |
Definition at line 44 of file oct-tex-parser.cc.
#define YYBISON_VERSION "2.7.12-4996" |
Definition at line 47 of file oct-tex-parser.cc.
#define yychar octave_tex_char |
Definition at line 67 of file oct-tex-parser.cc.
Definition at line 677 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 68 of file oct-tex-parser.cc.
#define YYDEBUG 1 |
Definition at line 75 of file oct-tex-parser.cc.
#define YYDPRINTF | ( | Args | ) |
Definition at line 897 of file oct-tex-parser.cc.
#define YYEMPTY (-2) |
Definition at line 678 of file oct-tex-parser.cc.
#define YYEOF 0 |
Definition at line 679 of file oct-tex-parser.cc.
#define YYERRCODE 256 |
Definition at line 722 of file oct-tex-parser.cc.
#define yyerrok (yyerrstatus = 0) |
Definition at line 676 of file oct-tex-parser.cc.
#define yyerror octave_tex_error |
Definition at line 65 of file oct-tex-parser.cc.
#define YYERROR goto yyerrorlab |
Definition at line 683 of file oct-tex-parser.cc.
#define YYERROR_VERBOSE 0 |
Definition at line 114 of file oct-tex-parser.cc.
#define YYFAIL goto yyerrlab |
Definition at line 693 of file oct-tex-parser.cc.
#define YYFINAL 43 |
Definition at line 456 of file oct-tex-parser.cc.
#define YYFREE free |
Definition at line 385 of file oct-tex-parser.cc.
Definition at line 308 of file oct-tex-parser.cc.
#define YYINITDEPTH 200 |
Definition at line 906 of file oct-tex-parser.cc.
#define YYLAST 81 |
Definition at line 458 of file oct-tex-parser.cc.
#define yylex octave_tex_lex |
Definition at line 64 of file oct-tex-parser.cc.
Definition at line 735 of file oct-tex-parser.cc.
#define yylval octave_tex_lval |
Definition at line 66 of file oct-tex-parser.cc.
#define YYMALLOC malloc |
Definition at line 378 of file oct-tex-parser.cc.
#define YYMAXDEPTH 10000 |
Definition at line 917 of file oct-tex-parser.cc.
#define YYMAXUTOK 274 |
Definition at line 471 of file oct-tex-parser.cc.
#define yynerrs octave_tex_nerrs |
Definition at line 69 of file oct-tex-parser.cc.
#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.
#define YYPACT_NINF -4 |
Definition at line 610 of file oct-tex-parser.cc.
#define yypact_value_is_default | ( | Yystate | ) | (!!((Yystate) == (-4))) |
Definition at line 645 of file oct-tex-parser.cc.
#define yyparse octave_tex_parse |
Definition at line 63 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 701 of file oct-tex-parser.cc.
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
Definition at line 276 of file oct-tex-parser.cc.
#define YYSIZE_T unsigned int |
Definition at line 272 of file oct-tex-parser.cc.
#define YYSKELETON_NAME "yacc.c" |
Definition at line 50 of file oct-tex-parser.cc.
#define YYSTACK_ALLOC YYMALLOC |
Definition at line 364 of file oct-tex-parser.cc.
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 367 of file oct-tex-parser.cc.
#define YYSTACK_BYTES | ( | N | ) |
Definition at line 411 of file oct-tex-parser.cc.
#define YYSTACK_FREE YYFREE |
Definition at line 365 of file oct-tex-parser.cc.
#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.
#define YYTABLE_NINF -1 |
Definition at line 631 of file oct-tex-parser.cc.
#define yytable_value_is_error | ( | Yytable_value | ) | YYID (0) |
Definition at line 648 of file oct-tex-parser.cc.
#define YYTERROR 1 |
Definition at line 721 of file oct-tex-parser.cc.
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 473 of file oct-tex-parser.cc.
#define YYUNDEFTOK 2 |
Definition at line 470 of file oct-tex-parser.cc.
#define YYUSE | ( | E | ) | ((void) (E)) |
Definition at line 300 of file oct-tex-parser.cc.
typedef short int yytype_int16 |
Definition at line 259 of file oct-tex-parser.cc.
typedef short int yytype_int8 |
Definition at line 247 of file oct-tex-parser.cc.
typedef unsigned short int yytype_uint16 |
Definition at line 253 of file oct-tex-parser.cc.
typedef unsigned char yytype_uint8 |
Definition at line 238 of file oct-tex-parser.cc.
if | ( | ! | yymsg | ) |
Referenced by load_path::do_files().
|
static |
The main scanner function which does all the work.
Definition at line 1003 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 | ( | ) |
switch | ( | yytype | ) |
Definition at line 1187 of file oct-tex-parser.cc.
() void | ( | yyvaluep | ) |
() void | ( | parser | ) |
Definition at line 1177 of file oct-tex-parser.cc.
Referenced by main_loop(), and text_parser::parse().
|
static |
Definition at line 651 of file oct-tex-parser.cc.
|
static |
Definition at line 591 of file oct-tex-parser.cc.
|
static |
Definition at line 602 of file oct-tex-parser.cc.
|
static |
Definition at line 611 of file oct-tex-parser.cc.
|
static |
Definition at line 622 of file oct-tex-parser.cc.
|
static |
Definition at line 571 of file oct-tex-parser.cc.
|
static |
Definition at line 580 of file oct-tex-parser.cc.
|
static |
Definition at line 666 of file oct-tex-parser.cc.
|
static |
Definition at line 632 of file oct-tex-parser.cc.
|
static |
Definition at line 477 of file oct-tex-parser.cc.
int yytype |
Definition at line 1175 of file oct-tex-parser.cc.
YYSTYPE * yyvaluep |
Definition at line 1176 of file oct-tex-parser.cc.