#include <string>
Go to the source code of this file.
Classes | |
union | OCTAVE_TEX_STYPE |
Macros | |
#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 | OCTAVE_TEX_DEBUG 0 |
#define | OCTAVE_TEX_EMPTY -2 |
#define | OCTAVE_TEX_EOF 0 |
#define | OCTAVE_TEX_error 256 |
#define | OCTAVE_TEX_STYPE_IS_DECLARED 1 |
#define | OCTAVE_TEX_STYPE_IS_TRIVIAL 1 |
#define | OCTAVE_TEX_TOKENTYPE |
#define | OCTAVE_TEX_UNDEF 257 |
#define | RM 261 |
#define | SCRIPT 273 |
#define | SL 260 |
#define | START 266 |
#define | STR 274 |
#define | SUB 269 |
#define | SUPER 268 |
#define | SYM 272 |
Typedefs | |
typedef union OCTAVE_TEX_STYPE | OCTAVE_TEX_STYPE |
typedef enum octave_tex_tokentype | octave_tex_token_kind_t |
Enumerations | |
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) |
#define BF 258 |
Definition at line 95 of file oct-tex-parser.h.
#define CH 270 |
Definition at line 107 of file oct-tex-parser.h.
#define COLOR 264 |
Definition at line 101 of file oct-tex-parser.h.
#define COLOR_RGB 265 |
Definition at line 102 of file oct-tex-parser.h.
#define END 267 |
Definition at line 104 of file oct-tex-parser.h.
#define FONTNAME 262 |
Definition at line 99 of file oct-tex-parser.h.
#define FONTSIZE 263 |
Definition at line 100 of file oct-tex-parser.h.
#define IT 259 |
Definition at line 96 of file oct-tex-parser.h.
#define NUM 271 |
Definition at line 108 of file oct-tex-parser.h.
#define OCTAVE_TEX_DEBUG 0 |
Definition at line 49 of file oct-tex-parser.h.
#define OCTAVE_TEX_EMPTY -2 |
Definition at line 91 of file oct-tex-parser.h.
#define OCTAVE_TEX_EOF 0 |
Definition at line 92 of file oct-tex-parser.h.
#define OCTAVE_TEX_error 256 |
Definition at line 93 of file oct-tex-parser.h.
#define OCTAVE_TEX_STYPE_IS_DECLARED 1 |
Definition at line 136 of file oct-tex-parser.h.
#define OCTAVE_TEX_STYPE_IS_TRIVIAL 1 |
Definition at line 135 of file oct-tex-parser.h.
#define OCTAVE_TEX_TOKENTYPE |
Definition at line 63 of file oct-tex-parser.h.
#define OCTAVE_TEX_UNDEF 257 |
Definition at line 94 of file oct-tex-parser.h.
#define RM 261 |
Definition at line 98 of file oct-tex-parser.h.
#define SCRIPT 273 |
Definition at line 110 of file oct-tex-parser.h.
#define SL 260 |
Definition at line 97 of file oct-tex-parser.h.
#define START 266 |
Definition at line 103 of file oct-tex-parser.h.
#define STR 274 |
Definition at line 111 of file oct-tex-parser.h.
#define SUB 269 |
Definition at line 106 of file oct-tex-parser.h.
#define SUPER 268 |
Definition at line 105 of file oct-tex-parser.h.
#define SYM 272 |
Definition at line 109 of file oct-tex-parser.h.
typedef union OCTAVE_TEX_STYPE OCTAVE_TEX_STYPE |
Definition at line 1 of file oct-tex-parser.h.
typedef enum octave_tex_tokentype octave_tex_token_kind_t |
Definition at line 1 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 1123 of file oct-tex-parser.cc.
References octave::text_element_fontstyle::bold, octave::text_element_fontstyle::italic, octave::text_element_fontstyle::normal, octave::text_element_fontstyle::oblique, OCTAVE_TEX_EMPTY, OCTAVE_TEX_EOF, OCTAVE_TEX_error, OCTAVE_TEX_UNDEF, scanner, octave::text_parser_tex::set_parse_result(), 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, 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 octave::text_parser_tex::parse().