Go to the source code of this file.
Classes | |
union | OCTAVE_STYPE |
Macros | |
#define | OCTAVE_DEBUG 0 |
#define | OCTAVE_STYPE_IS_DECLARED 1 |
#define | OCTAVE_STYPE_IS_TRIVIAL 1 |
#define | OCTAVE_TOKENTYPE |
#define | YYPUSH_MORE_DEFINED |
Typedefs | |
typedef struct octave_pstate | octave_pstate |
typedef union OCTAVE_STYPE | OCTAVE_STYPE |
typedef enum octave_tokentype | octave_token_kind_t |
Enumerations | |
enum | { YYPUSH_MORE = 4 } |
enum | octave_tokentype { OCTAVE_EMPTY = -2 , OCTAVE_EOF = 0 , OCTAVE_error = 256 , OCTAVE_UNDEF = 257 , ADD_EQ = 258 , SUB_EQ = 259 , MUL_EQ = 260 , DIV_EQ = 261 , LEFTDIV_EQ = 262 , POW_EQ = 263 , EMUL_EQ = 264 , EDIV_EQ = 265 , ELEFTDIV_EQ = 266 , EPOW_EQ = 267 , AND_EQ = 268 , OR_EQ = 269 , EXPR_AND_AND = 270 , EXPR_OR_OR = 271 , EXPR_AND = 272 , EXPR_OR = 273 , EXPR_LT = 274 , EXPR_LE = 275 , EXPR_EQ = 276 , EXPR_NE = 277 , EXPR_GE = 278 , EXPR_GT = 279 , LEFTDIV = 280 , EMUL = 281 , EDIV = 282 , ELEFTDIV = 283 , HERMITIAN = 284 , TRANSPOSE = 285 , PLUS_PLUS = 286 , MINUS_MINUS = 287 , POW = 288 , EPOW = 289 , NUMBER = 290 , STRUCT_ELT = 291 , NAME = 292 , END = 293 , DQ_STRING = 294 , SQ_STRING = 295 , FOR = 296 , PARFOR = 297 , WHILE = 298 , DO = 299 , UNTIL = 300 , SPMD = 301 , IF = 302 , ELSEIF = 303 , ELSE = 304 , SWITCH = 305 , CASE = 306 , OTHERWISE = 307 , BREAK = 308 , CONTINUE = 309 , FUNC_RET = 310 , UNWIND = 311 , CLEANUP = 312 , TRY = 313 , CATCH = 314 , GLOBAL = 315 , PERSISTENT = 316 , FCN_HANDLE = 317 , CLASSDEF = 318 , PROPERTIES = 319 , METHODS = 320 , EVENTS = 321 , ENUMERATION = 322 , METAQUERY = 323 , SUPERCLASSREF = 324 , FQ_IDENT = 325 , GET = 326 , SET = 327 , FCN = 328 , ARGUMENTS = 329 , LEXICAL_ERROR = 330 , END_OF_INPUT = 331 , INPUT_FILE = 332 , UNARY = 333 } |
Functions | |
int | octave_parse (octave::base_parser &parser) |
void | octave_pstate_delete (octave_pstate *ps) |
octave_pstate * | octave_pstate_new (void) |
int | octave_pull_parse (octave_pstate *ps, octave::base_parser &parser) |
int | octave_push_parse (octave_pstate *ps, int pushed_char, OCTAVE_STYPE const *pushed_val, octave::base_parser &parser) |
#define OCTAVE_DEBUG 0 |
Definition at line 49 of file oct-parse.h.
#define OCTAVE_STYPE_IS_DECLARED 1 |
Definition at line 219 of file oct-parse.h.
#define OCTAVE_STYPE_IS_TRIVIAL 1 |
Definition at line 218 of file oct-parse.h.
#define OCTAVE_TOKENTYPE |
Definition at line 58 of file oct-parse.h.
#define YYPUSH_MORE_DEFINED |
Definition at line 226 of file oct-parse.h.
typedef struct octave_pstate octave_pstate |
Definition at line 1 of file oct-parse.h.
typedef union OCTAVE_STYPE OCTAVE_STYPE |
Definition at line 1 of file oct-parse.h.
typedef enum octave_tokentype octave_token_kind_t |
Definition at line 1 of file oct-parse.h.
anonymous enum |
Enumerator | |
---|---|
YYPUSH_MORE |
Definition at line 227 of file oct-parse.h.
enum octave_tokentype |
Definition at line 59 of file oct-parse.h.
int octave_parse | ( | octave::base_parser & | parser | ) |
Definition at line 3032 of file oct-parse.cc.
References YY_, yyerror, yypstate, yypstate_delete, yypstate_new, and yypull_parse.
void octave_pstate_delete | ( | octave_pstate * | ps | ) |
Definition at line 3102 of file oct-parse.cc.
References YYFREE, yyss, yyssa, and YYSTACK_FREE.
octave_pstate* octave_pstate_new | ( | void | ) |
Definition at line 3088 of file oct-parse.cc.
References YY_CAST, YY_NULLPTR, YYINITDEPTH, YYMALLOC, yypstate, yypstate_clear, yyss, yyssa, yystacksize, yyvs, and yyvsa.
int octave_pull_parse | ( | octave_pstate * | ps, |
octave::base_parser & | parser | ||
) |
Definition at line 3046 of file oct-parse.cc.
References scanner, YY_ASSERT, yylex, yylval, YYPUSH_MORE, yypush_parse, and YYSTYPE.
Referenced by parser::run().
int octave_push_parse | ( | octave_pstate * | ps, |
int | pushed_char, | ||
OCTAVE_STYPE const * | pushed_val, | ||
octave::base_parser & | parser | ||
) |
Definition at line 3123 of file oct-parse.cc.
References YY_INITIAL_VALUE, yylval, YYSTYPE, and YYSYMBOL_YYEMPTY.