#include <string>Go to the source code of this file.
Classes | |
| union | OCTAVE_TEX_STYPE |
Macros | |
| #define | OCTAVE_TEX_DEBUG 0 |
| #define | OCTAVE_TEX_STYPE_IS_DECLARED 1 |
| #define | OCTAVE_TEX_STYPE_IS_TRIVIAL 1 |
| #define | OCTAVE_TEX_TOKENTYPE |
| #define | YYPUSH_MORE_DEFINED |
Typedefs | |
| typedef struct octave_tex_pstate | octave_tex_pstate |
| typedef union OCTAVE_TEX_STYPE | OCTAVE_TEX_STYPE |
| typedef enum octave_tex_tokentype | octave_tex_token_kind_t |
Enumerations | |
| enum | { YYPUSH_MORE = 4 } |
| enum | octave_tex_tokentype { OCTAVE_TEX_EMPTY = -2 , OCTAVE_TEX_EOF = 0 , OCTAVE_TEX_error = 256 , OCTAVE_TEX_UNDEF = 257 , BF = 258 , IT = 259 , SL = 260 , RM = 261 , FONTNAME = 262 , FONTSIZE = 263 , COLOR = 264 , COLOR_RGB = 265 , START = 266 , END = 267 , SUPER = 268 , SUB = 269 , CH = 270 , NUM = 271 , SYM = 272 , SCRIPT = 273 , STR = 274 } |
Functions | |
| int | octave_tex_parse (octave::text_parser_tex &parser) |
| void | octave_tex_pstate_delete (octave_tex_pstate *ps) |
| octave_tex_pstate * | octave_tex_pstate_new (void) |
| int | octave_tex_pull_parse (octave_tex_pstate *ps, octave::text_parser_tex &parser) |
| int | octave_tex_push_parse (octave_tex_pstate *ps, int pushed_char, OCTAVE_TEX_STYPE const *pushed_val, octave::text_parser_tex &parser) |
| #define OCTAVE_TEX_DEBUG 0 |
Definition at line 49 of file oct-tex-parser.h.
| #define OCTAVE_TEX_STYPE_IS_DECLARED 1 |
Definition at line 114 of file oct-tex-parser.h.
| #define OCTAVE_TEX_STYPE_IS_TRIVIAL 1 |
Definition at line 113 of file oct-tex-parser.h.
| #define OCTAVE_TEX_TOKENTYPE |
Definition at line 63 of file oct-tex-parser.h.
| #define YYPUSH_MORE_DEFINED |
Definition at line 121 of file oct-tex-parser.h.
| typedef struct octave_tex_pstate octave_tex_pstate |
Definition at line 125 of file oct-tex-parser.h.
| typedef union OCTAVE_TEX_STYPE OCTAVE_TEX_STYPE |
Definition at line 112 of file oct-tex-parser.h.
| typedef enum octave_tex_tokentype octave_tex_token_kind_t |
Definition at line 88 of file oct-tex-parser.h.
| anonymous enum |
| Enumerator | |
|---|---|
| YYPUSH_MORE | |
Definition at line 122 of file oct-tex-parser.h.
| enum octave_tex_tokentype |
| Enumerator | |
|---|---|
| OCTAVE_TEX_EMPTY | |
| OCTAVE_TEX_EOF | |
| OCTAVE_TEX_error | |
| OCTAVE_TEX_UNDEF | |
| BF | |
| IT | |
| SL | |
| RM | |
| FONTNAME | |
| FONTSIZE | |
| COLOR | |
| COLOR_RGB | |
| START | |
| END | |
| SUPER | |
| SUB | |
| CH | |
| NUM | |
| SYM | |
| SCRIPT | |
| STR | |
Definition at line 64 of file oct-tex-parser.h.
| int octave_tex_parse | ( | octave::text_parser_tex & | parser | ) |
Definition at line 1012 of file oct-tex-parser.cc.
References YY_, yyerror, yypstate, yypstate_delete, yypstate_new, and yypull_parse.
Referenced by text_parser_tex::parse().
| void octave_tex_pstate_delete | ( | octave_tex_pstate * | ps | ) |
Definition at line 1082 of file oct-tex-parser.cc.
References YYFREE, yyss, yyssa, and YYSTACK_FREE.
| octave_tex_pstate * octave_tex_pstate_new | ( | void | ) |
Definition at line 1068 of file oct-tex-parser.cc.
References YY_CAST, YY_NULLPTR, YYINITDEPTH, YYMALLOC, yypstate, yypstate_clear, yyss, yyssa, yystacksize, yyvs, and yyvsa.
| int octave_tex_pull_parse | ( | octave_tex_pstate * | ps, |
| octave::text_parser_tex & | parser | ||
| ) |
Definition at line 1026 of file oct-tex-parser.cc.
References m_scanner, YY_ASSERT, yylex, yylval, YYPUSH_MORE, yypush_parse, and YYSTYPE.
| int octave_tex_push_parse | ( | octave_tex_pstate * | ps, |
| int | pushed_char, | ||
| OCTAVE_TEX_STYPE const * | pushed_val, | ||
| octave::text_parser_tex & | parser | ||
| ) |
Definition at line 1103 of file oct-tex-parser.cc.
References 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, YYDPRINTF, yyerror, YYERROR, yyerrstatus, YYFINAL, YYLAST, yylval, YYMAXDEPTH, yynerrs, YYNOMEM, YYNSTATES, YYNTOKENS, yypact_value_is_default, YYPOPSTACK, yypstate_clear, YYPTRDIFF_T, YYPUSH_MORE, YYSIZE_T, YYSIZEOF, yyss, yyssa, yyssp, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystacksize, yystate, YYSTYPE, YYSYMBOL_YYEMPTY, YYSYMBOL_YYEOF, YYSYMBOL_YYerror, yytable_value_is_error, YYTRANSLATE, yyvs, and yyvsp.