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_NOT = 274 , EXPR_LT = 275 , EXPR_LE = 276 , EXPR_EQ = 277 , EXPR_NE = 278 , EXPR_GE = 279 , EXPR_GT = 280 , LEFTDIV = 281 , EMUL = 282 , EDIV = 283 , ELEFTDIV = 284 , HERMITIAN = 285 , TRANSPOSE = 286 , PLUS_PLUS = 287 , MINUS_MINUS = 288 , POW = 289 , EPOW = 290 , NUMBER = 291 , STRUCT_ELT = 292 , NAME = 293 , END = 294 , DQ_STRING = 295 , SQ_STRING = 296 , FOR = 297 , PARFOR = 298 , WHILE = 299 , DO = 300 , UNTIL = 301 , SPMD = 302 , IF = 303 , ELSEIF = 304 , ELSE = 305 , SWITCH = 306 , CASE = 307 , OTHERWISE = 308 , BREAK = 309 , CONTINUE = 310 , FUNC_RET = 311 , UNWIND = 312 , CLEANUP = 313 , TRY = 314 , CATCH = 315 , GLOBAL = 316 , PERSISTENT = 317 , FCN_HANDLE = 318 , CLASSDEF = 319 , PROPERTIES = 320 , METHODS = 321 , EVENTS = 322 , ENUMERATION = 323 , METAQUERY = 324 , SUPERCLASSREF = 325 , FQ_IDENT = 326 , GET = 327 , SET = 328 , FCN = 329 , ARGUMENTS = 330 , LEXICAL_ERROR = 331 , END_OF_INPUT = 332 , INPUT_FILE = 333 , UNARY = 334 } |
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 220 of file oct-parse.h.
#define OCTAVE_STYPE_IS_TRIVIAL 1 |
Definition at line 219 of file oct-parse.h.
#define OCTAVE_TOKENTYPE |
Definition at line 58 of file oct-parse.h.
#define YYPUSH_MORE_DEFINED |
Definition at line 227 of file oct-parse.h.
typedef struct octave_pstate octave_pstate |
Definition at line 231 of file oct-parse.h.
typedef union OCTAVE_STYPE OCTAVE_STYPE |
Definition at line 218 of file oct-parse.h.
typedef enum octave_tokentype octave_token_kind_t |
Definition at line 143 of file oct-parse.h.
anonymous enum |
Enumerator | |
---|---|
YYPUSH_MORE |
Definition at line 228 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 3036 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 3106 of file oct-parse.cc.
References YYFREE, yyss, yyssa, and YYSTACK_FREE.
octave_pstate * octave_pstate_new | ( | void | ) |
Definition at line 3092 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 3050 of file oct-parse.cc.
References scanner, YY_ASSERT, yylex, yylval, YYPUSH_MORE, yypush_parse, and YYSTYPE.
Referenced by octave::parser::run().
int octave_push_parse | ( | octave_pstate * | ps, |
int | pushed_char, | ||
OCTAVE_STYPE const * | pushed_val, | ||
octave::base_parser & | parser | ||
) |
Definition at line 3127 of file oct-parse.cc.
References ADD_EQ, AND_EQ, octave::base_parser::append_args_validation_list(), octave::base_parser::append_argument_list(), octave::base_parser::append_cell_row(), octave::base_parser::append_classdef_attribute(), octave::base_parser::append_classdef_enum(), octave::base_parser::append_classdef_enum_block(), octave::base_parser::append_classdef_event(), octave::base_parser::append_classdef_events_block(), octave::base_parser::append_classdef_method(), octave::base_parser::append_classdef_methods_block(), octave::base_parser::append_classdef_properties_block(), octave::base_parser::append_classdef_property(), octave::base_parser::append_classdef_superclass(), octave::base_parser::append_decl_init_list(), octave::base_parser::append_function_body(), octave::base_parser::append_if_clause(), octave::base_parser::append_matrix_row(), octave::base_parser::append_parameter_list(), octave::base_parser::append_statement_list(), octave::base_parser::append_switch_case(), octave::base_parser::bison_error(), DIV_EQ, octave::tree_classdef_property::doc_string(), EDIV, EDIV_EQ, ELEFTDIV, ELEFTDIV_EQ, EMUL, EMUL_EQ, octave::base_parser::end_token_error(), octave::base_parser::end_token_ok(), octave::base_parser::endfunction_found(), EPOW, EPOW_EQ, EXPR_AND, EXPR_AND_AND, EXPR_EQ, EXPR_GE, EXPR_GT, EXPR_LE, EXPR_LT, EXPR_NE, EXPR_NOT, EXPR_OR, EXPR_OR_OR, octave::base_parser::finish_cell(), octave::base_parser::finish_classdef_external_method(), octave::base_parser::finish_classdef_file(), octave::base_parser::finish_if_command(), octave::base_parser::finish_input(), octave::base_parser::finish_matrix(), octave::base_parser::finish_switch_command(), FOR, octave::base_list< elt_type >::front(), octave::token::function_end, GLOBAL, octave::tree_classdef_property::have_doc_string(), HERMITIAN, octave::tree_parameter_list::in, octave::comment_elt::is_end_of_line(), LEFTDIV, LEFTDIV_EQ, lexer, octave::base_parser::make_anon_fcn_handle(), octave::base_parser::make_arg_size_spec(), octave::base_parser::make_arg_validation(), octave::base_parser::make_arg_validation_fcns(), octave::base_parser::make_args_attribute_list(), octave::base_parser::make_args_validation_list(), octave::base_parser::make_argument_list(), octave::base_parser::make_arguments_block(), octave::base_parser::make_assign_op(), octave::base_parser::make_binary_op(), octave::base_parser::make_black_hole(), octave::base_parser::make_boolean_op(), octave::base_parser::make_break_command(), octave::base_parser::make_cell(), octave::base_parser::make_classdef(), octave::base_parser::make_classdef_attribute(), octave::base_parser::make_classdef_attribute_list(), octave::base_parser::make_classdef_body(), octave::base_parser::make_classdef_enum(), octave::base_parser::make_classdef_enum_block(), octave::base_parser::make_classdef_enum_list(), octave::base_parser::make_classdef_event(), octave::base_parser::make_classdef_events_block(), octave::base_parser::make_classdef_events_list(), octave::base_parser::make_classdef_methods_block(), octave::base_parser::make_classdef_methods_list(), octave::base_parser::make_classdef_properties_block(), octave::base_parser::make_classdef_property(), octave::base_parser::make_classdef_property_list(), octave::base_parser::make_classdef_superclass(), octave::base_parser::make_classdef_superclass_list(), octave::base_parser::make_colon_expression(), octave::base_parser::make_constant(), octave::base_parser::make_continue_command(), octave::base_parser::make_decl_command(), octave::base_parser::make_decl_elt(), octave::base_parser::make_decl_init_list(), octave::base_parser::make_default_switch_case(), octave::base_parser::make_do_until_command(), octave::base_parser::make_else_clause(), octave::base_parser::make_elseif_clause(), octave::base_parser::make_end(), octave::base_parser::make_fcn_handle(), octave::base_parser::make_fcn_name(), octave::base_parser::make_for_command(), octave::base_parser::make_function(), octave::base_parser::make_identifier(), octave::base_parser::make_index_expression(), octave::base_parser::make_indirect_ref(), octave::base_parser::make_matrix(), octave::base_parser::make_metaclass_query(), octave::base_parser::make_not_classdef_attribute(), octave::base_parser::make_parameter_list(), octave::base_parser::make_postfix_op(), octave::base_parser::make_prefix_op(), octave::base_parser::make_return_command(), octave::base_parser::make_script(), octave::base_parser::make_spmd_command(), octave::base_parser::make_statement(), octave::base_parser::make_statement_list(), octave::base_parser::make_superclass_ref(), octave::base_parser::make_switch_case(), octave::base_parser::make_switch_case_list(), octave::base_parser::make_try_command(), octave::base_parser::make_unwind_command(), octave::base_parser::make_while_command(), MINUS_MINUS, MUL_EQ, OCTAVE_EMPTY, OCTAVE_EOF, OCTAVE_error, OCTAVE_UNDEF, OCTAVE_YYUSE, OR_EQ, octave::tree_parameter_list::out, PARFOR, octave::base_parser::parsing_local_functions(), PERSISTENT, PLUS_PLUS, POW, POW_EQ, octave::base_parser::push_fcn_symtab(), octave::base_parser::set_stmt_print_flag(), octave::base_parser::start_classdef_external_method(), octave::base_parser::start_if_command(), SUB_EQ, octave::comment_elt::text(), TRANSPOSE, octave::base_parser::validate_array_list(), octave::base_parser::validate_matrix_for_assignment(), octave::base_parser::validate_param_list(), octave::base_parser::validate_primary_fcn(), 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, YYLAST, yylval, YYMAXDEPTH, yynerrs, YYNOMEM, YYNSTATES, YYNTOKENS, yypact, yypact_value_is_default, yypgoto, YYPOPSTACK, yypstate_clear, YYPTRDIFF_T, YYPUSH_MORE, 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, and yyvsp.
Referenced by octave::push_parser::run().