GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-parse.cc File Reference
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <map>
#include <sstream>
#include "Matrix.h"
#include "cmd-edit.h"
#include "cmd-hist.h"
#include "file-ops.h"
#include "file-stat.h"
#include "oct-env.h"
#include "oct-time.h"
#include "quit.h"
#include "Cell.h"
#include "anon-fcn-validator.h"
#include "builtin-defun-decls.h"
#include "defun.h"
#include "dynamic-ld.h"
#include "error.h"
#include "input.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "lex.h"
#include "load-path.h"
#include "lo-sysdep.h"
#include "oct-hist.h"
#include "oct-map.h"
#include "ov-classdef.h"
#include "ov-fcn-handle.h"
#include "ov-usr-fcn.h"
#include "ov-null-mat.h"
#include "pager.h"
#include "parse.h"
#include "pt-all.h"
#include "pt-eval.h"
#include "symtab.h"
#include "token.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include "oct-parse.h"
#include <limits.h>
Include dependency graph for oct-parse.cc:

Go to the source code of this file.

Classes

union  octave_alloc
 
struct  octave_pstate
 

Namespaces

 octave
 

Macros

#define ADD_EQ   258
 
#define AND_EQ   268
 
#define BREAK   311
 
#define CASE   309
 
#define CATCH   317
 
#define CLASSDEF   321
 
#define CLEANUP   315
 
#define CONTINUE   312
 
#define DIV_EQ   261
 
#define DO   303
 
#define DQ_STRING   298
 
#define EDIV   283
 
#define EDIV_EQ   265
 
#define ELEFTDIV   284
 
#define ELEFTDIV_EQ   266
 
#define ELSE   307
 
#define ELSEIF   306
 
#define EMINUS   286
 
#define EMUL   282
 
#define EMUL_EQ   264
 
#define END   297
 
#define END_OF_INPUT   333
 
#define ENUMERATION   325
 
#define EPLUS   285
 
#define EPOW   292
 
#define EPOW_EQ   267
 
#define EVENTS   324
 
#define EXPR_AND   272
 
#define EXPR_AND_AND   270
 
#define EXPR_EQ   277
 
#define EXPR_GE   279
 
#define EXPR_GT   280
 
#define EXPR_LE   276
 
#define EXPR_LT   275
 
#define EXPR_NE   278
 
#define EXPR_NOT   274
 
#define EXPR_OR   273
 
#define EXPR_OR_OR   271
 
#define FCN   331
 
#define FCN_HANDLE   320
 
#define FOR   300
 
#define FQ_IDENT   328
 
#define FUNC_RET   313
 
#define GET   329
 
#define GLOBAL   318
 
#define HERMITIAN   287
 
#define IF   305
 
#define IMAG_NUM   294
 
#define INPUT_FILE   334
 
#define LEFTDIV   281
 
#define LEFTDIV_EQ   262
 
#define lexer   (parser.get_lexer ())
 
#define LEXICAL_ERROR   332
 
#define METAQUERY   326
 
#define METHODS   323
 
#define MINUS_MINUS   290
 
#define MUL_EQ   260
 
#define NAME   296
 
#define NUM   293
 
#define OCTAVE_EMPTY   -2
 
#define OCTAVE_EOF   0
 
#define OCTAVE_error   256
 
#define octave_nerrs   yyps->octave_nerrs
 
#define OCTAVE_UNDEF   257
 
#define OCTAVE_YYUSE(X)
 
#define OR_EQ   269
 
#define OTHERWISE   310
 
#define PARFOR   301
 
#define PERSISTENT   319
 
#define PLUS_PLUS   289
 
#define POW   291
 
#define POW_EQ   263
 
#define PROPERTIES   322
 
#define scanner   lexer.m_scanner
 
#define SET   330
 
#define SQ_STRING   299
 
#define STRUCT_ELT   295
 
#define SUB_EQ   259
 
#define SUPERCLASSREF   327
 
#define SWITCH   308
 
#define TRANSPOSE   288
 
#define TRY   316
 
#define UNARY   335
 
#define UNTIL   304
 
#define UNWIND   314
 
#define WHILE   302
 
#define YY_(Msgid)   Msgid
 
#define YY_ACCESSING_SYMBOL(State)   YY_CAST (yysymbol_kind_t, yystos[State])
 Accessing symbol of state STATE. More...
 
#define YY_ASSERT(E)   ((void) (0 && (E)))
 
#define YY_ATTRIBUTE_PURE
 
#define YY_ATTRIBUTE_UNUSED
 
#define YY_CAST(Type, Val)   ((Type) (Val))
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
 
#define YY_IGNORE_USELESS_CAST_BEGIN
 
#define YY_IGNORE_USELESS_CAST_END
 
#define YY_INITIAL_VALUE(Value)   Value
 
#define YY_NULLPTR   ((void*)0)
 
#define YY_OCTAVE_LIBINTERP_PARSE_TREE_OCT_PARSE_H_INCLUDED
 
#define YY_REDUCE_PRINT(Rule)
 
#define YY_REINTERPRET_CAST(Type, Val)   ((Type) (Val))
 
#define YY_STACK_PRINT(Bottom, Top)
 
#define YY_SYMBOL_PRINT(Title, Kind, Value, Location)
 
#define YY_USE(E)   ((void) (E))
 
#define YYABORT   goto yyabortlab
 
#define YYACCEPT   goto yyacceptlab
 
#define YYBACKUP(Token, Value)
 
#define YYBISON   30705
 
#define YYBISON_VERSION   "3.7.5"
 
#define yyclearin   (yychar = OCTAVE_EMPTY)
 
#define YYCOPY(Dst, Src, Count)
 
#define YYCOPY_NEEDED   1
 
#define yydebug   octave_debug
 
#define YYDEBUG   1
 
#define YYDPRINTF(Args)   ((void) 0)
 
#define YYERRCODE   OCTAVE_UNDEF
 
#define yyerrok   (yyerrstatus = 0)
 
#define yyerror   octave_error
 
#define YYERROR   goto yyerrorlab
 
#define yyerrstatus   yyps->yyerrstatus
 
#define YYFINAL   106
 
#define YYFREE   free
 
#define YYINITDEPTH   200
 
#define YYLAST   1588
 
#define yylex   octave_lex
 
#define YYMALLOC   malloc
 
#define YYMAXDEPTH   10000
 
#define YYMAXUTOK   335
 
#define yynerrs   octave_nerrs
 
#define YYNNTS   113
 
#define YYNRULES   290
 
#define YYNSTATES   529
 
#define YYNTOKENS   98
 
#define YYPACT_NINF   (-385)
 
#define yypact_value_is_default(Yyn)    ((Yyn) == YYPACT_NINF)
 
#define yyparse   octave_parse
 
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 
#define yypstate   octave_pstate
 
#define yypstate_clear   octave_pstate_clear
 
#define yypstate_delete   octave_pstate_delete
 
#define yypstate_new   octave_pstate_new
 
#define YYPTRDIFF_MAXIMUM   LONG_MAX
 
#define YYPTRDIFF_T   long
 
#define YYPULL   1
 
#define yypull_parse   octave_pull_parse
 
#define YYPURE   1
 
#define YYPUSH   1
 
#define yypush_parse   octave_push_parse
 
#define YYRECOVERING()   (!!yyerrstatus)
 
#define YYSIZE_MAXIMUM
 
#define YYSIZE_T   unsigned
 
#define YYSIZEOF(X)   YY_CAST (YYPTRDIFF_T, sizeof (X))
 
#define YYSKELETON_NAME   "yacc.c"
 
#define yyss   yyps->yyss
 
#define yyssa   yyps->yyssa
 
#define yyssp   yyps->yyssp
 
#define YYSTACK_ALLOC   YYMALLOC
 
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
 
#define YYSTACK_BYTES(N)
 
#define YYSTACK_FREE   YYFREE
 
#define YYSTACK_GAP_MAXIMUM   (YYSIZEOF (union yyalloc) - 1)
 
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
 
#define yystacksize   yyps->yystacksize
 
#define yystate   yyps->yystate
 
#define YYSTYPE   OCTAVE_STYPE
 
#define YYTABLE_NINF   (-291)
 
#define yytable_value_is_error(Yyn)    0
 
#define YYTRANSLATE(YYX)
 
#define yyvs   yyps->yyvs
 
#define yyvsa   yyps->yyvsa
 
#define yyvsp   yyps->yyvsp
 

Typedefs

typedef struct octave_pstate octave_pstate
 
typedef int yy_state_fast_t
 
typedef yytype_int16 yy_state_t
 
typedef enum yysymbol_kind_t yysymbol_kind_t
 
typedef short yytype_int16
 
typedef signed char yytype_int8
 
typedef unsigned short yytype_uint16
 
typedef unsigned char yytype_uint8
 

Enumerations

enum  { YYENOMEM = -2 }
 
enum  yysymbol_kind_t {
  YYSYMBOL_YYEMPTY = -2 , YYSYMBOL_YYEOF = 0 , YYSYMBOL_YYerror = 1 , YYSYMBOL_YYUNDEF = 2 ,
  YYSYMBOL_BF = 3 , YYSYMBOL_IT = 4 , YYSYMBOL_SL = 5 , YYSYMBOL_RM = 6 ,
  YYSYMBOL_FONTNAME = 7 , YYSYMBOL_FONTSIZE = 8 , YYSYMBOL_COLOR = 9 , YYSYMBOL_COLOR_RGB = 10 ,
  YYSYMBOL_START = 11 , YYSYMBOL_END = 12 , YYSYMBOL_SUPER = 13 , YYSYMBOL_SUB = 14 ,
  YYSYMBOL_CH = 15 , YYSYMBOL_NUM = 16 , YYSYMBOL_SYM = 17 , YYSYMBOL_SCRIPT = 18 ,
  YYSYMBOL_STR = 19 , YYSYMBOL_YYACCEPT = 20 , YYSYMBOL_simple_string = 21 , YYSYMBOL_symbol_element = 22 ,
  YYSYMBOL_font_modifier_element = 23 , YYSYMBOL_fontsize_element = 24 , YYSYMBOL_fontname_element = 25 , YYSYMBOL_color_element = 26 ,
  YYSYMBOL_string_element = 27 , YYSYMBOL_superscript_element = 28 , YYSYMBOL_subscript_element = 29 , YYSYMBOL_combined_script_element = 30 ,
  YYSYMBOL_string_element_list = 31 , YYSYMBOL_scoped_string_element_list = 32 , YYSYMBOL_string = 33 , YYSYMBOL_YYEMPTY = -2 ,
  YYSYMBOL_YYEOF = 0 , YYSYMBOL_YYerror = 1 , YYSYMBOL_YYUNDEF = 2 , YYSYMBOL_3_ = 3 ,
  YYSYMBOL_4_ = 4 , YYSYMBOL_5_ = 5 , YYSYMBOL_6_ = 6 , YYSYMBOL_7_ = 7 ,
  YYSYMBOL_8_ = 8 , YYSYMBOL_9_ = 9 , YYSYMBOL_10_ = 10 , YYSYMBOL_11_ = 11 ,
  YYSYMBOL_12_ = 12 , YYSYMBOL_13_ = 13 , YYSYMBOL_14_ = 14 , YYSYMBOL_15_ = 15 ,
  YYSYMBOL_16_ = 16 , YYSYMBOL_17_ = 17 , YYSYMBOL_18_ = 18 , YYSYMBOL_19_n_ = 19 ,
  YYSYMBOL_ADD_EQ = 20 , YYSYMBOL_SUB_EQ = 21 , YYSYMBOL_MUL_EQ = 22 , YYSYMBOL_DIV_EQ = 23 ,
  YYSYMBOL_LEFTDIV_EQ = 24 , YYSYMBOL_POW_EQ = 25 , YYSYMBOL_EMUL_EQ = 26 , YYSYMBOL_EDIV_EQ = 27 ,
  YYSYMBOL_ELEFTDIV_EQ = 28 , YYSYMBOL_EPOW_EQ = 29 , YYSYMBOL_AND_EQ = 30 , YYSYMBOL_OR_EQ = 31 ,
  YYSYMBOL_EXPR_AND_AND = 32 , YYSYMBOL_EXPR_OR_OR = 33 , YYSYMBOL_EXPR_AND = 34 , YYSYMBOL_EXPR_OR = 35 ,
  YYSYMBOL_EXPR_NOT = 36 , YYSYMBOL_EXPR_LT = 37 , YYSYMBOL_EXPR_LE = 38 , YYSYMBOL_EXPR_EQ = 39 ,
  YYSYMBOL_EXPR_NE = 40 , YYSYMBOL_EXPR_GE = 41 , YYSYMBOL_EXPR_GT = 42 , YYSYMBOL_LEFTDIV = 43 ,
  YYSYMBOL_EMUL = 44 , YYSYMBOL_EDIV = 45 , YYSYMBOL_ELEFTDIV = 46 , YYSYMBOL_EPLUS = 47 ,
  YYSYMBOL_EMINUS = 48 , YYSYMBOL_HERMITIAN = 49 , YYSYMBOL_TRANSPOSE = 50 , YYSYMBOL_PLUS_PLUS = 51 ,
  YYSYMBOL_MINUS_MINUS = 52 , YYSYMBOL_POW = 53 , YYSYMBOL_EPOW = 54 , YYSYMBOL_NUM = 55 ,
  YYSYMBOL_IMAG_NUM = 56 , YYSYMBOL_STRUCT_ELT = 57 , YYSYMBOL_NAME = 58 , YYSYMBOL_END = 59 ,
  YYSYMBOL_DQ_STRING = 60 , YYSYMBOL_SQ_STRING = 61 , YYSYMBOL_FOR = 62 , YYSYMBOL_PARFOR = 63 ,
  YYSYMBOL_WHILE = 64 , YYSYMBOL_DO = 65 , YYSYMBOL_UNTIL = 66 , YYSYMBOL_IF = 67 ,
  YYSYMBOL_ELSEIF = 68 , YYSYMBOL_ELSE = 69 , YYSYMBOL_SWITCH = 70 , YYSYMBOL_CASE = 71 ,
  YYSYMBOL_OTHERWISE = 72 , YYSYMBOL_BREAK = 73 , YYSYMBOL_CONTINUE = 74 , YYSYMBOL_FUNC_RET = 75 ,
  YYSYMBOL_UNWIND = 76 , YYSYMBOL_CLEANUP = 77 , YYSYMBOL_TRY = 78 , YYSYMBOL_CATCH = 79 ,
  YYSYMBOL_GLOBAL = 80 , YYSYMBOL_PERSISTENT = 81 , YYSYMBOL_FCN_HANDLE = 82 , YYSYMBOL_CLASSDEF = 83 ,
  YYSYMBOL_PROPERTIES = 84 , YYSYMBOL_METHODS = 85 , YYSYMBOL_EVENTS = 86 , YYSYMBOL_ENUMERATION = 87 ,
  YYSYMBOL_METAQUERY = 88 , YYSYMBOL_SUPERCLASSREF = 89 , YYSYMBOL_FQ_IDENT = 90 , YYSYMBOL_GET = 91 ,
  YYSYMBOL_SET = 92 , YYSYMBOL_FCN = 93 , YYSYMBOL_LEXICAL_ERROR = 94 , YYSYMBOL_END_OF_INPUT = 95 ,
  YYSYMBOL_INPUT_FILE = 96 , YYSYMBOL_UNARY = 97 , YYSYMBOL_YYACCEPT = 98 , YYSYMBOL_input = 99 ,
  YYSYMBOL_simple_list = 100 , YYSYMBOL_simple_list1 = 101 , YYSYMBOL_opt_list = 102 , YYSYMBOL_list = 103 ,
  YYSYMBOL_list1 = 104 , YYSYMBOL_opt_fcn_list = 105 , YYSYMBOL_fcn_list = 106 , YYSYMBOL_fcn_list1 = 107 ,
  YYSYMBOL_statement = 108 , YYSYMBOL_word_list_cmd = 109 , YYSYMBOL_word_list = 110 , YYSYMBOL_identifier = 111 ,
  YYSYMBOL_superclass_identifier = 112 , YYSYMBOL_meta_identifier = 113 , YYSYMBOL_string = 114 , YYSYMBOL_constant = 115 ,
  YYSYMBOL_matrix = 116 , YYSYMBOL_matrix_rows = 117 , YYSYMBOL_cell = 118 , YYSYMBOL_cell_rows = 119 ,
  YYSYMBOL_cell_or_matrix_row = 120 , YYSYMBOL_fcn_handle = 121 , YYSYMBOL_anon_fcn_handle = 122 , YYSYMBOL_primary_expr = 123 ,
  YYSYMBOL_magic_colon = 124 , YYSYMBOL_magic_tilde = 125 , YYSYMBOL_arg_list = 126 , YYSYMBOL_indirect_ref_op = 127 ,
  YYSYMBOL_oper_expr = 128 , YYSYMBOL_power_expr = 129 , YYSYMBOL_colon_expr = 130 , YYSYMBOL_simple_expr = 131 ,
  YYSYMBOL_assign_lhs = 132 , YYSYMBOL_assign_expr = 133 , YYSYMBOL_expression = 134 , YYSYMBOL_command = 135 ,
  YYSYMBOL_declaration = 136 , YYSYMBOL_decl1 = 137 , YYSYMBOL_decl_param_init = 138 , YYSYMBOL_decl2 = 139 ,
  YYSYMBOL_select_command = 140 , YYSYMBOL_if_command = 141 , YYSYMBOL_if_cmd_list = 142 , YYSYMBOL_if_cmd_list1 = 143 ,
  YYSYMBOL_elseif_clause = 144 , YYSYMBOL_else_clause = 145 , YYSYMBOL_switch_command = 146 , YYSYMBOL_case_list = 147 ,
  YYSYMBOL_case_list1 = 148 , YYSYMBOL_switch_case = 149 , YYSYMBOL_default_case = 150 , YYSYMBOL_loop_command = 151 ,
  YYSYMBOL_jump_command = 152 , YYSYMBOL_except_command = 153 , YYSYMBOL_push_fcn_symtab = 154 , YYSYMBOL_param_list_beg = 155 ,
  YYSYMBOL_param_list_end = 156 , YYSYMBOL_opt_param_list = 157 , YYSYMBOL_param_list = 158 , YYSYMBOL_param_list1 = 159 ,
  YYSYMBOL_param_list2 = 160 , YYSYMBOL_param_list_elt = 161 , YYSYMBOL_return_list = 162 , YYSYMBOL_return_list1 = 163 ,
  YYSYMBOL_parsing_local_fcns = 164 , YYSYMBOL_push_script_symtab = 165 , YYSYMBOL_begin_file = 166 , YYSYMBOL_file = 167 ,
  YYSYMBOL_function_beg = 168 , YYSYMBOL_fcn_name = 169 , YYSYMBOL_function_end = 170 , YYSYMBOL_function = 171 ,
  YYSYMBOL_classdef_beg = 172 , YYSYMBOL_classdef = 173 , YYSYMBOL_attr_list = 174 , YYSYMBOL_attr_list1 = 175 ,
  YYSYMBOL_attr = 176 , YYSYMBOL_superclass_list = 177 , YYSYMBOL_superclass_list1 = 178 , YYSYMBOL_superclass = 179 ,
  YYSYMBOL_class_body = 180 , YYSYMBOL_class_body1 = 181 , YYSYMBOL_properties_block = 182 , YYSYMBOL_property_list = 183 ,
  YYSYMBOL_property_list1 = 184 , YYSYMBOL_class_property = 185 , YYSYMBOL_methods_block = 186 , YYSYMBOL_method_decl1 = 187 ,
  YYSYMBOL_method_decl = 188 , YYSYMBOL_189_1 = 189 , YYSYMBOL_method = 190 , YYSYMBOL_methods_list = 191 ,
  YYSYMBOL_methods_list1 = 192 , YYSYMBOL_events_block = 193 , YYSYMBOL_events_list = 194 , YYSYMBOL_events_list1 = 195 ,
  YYSYMBOL_class_event = 196 , YYSYMBOL_enum_block = 197 , YYSYMBOL_enum_list = 198 , YYSYMBOL_enum_list1 = 199 ,
  YYSYMBOL_class_enum = 200 , YYSYMBOL_stmt_begin = 201 , YYSYMBOL_anon_fcn_begin = 202 , YYSYMBOL_stash_comment = 203 ,
  YYSYMBOL_parse_error = 204 , YYSYMBOL_sep_no_nl = 205 , YYSYMBOL_opt_sep_no_nl = 206 , YYSYMBOL_opt_nl = 207 ,
  YYSYMBOL_nl = 208 , YYSYMBOL_sep = 209 , YYSYMBOL_opt_sep = 210
}
 

Functions

void octave::cleanup_statement_list (tree_statement_list **lst)
 
static std::string octave::end_token_as_string (token::end_tok_type ettype)
 
octave_value octave::eval_string (const std::string &eval_str, bool silent, int &parse_status)
 
octave_value_list octave::eval_string (const std::string &eval_str, bool silent, int &parse_status, int nargout)
 
OCTAVE_EXPORT octave_value_list F__parse_file__ (octave::interpreter &interp, const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list F__parser_debug_flag__ (const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Fassignin (octave::interpreter &interp, const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fautoload (octave::interpreter &interp, const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fbuiltin (octave::interpreter &interp, const octave_value_list &args, int nargout)
 
octave_value_list octave::feval (const char *name, const octave_value_list &args, int nargout)
 Evaluate an Octave function (built-in or interpreted) and return the list of result values. More...
 
octave_value_list octave::feval (const octave_value &val, const octave_value_list &args, int nargout)
 
octave_value_list octave::feval (const octave_value_list &args, int nargout)
 
octave_value_list octave::feval (const std::string &name, const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Feval (octave::interpreter &interp, const octave_value_list &args, int nargout)
 
octave_value_list octave::feval (octave_function *fcn, const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Fevalc (octave::interpreter &interp, const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Fevalin (octave::interpreter &interp, const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Ffeval (octave::interpreter &interp, const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Fmfilename (octave::interpreter &interp, const octave_value_list &args, int)
 
void free (void *)
 
OCTAVE_EXPORT octave_value_list Fsource (octave::interpreter &interp, const octave_value_list &args, int)
 
static std::string octave::get_file_line (const std::string &name, int line)
 
std::string octave::get_help_from_file (const std::string &nm, bool &symbol_found)
 
std::string octave::get_help_from_file (const std::string &nm, bool &symbol_found, std::string &full_file)
 
octave_value octave::load_fcn_from_file (const std::string &file_name, const std::string &dir_name, const std::string &dispatch_type, const std::string &package_name, const std::string &fcn_name, bool autoload)
 
void * malloc (unsigned)
 
static void octave_error (octave::base_parser &parser, const char *s)
 
int octave_lex (OCTAVE_STYPE *, void *)
 The main scanner function which does all the work. More...
 
int octave_parse (octave::base_parser &parser)
 
static void octave_pstate_clear (octave_pstate *yyps)
 
void octave_pstate_delete (octave_pstate *ps)
 
octave_pstateoctave_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)
 
octave_value octave::parse_fcn_file (interpreter &interp, const std::string &full_file, const std::string &file, const std::string &dir_name, const std::string &dispatch_type, const std::string &package_name, bool require_file, bool force_script, bool autoload, bool relative_lookup)
 
void octave::source_file (const std::string &file_name, const std::string &context, bool verbose, bool require_file)
 
static void yydestruct (const char *yymsg, yysymbol_kind_t yykind, OCTAVE_STYPE *yyvaluep, octave::base_parser &parser)
 

Variables

static const yytype_int16 yycheck []
 
static const yytype_int16 yydefact []
 
static const yytype_int16 yydefgoto []
 
static const yytype_int16 yypact []
 
static const yytype_int16 yypgoto []
 
static const yytype_uint8 yyr1 []
 
static const yytype_int8 yyr2 []
 
static const yytype_uint8 yystos []
 
static const yytype_int16 yytable []
 
static const yytype_int8 yytranslate []
 

Macro Definition Documentation

◆ ADD_EQ

#define ADD_EQ   258

Definition at line 305 of file oct-parse.cc.

◆ AND_EQ

#define AND_EQ   268

Definition at line 315 of file oct-parse.cc.

◆ BREAK

#define BREAK   311

Definition at line 358 of file oct-parse.cc.

◆ CASE

#define CASE   309

Definition at line 356 of file oct-parse.cc.

◆ CATCH

#define CATCH   317

Definition at line 364 of file oct-parse.cc.

◆ CLASSDEF

#define CLASSDEF   321

Definition at line 368 of file oct-parse.cc.

◆ CLEANUP

#define CLEANUP   315

Definition at line 362 of file oct-parse.cc.

◆ CONTINUE

#define CONTINUE   312

Definition at line 359 of file oct-parse.cc.

◆ DIV_EQ

#define DIV_EQ   261

Definition at line 308 of file oct-parse.cc.

◆ DO

#define DO   303

Definition at line 350 of file oct-parse.cc.

◆ DQ_STRING

#define DQ_STRING   298

Definition at line 345 of file oct-parse.cc.

◆ EDIV

#define EDIV   283

Definition at line 330 of file oct-parse.cc.

◆ EDIV_EQ

#define EDIV_EQ   265

Definition at line 312 of file oct-parse.cc.

◆ ELEFTDIV

#define ELEFTDIV   284

Definition at line 331 of file oct-parse.cc.

◆ ELEFTDIV_EQ

#define ELEFTDIV_EQ   266

Definition at line 313 of file oct-parse.cc.

◆ ELSE

#define ELSE   307

Definition at line 354 of file oct-parse.cc.

◆ ELSEIF

#define ELSEIF   306

Definition at line 353 of file oct-parse.cc.

◆ EMINUS

#define EMINUS   286

Definition at line 333 of file oct-parse.cc.

◆ EMUL

#define EMUL   282

Definition at line 329 of file oct-parse.cc.

◆ EMUL_EQ

#define EMUL_EQ   264

Definition at line 311 of file oct-parse.cc.

◆ END

#define END   297

Definition at line 344 of file oct-parse.cc.

◆ END_OF_INPUT

#define END_OF_INPUT   333

Definition at line 380 of file oct-parse.cc.

◆ ENUMERATION

#define ENUMERATION   325

Definition at line 372 of file oct-parse.cc.

◆ EPLUS

#define EPLUS   285

Definition at line 332 of file oct-parse.cc.

◆ EPOW

#define EPOW   292

Definition at line 339 of file oct-parse.cc.

◆ EPOW_EQ

#define EPOW_EQ   267

Definition at line 314 of file oct-parse.cc.

◆ EVENTS

#define EVENTS   324

Definition at line 371 of file oct-parse.cc.

◆ EXPR_AND

#define EXPR_AND   272

Definition at line 319 of file oct-parse.cc.

◆ EXPR_AND_AND

#define EXPR_AND_AND   270

Definition at line 317 of file oct-parse.cc.

◆ EXPR_EQ

#define EXPR_EQ   277

Definition at line 324 of file oct-parse.cc.

◆ EXPR_GE

#define EXPR_GE   279

Definition at line 326 of file oct-parse.cc.

◆ EXPR_GT

#define EXPR_GT   280

Definition at line 327 of file oct-parse.cc.

◆ EXPR_LE

#define EXPR_LE   276

Definition at line 323 of file oct-parse.cc.

◆ EXPR_LT

#define EXPR_LT   275

Definition at line 322 of file oct-parse.cc.

◆ EXPR_NE

#define EXPR_NE   278

Definition at line 325 of file oct-parse.cc.

◆ EXPR_NOT

#define EXPR_NOT   274

Definition at line 321 of file oct-parse.cc.

◆ EXPR_OR

#define EXPR_OR   273

Definition at line 320 of file oct-parse.cc.

◆ EXPR_OR_OR

#define EXPR_OR_OR   271

Definition at line 318 of file oct-parse.cc.

◆ FCN

#define FCN   331

Definition at line 378 of file oct-parse.cc.

◆ FCN_HANDLE

#define FCN_HANDLE   320

Definition at line 367 of file oct-parse.cc.

◆ FOR

#define FOR   300

Definition at line 347 of file oct-parse.cc.

◆ FQ_IDENT

#define FQ_IDENT   328

Definition at line 375 of file oct-parse.cc.

◆ FUNC_RET

#define FUNC_RET   313

Definition at line 360 of file oct-parse.cc.

◆ GET

#define GET   329

Definition at line 376 of file oct-parse.cc.

◆ GLOBAL

#define GLOBAL   318

Definition at line 365 of file oct-parse.cc.

◆ HERMITIAN

#define HERMITIAN   287

Definition at line 334 of file oct-parse.cc.

◆ IF

#define IF   305

Definition at line 352 of file oct-parse.cc.

◆ IMAG_NUM

#define IMAG_NUM   294

Definition at line 341 of file oct-parse.cc.

◆ INPUT_FILE

#define INPUT_FILE   334

Definition at line 381 of file oct-parse.cc.

◆ LEFTDIV

#define LEFTDIV   281

Definition at line 328 of file oct-parse.cc.

◆ LEFTDIV_EQ

#define LEFTDIV_EQ   262

Definition at line 309 of file oct-parse.cc.

◆ lexer

#define lexer   (parser.get_lexer ())

Definition at line 146 of file oct-parse.cc.

◆ LEXICAL_ERROR

#define LEXICAL_ERROR   332

Definition at line 379 of file oct-parse.cc.

◆ METAQUERY

#define METAQUERY   326

Definition at line 373 of file oct-parse.cc.

◆ METHODS

#define METHODS   323

Definition at line 370 of file oct-parse.cc.

◆ MINUS_MINUS

#define MINUS_MINUS   290

Definition at line 337 of file oct-parse.cc.

◆ MUL_EQ

#define MUL_EQ   260

Definition at line 307 of file oct-parse.cc.

◆ NAME

#define NAME   296

Definition at line 343 of file oct-parse.cc.

◆ NUM

#define NUM   293

Definition at line 340 of file oct-parse.cc.

◆ OCTAVE_EMPTY

#define OCTAVE_EMPTY   -2

Definition at line 301 of file oct-parse.cc.

◆ OCTAVE_EOF

#define OCTAVE_EOF   0

Definition at line 302 of file oct-parse.cc.

◆ OCTAVE_error

#define OCTAVE_error   256

Definition at line 303 of file oct-parse.cc.

◆ octave_nerrs

#define octave_nerrs   yyps->octave_nerrs

Definition at line 3223 of file oct-parse.cc.

◆ OCTAVE_UNDEF

#define OCTAVE_UNDEF   257

Definition at line 304 of file oct-parse.cc.

◆ OCTAVE_YYUSE

#define OCTAVE_YYUSE (   X)

Definition at line 155 of file oct-parse.cc.

◆ OR_EQ

#define OR_EQ   269

Definition at line 316 of file oct-parse.cc.

◆ OTHERWISE

#define OTHERWISE   310

Definition at line 357 of file oct-parse.cc.

◆ PARFOR

#define PARFOR   301

Definition at line 348 of file oct-parse.cc.

◆ PERSISTENT

#define PERSISTENT   319

Definition at line 366 of file oct-parse.cc.

◆ PLUS_PLUS

#define PLUS_PLUS   289

Definition at line 336 of file oct-parse.cc.

◆ POW

#define POW   291

Definition at line 338 of file oct-parse.cc.

◆ POW_EQ

#define POW_EQ   263

Definition at line 310 of file oct-parse.cc.

◆ PROPERTIES

#define PROPERTIES   322

Definition at line 369 of file oct-parse.cc.

◆ scanner

#define scanner   lexer.m_scanner

Definition at line 147 of file oct-parse.cc.

◆ SET

#define SET   330

Definition at line 377 of file oct-parse.cc.

◆ SQ_STRING

#define SQ_STRING   299

Definition at line 346 of file oct-parse.cc.

◆ STRUCT_ELT

#define STRUCT_ELT   295

Definition at line 342 of file oct-parse.cc.

◆ SUB_EQ

#define SUB_EQ   259

Definition at line 306 of file oct-parse.cc.

◆ SUPERCLASSREF

#define SUPERCLASSREF   327

Definition at line 374 of file oct-parse.cc.

◆ SWITCH

#define SWITCH   308

Definition at line 355 of file oct-parse.cc.

◆ TRANSPOSE

#define TRANSPOSE   288

Definition at line 335 of file oct-parse.cc.

◆ TRY

#define TRY   316

Definition at line 363 of file oct-parse.cc.

◆ UNARY

#define UNARY   335

Definition at line 382 of file oct-parse.cc.

◆ UNTIL

#define UNTIL   304

Definition at line 351 of file oct-parse.cc.

◆ UNWIND

#define UNWIND   314

Definition at line 361 of file oct-parse.cc.

◆ WHILE

#define WHILE   302

Definition at line 349 of file oct-parse.cc.

◆ YY_

#define YY_ (   Msgid)    Msgid

Definition at line 818 of file oct-parse.cc.

◆ YY_ACCESSING_SYMBOL

#define YY_ACCESSING_SYMBOL (   State)    YY_CAST (yysymbol_kind_t, yystos[State])

Accessing symbol of state STATE.


Definition at line 1086 of file oct-parse.cc.

◆ YY_ASSERT

#define YY_ASSERT (   E)    ((void) (0 && (E)))

Definition at line 878 of file oct-parse.cc.

◆ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE

Definition at line 827 of file oct-parse.cc.

◆ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED

Definition at line 835 of file oct-parse.cc.

◆ YY_CAST

#define YY_CAST (   Type,
  Val 
)    ((Type) (Val))

Definition at line 174 of file oct-parse.cc.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 858 of file oct-parse.cc.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 859 of file oct-parse.cc.

◆ YY_IGNORE_USELESS_CAST_BEGIN

#define YY_IGNORE_USELESS_CAST_BEGIN

Definition at line 873 of file oct-parse.cc.

◆ YY_IGNORE_USELESS_CAST_END

#define YY_IGNORE_USELESS_CAST_END

Definition at line 874 of file oct-parse.cc.

◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE (   Value)    Value

Definition at line 855 of file oct-parse.cc.

◆ YY_NULLPTR

#define YY_NULLPTR   ((void*)0)

Definition at line 186 of file oct-parse.cc.

◆ YY_OCTAVE_LIBINTERP_PARSE_TREE_OCT_PARSE_H_INCLUDED

#define YY_OCTAVE_LIBINTERP_PARSE_TREE_OCT_PARSE_H_INCLUDED

Definition at line 193 of file oct-parse.cc.

◆ YY_REDUCE_PRINT

#define YY_REDUCE_PRINT (   Rule)

Definition at line 1951 of file oct-parse.cc.

◆ YY_REINTERPRET_CAST

#define YY_REINTERPRET_CAST (   Type,
  Val 
)    ((Type) (Val))

Definition at line 175 of file oct-parse.cc.

◆ YY_STACK_PRINT

#define YY_STACK_PRINT (   Bottom,
  Top 
)

Definition at line 1950 of file oct-parse.cc.

◆ YY_SYMBOL_PRINT

#define YY_SYMBOL_PRINT (   Title,
  Kind,
  Value,
  Location 
)

Definition at line 1949 of file oct-parse.cc.

◆ YY_USE

#define YY_USE (   E)    ((void) (E))

Definition at line 841 of file oct-parse.cc.

◆ YYABORT

#define YYABORT   goto yyabortlab

Definition at line 1792 of file oct-parse.cc.

◆ YYACCEPT

#define YYACCEPT   goto yyacceptlab

Definition at line 1791 of file oct-parse.cc.

◆ YYBACKUP

#define YYBACKUP (   Token,
  Value 
)
Value:
do \
if (yychar == OCTAVE_EMPTY) \
{ \
yychar = (Token); \
yylval = (Value); \
YYPOPSTACK (yylen); \
yystate = *yyssp; \
goto yybackup; \
} \
else \
{ \
yyerror (parser, YY_("syntax error: cannot back up")); \
YYERROR; \
} \
while (0)
#define YY_(Msgid)
Definition: oct-parse.cc:818
#define yyssp
Definition: oct-parse.cc:3228
#define OCTAVE_EMPTY
Definition: oct-parse.cc:301

Definition at line 1798 of file oct-parse.cc.

◆ YYBISON

#define YYBISON   30705

Definition at line 49 of file oct-parse.cc.

◆ YYBISON_VERSION

#define YYBISON_VERSION   "3.7.5"

Definition at line 52 of file oct-parse.cc.

◆ yyclearin

#define yyclearin   (yychar = OCTAVE_EMPTY)

Definition at line 1789 of file oct-parse.cc.

◆ YYCOPY

#define YYCOPY (   Dst,
  Src,
  Count 
)
Value:
do \
{ \
YYPTRDIFF_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} \
while (0)

Definition at line 971 of file oct-parse.cc.

◆ YYCOPY_NEEDED

#define YYCOPY_NEEDED   1

Definition at line 943 of file oct-parse.cc.

◆ yydebug

#define yydebug   octave_debug

Definition at line 78 of file oct-parse.cc.

◆ YYDEBUG

#define YYDEBUG   1

Definition at line 85 of file oct-parse.cc.

◆ YYDPRINTF

#define YYDPRINTF (   Args)    ((void) 0)

Definition at line 1948 of file oct-parse.cc.

◆ YYERRCODE

#define YYERRCODE   OCTAVE_UNDEF

Definition at line 1817 of file oct-parse.cc.

◆ yyerrok

#define yyerrok   (yyerrstatus = 0)

Definition at line 1788 of file oct-parse.cc.

◆ yyerror

#define yyerror   octave_error

Definition at line 77 of file oct-parse.cc.

◆ YYERROR

#define YYERROR   goto yyerrorlab

Definition at line 1793 of file oct-parse.cc.

◆ yyerrstatus

#define yyerrstatus   yyps->yyerrstatus

Definition at line 3225 of file oct-parse.cc.

◆ YYFINAL

#define YYFINAL   106

Definition at line 984 of file oct-parse.cc.

◆ YYFREE

#define YYFREE   free

Definition at line 915 of file oct-parse.cc.

◆ YYINITDEPTH

#define YYINITDEPTH   200

Definition at line 1957 of file oct-parse.cc.

◆ YYLAST

#define YYLAST   1588

Definition at line 986 of file oct-parse.cc.

◆ yylex

#define yylex   octave_lex

Definition at line 76 of file oct-parse.cc.

◆ YYMALLOC

#define YYMALLOC   malloc

Definition at line 909 of file oct-parse.cc.

◆ YYMAXDEPTH

#define YYMAXDEPTH   10000

Definition at line 1968 of file oct-parse.cc.

◆ YYMAXUTOK

#define YYMAXUTOK   335

Definition at line 998 of file oct-parse.cc.

◆ yynerrs

#define yynerrs   octave_nerrs

Definition at line 79 of file oct-parse.cc.

◆ YYNNTS

#define YYNNTS   113

Definition at line 991 of file oct-parse.cc.

◆ YYNRULES

#define YYNRULES   290

Definition at line 993 of file oct-parse.cc.

◆ YYNSTATES

#define YYNSTATES   529

Definition at line 995 of file oct-parse.cc.

◆ YYNTOKENS

#define YYNTOKENS   98

Definition at line 989 of file oct-parse.cc.

◆ YYPACT_NINF

#define YYPACT_NINF   (-385)

Definition at line 1164 of file oct-parse.cc.

◆ yypact_value_is_default

#define yypact_value_is_default (   Yyn)     ((Yyn) == YYPACT_NINF)

Definition at line 1166 of file oct-parse.cc.

◆ yyparse

#define yyparse   octave_parse

Definition at line 69 of file oct-parse.cc.

◆ YYPOPSTACK

#define YYPOPSTACK (   N)    (yyvsp -= (N), yyssp -= (N))

◆ yypstate

#define yypstate   octave_pstate

Definition at line 75 of file oct-parse.cc.

◆ yypstate_clear

#define yypstate_clear   octave_pstate_clear

Definition at line 73 of file oct-parse.cc.

◆ yypstate_delete

#define yypstate_delete   octave_pstate_delete

Definition at line 74 of file oct-parse.cc.

◆ yypstate_new

#define yypstate_new   octave_pstate_new

Definition at line 72 of file oct-parse.cc.

◆ YYPTRDIFF_MAXIMUM

#define YYPTRDIFF_MAXIMUM   LONG_MAX

Definition at line 778 of file oct-parse.cc.

◆ YYPTRDIFF_T

#define YYPTRDIFF_T   long

Definition at line 777 of file oct-parse.cc.

◆ YYPULL

#define YYPULL   1

Definition at line 64 of file oct-parse.cc.

◆ yypull_parse

#define yypull_parse   octave_pull_parse

Definition at line 71 of file oct-parse.cc.

◆ YYPURE

#define YYPURE   1

Definition at line 58 of file oct-parse.cc.

◆ YYPUSH

#define YYPUSH   1

Definition at line 61 of file oct-parse.cc.

◆ yypush_parse

#define yypush_parse   octave_push_parse

Definition at line 70 of file oct-parse.cc.

◆ YYRECOVERING

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 1796 of file oct-parse.cc.

◆ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM
Value:
: YY_CAST (YYSIZE_T, -1)))
#define YYPTRDIFF_MAXIMUM
Definition: oct-parse.cc:778
#define YY_CAST(Type, Val)
Definition: oct-parse.cc:174
#define YYSIZE_T
Definition: oct-parse.cc:791
#define YYPTRDIFF_T
Definition: oct-parse.cc:777

Definition at line 795 of file oct-parse.cc.

◆ YYSIZE_T

#define YYSIZE_T   unsigned

Definition at line 791 of file oct-parse.cc.

◆ YYSIZEOF

#define YYSIZEOF (   X)    YY_CAST (YYPTRDIFF_T, sizeof (X))

Definition at line 801 of file oct-parse.cc.

◆ YYSKELETON_NAME

#define YYSKELETON_NAME   "yacc.c"

Definition at line 55 of file oct-parse.cc.

◆ yyss

#define yyss   yyps->yyss

Definition at line 3227 of file oct-parse.cc.

◆ yyssa

#define yyssa   yyps->yyssa

Definition at line 3226 of file oct-parse.cc.

◆ yyssp

#define yyssp   yyps->yyssp

Definition at line 3228 of file oct-parse.cc.

◆ YYSTACK_ALLOC

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 895 of file oct-parse.cc.

◆ YYSTACK_ALLOC_MAXIMUM

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 898 of file oct-parse.cc.

◆ YYSTACK_BYTES

#define YYSTACK_BYTES (   N)
Value:
F77_RET_T const F77_INT & N
#define YYSTYPE
Definition: oct-parse.cc:67
#define YYSIZEOF(X)
Definition: oct-parse.cc:801
#define YYSTACK_GAP_MAXIMUM
Definition: oct-parse.cc:935
yytype_int8 yy_state_t

Definition at line 939 of file oct-parse.cc.

◆ YYSTACK_FREE

#define YYSTACK_FREE   YYFREE

Definition at line 896 of file oct-parse.cc.

◆ YYSTACK_GAP_MAXIMUM

#define YYSTACK_GAP_MAXIMUM   (YYSIZEOF (union yyalloc) - 1)

Definition at line 935 of file oct-parse.cc.

◆ YYSTACK_RELOCATE

#define YYSTACK_RELOCATE (   Stack_alloc,
  Stack 
)
Value:
do \
{ \
YYPTRDIFF_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / YYSIZEOF (*yyptr); \
} \
while (0)
#define yystacksize
Definition: oct-parse.cc:3232

Definition at line 950 of file oct-parse.cc.

◆ yystacksize

#define yystacksize   yyps->yystacksize

Definition at line 3232 of file oct-parse.cc.

◆ yystate

#define yystate   yyps->yystate

Definition at line 3224 of file oct-parse.cc.

◆ YYSTYPE

#define YYSTYPE   OCTAVE_STYPE

Definition at line 67 of file oct-parse.cc.

◆ YYTABLE_NINF

#define YYTABLE_NINF   (-291)

Definition at line 1169 of file oct-parse.cc.

◆ yytable_value_is_error

#define yytable_value_is_error (   Yyn)     0

Definition at line 1171 of file oct-parse.cc.

◆ YYTRANSLATE

#define YYTRANSLATE (   YYX)
Value:
(0 <= (YYX) && (YYX) <= YYMAXUTOK \
static const yytype_int8 yytranslate[]
Definition: oct-parse.cc:1010
@ YYSYMBOL_YYUNDEF
Definition: oct-parse.cc:480
#define YYMAXUTOK
Definition: oct-parse.cc:998
yysymbol_kind_t

Definition at line 1003 of file oct-parse.cc.

◆ yyvs

#define yyvs   yyps->yyvs

Definition at line 3230 of file oct-parse.cc.

◆ yyvsa

#define yyvsa   yyps->yyvsa

Definition at line 3229 of file oct-parse.cc.

◆ yyvsp

#define yyvsp   yyps->yyvsp

Definition at line 3231 of file oct-parse.cc.

Typedef Documentation

◆ octave_pstate

typedef struct octave_pstate octave_pstate

Definition at line 144 of file oct-parse.cc.

◆ yy_state_fast_t

typedef int yy_state_fast_t

Definition at line 808 of file oct-parse.cc.

◆ yy_state_t

Definition at line 805 of file oct-parse.cc.

◆ yysymbol_kind_t

Definition at line 470 of file oct-parse.cc.

◆ yytype_int16

typedef short yytype_int16

Definition at line 729 of file oct-parse.cc.

◆ yytype_int8

typedef signed char yytype_int8

Definition at line 721 of file oct-parse.cc.

◆ yytype_uint16

typedef unsigned short yytype_uint16

Definition at line 761 of file oct-parse.cc.

◆ yytype_uint8

typedef unsigned char yytype_uint8

Definition at line 750 of file oct-parse.cc.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
YYENOMEM 

Definition at line 1786 of file oct-parse.cc.

◆ yysymbol_kind_t

Enumerator
YYSYMBOL_YYEMPTY 
YYSYMBOL_YYEOF 
YYSYMBOL_YYerror 
YYSYMBOL_YYUNDEF 
YYSYMBOL_BF 
YYSYMBOL_IT 
YYSYMBOL_SL 
YYSYMBOL_RM 
YYSYMBOL_FONTNAME 
YYSYMBOL_FONTSIZE 
YYSYMBOL_COLOR 
YYSYMBOL_COLOR_RGB 
YYSYMBOL_START 
YYSYMBOL_END 
YYSYMBOL_SUPER 
YYSYMBOL_SUB 
YYSYMBOL_CH 
YYSYMBOL_NUM 
YYSYMBOL_SYM 
YYSYMBOL_SCRIPT 
YYSYMBOL_STR 
YYSYMBOL_YYACCEPT 
YYSYMBOL_simple_string 
YYSYMBOL_symbol_element 
YYSYMBOL_font_modifier_element 
YYSYMBOL_fontsize_element 
YYSYMBOL_fontname_element 
YYSYMBOL_color_element 
YYSYMBOL_string_element 
YYSYMBOL_superscript_element 
YYSYMBOL_subscript_element 
YYSYMBOL_combined_script_element 
YYSYMBOL_string_element_list 
YYSYMBOL_scoped_string_element_list 
YYSYMBOL_string 
YYSYMBOL_YYEMPTY 
YYSYMBOL_YYEOF 
YYSYMBOL_YYerror 
YYSYMBOL_YYUNDEF 
YYSYMBOL_3_ 
YYSYMBOL_4_ 
YYSYMBOL_5_ 
YYSYMBOL_6_ 
YYSYMBOL_7_ 
YYSYMBOL_8_ 
YYSYMBOL_9_ 
YYSYMBOL_10_ 
YYSYMBOL_11_ 
YYSYMBOL_12_ 
YYSYMBOL_13_ 
YYSYMBOL_14_ 
YYSYMBOL_15_ 
YYSYMBOL_16_ 
YYSYMBOL_17_ 
YYSYMBOL_18_ 
YYSYMBOL_19_n_ 
YYSYMBOL_ADD_EQ 
YYSYMBOL_SUB_EQ 
YYSYMBOL_MUL_EQ 
YYSYMBOL_DIV_EQ 
YYSYMBOL_LEFTDIV_EQ 
YYSYMBOL_POW_EQ 
YYSYMBOL_EMUL_EQ 
YYSYMBOL_EDIV_EQ 
YYSYMBOL_ELEFTDIV_EQ 
YYSYMBOL_EPOW_EQ 
YYSYMBOL_AND_EQ 
YYSYMBOL_OR_EQ 
YYSYMBOL_EXPR_AND_AND 
YYSYMBOL_EXPR_OR_OR 
YYSYMBOL_EXPR_AND 
YYSYMBOL_EXPR_OR 
YYSYMBOL_EXPR_NOT 
YYSYMBOL_EXPR_LT 
YYSYMBOL_EXPR_LE 
YYSYMBOL_EXPR_EQ 
YYSYMBOL_EXPR_NE 
YYSYMBOL_EXPR_GE 
YYSYMBOL_EXPR_GT 
YYSYMBOL_LEFTDIV 
YYSYMBOL_EMUL 
YYSYMBOL_EDIV 
YYSYMBOL_ELEFTDIV 
YYSYMBOL_EPLUS 
YYSYMBOL_EMINUS 
YYSYMBOL_HERMITIAN 
YYSYMBOL_TRANSPOSE 
YYSYMBOL_PLUS_PLUS 
YYSYMBOL_MINUS_MINUS 
YYSYMBOL_POW 
YYSYMBOL_EPOW 
YYSYMBOL_NUM 
YYSYMBOL_IMAG_NUM 
YYSYMBOL_STRUCT_ELT 
YYSYMBOL_NAME 
YYSYMBOL_END 
YYSYMBOL_DQ_STRING 
YYSYMBOL_SQ_STRING 
YYSYMBOL_FOR 
YYSYMBOL_PARFOR 
YYSYMBOL_WHILE 
YYSYMBOL_DO 
YYSYMBOL_UNTIL 
YYSYMBOL_IF 
YYSYMBOL_ELSEIF 
YYSYMBOL_ELSE 
YYSYMBOL_SWITCH 
YYSYMBOL_CASE 
YYSYMBOL_OTHERWISE 
YYSYMBOL_BREAK 
YYSYMBOL_CONTINUE 
YYSYMBOL_FUNC_RET 
YYSYMBOL_UNWIND 
YYSYMBOL_CLEANUP 
YYSYMBOL_TRY 
YYSYMBOL_CATCH 
YYSYMBOL_GLOBAL 
YYSYMBOL_PERSISTENT 
YYSYMBOL_FCN_HANDLE 
YYSYMBOL_CLASSDEF 
YYSYMBOL_PROPERTIES 
YYSYMBOL_METHODS 
YYSYMBOL_EVENTS 
YYSYMBOL_ENUMERATION 
YYSYMBOL_METAQUERY 
YYSYMBOL_SUPERCLASSREF 
YYSYMBOL_FQ_IDENT 
YYSYMBOL_GET 
YYSYMBOL_SET 
YYSYMBOL_FCN 
YYSYMBOL_LEXICAL_ERROR 
YYSYMBOL_END_OF_INPUT 
YYSYMBOL_INPUT_FILE 
YYSYMBOL_UNARY 
YYSYMBOL_YYACCEPT 
YYSYMBOL_input 
YYSYMBOL_simple_list 
YYSYMBOL_simple_list1 
YYSYMBOL_opt_list 
YYSYMBOL_list 
YYSYMBOL_list1 
YYSYMBOL_opt_fcn_list 
YYSYMBOL_fcn_list 
YYSYMBOL_fcn_list1 
YYSYMBOL_statement 
YYSYMBOL_word_list_cmd 
YYSYMBOL_word_list 
YYSYMBOL_identifier 
YYSYMBOL_superclass_identifier 
YYSYMBOL_meta_identifier 
YYSYMBOL_string 
YYSYMBOL_constant 
YYSYMBOL_matrix 
YYSYMBOL_matrix_rows 
YYSYMBOL_cell 
YYSYMBOL_cell_rows 
YYSYMBOL_cell_or_matrix_row 
YYSYMBOL_fcn_handle 
YYSYMBOL_anon_fcn_handle 
YYSYMBOL_primary_expr 
YYSYMBOL_magic_colon 
YYSYMBOL_magic_tilde 
YYSYMBOL_arg_list 
YYSYMBOL_indirect_ref_op 
YYSYMBOL_oper_expr 
YYSYMBOL_power_expr 
YYSYMBOL_colon_expr 
YYSYMBOL_simple_expr 
YYSYMBOL_assign_lhs 
YYSYMBOL_assign_expr 
YYSYMBOL_expression 
YYSYMBOL_command 
YYSYMBOL_declaration 
YYSYMBOL_decl1 
YYSYMBOL_decl_param_init 
YYSYMBOL_decl2 
YYSYMBOL_select_command 
YYSYMBOL_if_command 
YYSYMBOL_if_cmd_list 
YYSYMBOL_if_cmd_list1 
YYSYMBOL_elseif_clause 
YYSYMBOL_else_clause 
YYSYMBOL_switch_command 
YYSYMBOL_case_list 
YYSYMBOL_case_list1 
YYSYMBOL_switch_case 
YYSYMBOL_default_case 
YYSYMBOL_loop_command 
YYSYMBOL_jump_command 
YYSYMBOL_except_command 
YYSYMBOL_push_fcn_symtab 
YYSYMBOL_param_list_beg 
YYSYMBOL_param_list_end 
YYSYMBOL_opt_param_list 
YYSYMBOL_param_list 
YYSYMBOL_param_list1 
YYSYMBOL_param_list2 
YYSYMBOL_param_list_elt 
YYSYMBOL_return_list 
YYSYMBOL_return_list1 
YYSYMBOL_parsing_local_fcns 
YYSYMBOL_push_script_symtab 
YYSYMBOL_begin_file 
YYSYMBOL_file 
YYSYMBOL_function_beg 
YYSYMBOL_fcn_name 
YYSYMBOL_function_end 
YYSYMBOL_function 
YYSYMBOL_classdef_beg 
YYSYMBOL_classdef 
YYSYMBOL_attr_list 
YYSYMBOL_attr_list1 
YYSYMBOL_attr 
YYSYMBOL_superclass_list 
YYSYMBOL_superclass_list1 
YYSYMBOL_superclass 
YYSYMBOL_class_body 
YYSYMBOL_class_body1 
YYSYMBOL_properties_block 
YYSYMBOL_property_list 
YYSYMBOL_property_list1 
YYSYMBOL_class_property 
YYSYMBOL_methods_block 
YYSYMBOL_method_decl1 
YYSYMBOL_method_decl 
YYSYMBOL_189_1 
YYSYMBOL_method 
YYSYMBOL_methods_list 
YYSYMBOL_methods_list1 
YYSYMBOL_events_block 
YYSYMBOL_events_list 
YYSYMBOL_events_list1 
YYSYMBOL_class_event 
YYSYMBOL_enum_block 
YYSYMBOL_enum_list 
YYSYMBOL_enum_list1 
YYSYMBOL_class_enum 
YYSYMBOL_stmt_begin 
YYSYMBOL_anon_fcn_begin 
YYSYMBOL_stash_comment 
YYSYMBOL_parse_error 
YYSYMBOL_sep_no_nl 
YYSYMBOL_opt_sep_no_nl 
YYSYMBOL_opt_nl 
YYSYMBOL_nl 
YYSYMBOL_sep 
YYSYMBOL_opt_sep 

Definition at line 475 of file oct-parse.cc.

Function Documentation

◆ F__parse_file__()

◆ F__parser_debug_flag__()

OCTAVE_EXPORT octave_value_list F__parser_debug_flag__ ( const octave_value_list args,
int  nargout 
)

Definition at line 10080 of file oct-parse.cc.

References octave_debug, retval, and set_internal_variable().

◆ Fassignin()

OCTAVE_EXPORT octave_value_list Fassignin ( octave::interpreter interp,
const octave_value_list args,
int   
)

Definition at line 9863 of file oct-parse.cc.

References octave::context, and print_usage().

◆ Fautoload()

◆ Fbuiltin()

◆ Feval()

OCTAVE_EXPORT octave_value_list Feval ( octave::interpreter interp,
const octave_value_list args,
int  nargout 
)

Definition at line 9779 of file oct-parse.cc.

References error(), and print_usage().

Referenced by Fevalc().

◆ Fevalc()

OCTAVE_EXPORT octave_value_list Fevalc ( octave::interpreter interp,
const octave_value_list args,
int  nargout 
)

Definition at line 9943 of file oct-parse.cc.

References Feval(), max(), octave_stdout, print_usage(), and retval.

◆ Fevalin()

OCTAVE_EXPORT octave_value_list Fevalin ( octave::interpreter interp,
const octave_value_list args,
int  nargout 
)

Definition at line 9892 of file oct-parse.cc.

References octave::context, and print_usage().

◆ Ffeval()

OCTAVE_EXPORT octave_value_list Ffeval ( octave::interpreter interp,
const octave_value_list args,
int  nargout 
)

Definition at line 9658 of file oct-parse.cc.

References print_usage().

◆ Fmfilename()

OCTAVE_EXPORT octave_value_list Fmfilename ( octave::interpreter interp,
const octave_value_list args,
int   
)

Definition at line 9504 of file oct-parse.cc.

References octave_value(), and print_usage().

◆ free()

void free ( void *  )

◆ Fsource()

OCTAVE_EXPORT octave_value_list Fsource ( octave::interpreter interp,
const octave_value_list args,
int   
)

Definition at line 9549 of file oct-parse.cc.

References octave::context, and print_usage().

◆ malloc()

void* malloc ( unsigned  )

◆ octave_error()

static void octave_error ( octave::base_parser parser,
const char *  s 
)
static

Definition at line 6480 of file oct-parse.cc.

References octave::base_parser::bison_error().

◆ octave_lex()

int octave_lex ( OCTAVE_STYPE yylval_param,
void *  yyscanner 
)

The main scanner function which does all the work.

Definition at line 1550 of file lex.cc.

References ADD_EQ, AND_EQ, octave::comment_elt::block, BLOCK_COMMENT_START, CMD_OR_COMPUTED_ASSIGN_OP, CMD_OR_OP, CMD_OR_UNARY_OP, COMMAND_START, curr_lexer, DIV_EQ, DQ_STRING, DQ_STRING_START, ECHO, EDIV, EDIV_EQ, ELEFTDIV, ELEFTDIV_EQ, EMINUS, EMUL, EMUL_EQ, octave::comment_elt::end_of_line, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, EPLUS, 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, FCN_HANDLE, FQ_IDENT_START, octave::comment_elt::full_line, HANDLE_EOB_OR_EOF, HANDLE_IDENTIFIER, HANDLE_STRING_CONTINUATION, HERMITIAN, IMAG_NUM, INITIAL, INPUT_FILE, INPUT_FILE_START, is_space_or_tab(), octave::iskeyword(), LEFTDIV, LEFTDIV_EQ, LEXICAL_ERROR, LINE_COMMENT_START, MATRIX_START, MINUS_MINUS, MUL_EQ, NUM, OR_EQ, PLUS_PLUS, POW, POW_EQ, SQ_STRING, SQ_STRING_START, SUB_EQ, octave::token::token_value(), TRANSPOSE, octave::undo_string_escape(), warning_with_id(), yy_accept, YY_AT_BOL, yy_base, YY_BREAK, YY_BUF_SIZE, YY_BUFFER_NEW, YY_BUFFER_NORMAL, yyguts_t::yy_c_buf_p, yy_chk, yy_create_buffer, 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_load_buffer_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(), yyensure_buffer_stack, yyin, yyleng, yyless, yylval, yyout, yytext, and yywrap.

Referenced by octave::push_parser::run().

◆ octave_parse()

int octave_parse ( octave::base_parser parser)

Definition at line 3197 of file oct-parse.cc.

References YY_, yyerror, yypstate, yypstate_delete, yypstate_new, and yypull_parse.

◆ octave_pstate_clear()

static void octave_pstate_clear ( octave_pstate yyps)
static

Definition at line 3236 of file oct-parse.cc.

References yyerrstatus, yynerrs, yyss, yyssp, yystate, yyvs, and yyvsp.

◆ octave_pstate_delete()

void octave_pstate_delete ( octave_pstate ps)

Definition at line 3267 of file oct-parse.cc.

References YYFREE, yyss, yyssa, and YYSTACK_FREE.

◆ octave_pstate_new()

octave_pstate * octave_pstate_new ( void  )

◆ octave_pull_parse()

int octave_pull_parse ( octave_pstate ps,
octave::base_parser parser 
)

Definition at line 3211 of file oct-parse.cc.

References scanner, YY_ASSERT, yylex, yylval, YYPUSH_MORE, yypush_parse, and YYSTYPE.

Referenced by octave::parser::run().

◆ octave_push_parse()

int octave_push_parse ( octave_pstate ps,
int  pushed_char,
OCTAVE_STYPE const *  pushed_val,
octave::base_parser parser 
)

Definition at line 3288 of file oct-parse.cc.

References ADD_EQ, AND_EQ, octave::base_parser::append_statement_list(), octave::base_parser::bison_error(), DIV_EQ, octave::tree_classdef_property::doc_string(), DQ_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_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, IMAG_NUM, octave::tree_parameter_list::in, octave::comment_elt::is_end_of_line(), LEFTDIV, LEFTDIV_EQ, lexer, octave_value::magic_colon_t, octave::base_parser::make_anon_fcn_handle(), octave::base_parser::make_assign_op(), octave::base_parser::make_binary_op(), octave::base_parser::make_boolean_op(), octave::base_parser::make_break_command(), octave::base_parser::make_classdef(), octave::base_parser::make_classdef_enum_block(), octave::base_parser::make_classdef_events_block(), octave::base_parser::make_classdef_methods_block(), octave::base_parser::make_classdef_properties_block(), 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_do_until_command(), 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_index_expression(), octave::base_parser::make_indirect_ref(), 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_statement(), octave::base_parser::make_statement_list(), octave::base_parser::make_switch_case(), octave::base_parser::make_try_command(), octave::base_parser::make_unwind_command(), octave::base_parser::make_while_command(), MINUS_MINUS, MUL_EQ, NUM, 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(), SQ_STRING, octave::base_parser::start_classdef_external_method(), octave::base_parser::start_if_command(), octave::base_parser::statement_list(), 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(), 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, 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().

◆ yydestruct()

static void yydestruct ( const char *  yymsg,
yysymbol_kind_t  yykind,
OCTAVE_STYPE yyvaluep,
octave::base_parser parser 
)
static

Definition at line 2010 of file oct-parse.cc.

References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_SYMBOL_PRINT, YY_USE, YYSYMBOL_10_, YYSYMBOL_11_, YYSYMBOL_12_, YYSYMBOL_13_, YYSYMBOL_14_, YYSYMBOL_15_, YYSYMBOL_16_, YYSYMBOL_17_, YYSYMBOL_18_, YYSYMBOL_19_n_, YYSYMBOL_3_, YYSYMBOL_4_, YYSYMBOL_5_, YYSYMBOL_6_, YYSYMBOL_7_, YYSYMBOL_8_, YYSYMBOL_9_, YYSYMBOL_ADD_EQ, YYSYMBOL_AND_EQ, YYSYMBOL_anon_fcn_handle, YYSYMBOL_arg_list, YYSYMBOL_assign_expr, YYSYMBOL_assign_lhs, YYSYMBOL_attr, YYSYMBOL_attr_list, YYSYMBOL_attr_list1, YYSYMBOL_BREAK, YYSYMBOL_CASE, YYSYMBOL_case_list, YYSYMBOL_case_list1, YYSYMBOL_CATCH, YYSYMBOL_cell, YYSYMBOL_cell_or_matrix_row, YYSYMBOL_cell_rows, YYSYMBOL_class_body, YYSYMBOL_class_body1, YYSYMBOL_class_enum, YYSYMBOL_class_event, YYSYMBOL_class_property, YYSYMBOL_CLASSDEF, YYSYMBOL_classdef, YYSYMBOL_classdef_beg, YYSYMBOL_CLEANUP, YYSYMBOL_colon_expr, YYSYMBOL_command, YYSYMBOL_constant, YYSYMBOL_CONTINUE, YYSYMBOL_decl1, YYSYMBOL_decl2, YYSYMBOL_declaration, YYSYMBOL_default_case, YYSYMBOL_DIV_EQ, YYSYMBOL_DO, YYSYMBOL_DQ_STRING, YYSYMBOL_EDIV, YYSYMBOL_EDIV_EQ, YYSYMBOL_ELEFTDIV, YYSYMBOL_ELEFTDIV_EQ, YYSYMBOL_ELSE, YYSYMBOL_else_clause, YYSYMBOL_ELSEIF, YYSYMBOL_elseif_clause, YYSYMBOL_EMINUS, YYSYMBOL_EMUL, YYSYMBOL_EMUL_EQ, YYSYMBOL_END, YYSYMBOL_END_OF_INPUT, YYSYMBOL_enum_block, YYSYMBOL_enum_list, YYSYMBOL_enum_list1, YYSYMBOL_ENUMERATION, YYSYMBOL_EPLUS, YYSYMBOL_EPOW, YYSYMBOL_EPOW_EQ, YYSYMBOL_EVENTS, YYSYMBOL_events_block, YYSYMBOL_events_list, YYSYMBOL_events_list1, YYSYMBOL_except_command, YYSYMBOL_EXPR_AND, YYSYMBOL_EXPR_AND_AND, YYSYMBOL_EXPR_EQ, YYSYMBOL_EXPR_GE, YYSYMBOL_EXPR_GT, YYSYMBOL_EXPR_LE, YYSYMBOL_EXPR_LT, YYSYMBOL_EXPR_NE, YYSYMBOL_EXPR_NOT, YYSYMBOL_EXPR_OR, YYSYMBOL_EXPR_OR_OR, YYSYMBOL_expression, YYSYMBOL_FCN, YYSYMBOL_FCN_HANDLE, YYSYMBOL_fcn_handle, YYSYMBOL_fcn_list, YYSYMBOL_fcn_list1, YYSYMBOL_fcn_name, YYSYMBOL_file, YYSYMBOL_FOR, YYSYMBOL_FQ_IDENT, YYSYMBOL_FUNC_RET, YYSYMBOL_function, YYSYMBOL_function_beg, YYSYMBOL_function_end, YYSYMBOL_GET, YYSYMBOL_GLOBAL, YYSYMBOL_HERMITIAN, YYSYMBOL_identifier, YYSYMBOL_IF, YYSYMBOL_if_cmd_list, YYSYMBOL_if_cmd_list1, YYSYMBOL_if_command, YYSYMBOL_IMAG_NUM, YYSYMBOL_input, YYSYMBOL_jump_command, YYSYMBOL_LEFTDIV, YYSYMBOL_LEFTDIV_EQ, YYSYMBOL_LEXICAL_ERROR, YYSYMBOL_list, YYSYMBOL_list1, YYSYMBOL_loop_command, YYSYMBOL_magic_colon, YYSYMBOL_magic_tilde, YYSYMBOL_matrix, YYSYMBOL_matrix_rows, YYSYMBOL_meta_identifier, YYSYMBOL_METAQUERY, YYSYMBOL_method, YYSYMBOL_method_decl, YYSYMBOL_method_decl1, YYSYMBOL_METHODS, YYSYMBOL_methods_block, YYSYMBOL_methods_list, YYSYMBOL_methods_list1, YYSYMBOL_MINUS_MINUS, YYSYMBOL_MUL_EQ, YYSYMBOL_NAME, YYSYMBOL_nl, YYSYMBOL_NUM, YYSYMBOL_oper_expr, YYSYMBOL_opt_fcn_list, YYSYMBOL_opt_list, YYSYMBOL_opt_nl, YYSYMBOL_opt_param_list, YYSYMBOL_opt_sep, YYSYMBOL_opt_sep_no_nl, YYSYMBOL_OR_EQ, YYSYMBOL_OTHERWISE, YYSYMBOL_param_list, YYSYMBOL_param_list1, YYSYMBOL_param_list2, YYSYMBOL_param_list_elt, YYSYMBOL_PARFOR, YYSYMBOL_PERSISTENT, YYSYMBOL_PLUS_PLUS, YYSYMBOL_POW, YYSYMBOL_POW_EQ, YYSYMBOL_power_expr, YYSYMBOL_primary_expr, YYSYMBOL_PROPERTIES, YYSYMBOL_properties_block, YYSYMBOL_property_list, YYSYMBOL_property_list1, YYSYMBOL_return_list, YYSYMBOL_return_list1, YYSYMBOL_select_command, YYSYMBOL_sep, YYSYMBOL_sep_no_nl, YYSYMBOL_SET, YYSYMBOL_simple_expr, YYSYMBOL_simple_list, YYSYMBOL_simple_list1, YYSYMBOL_SQ_STRING, YYSYMBOL_stash_comment, YYSYMBOL_statement, YYSYMBOL_string, YYSYMBOL_STRUCT_ELT, YYSYMBOL_SUB_EQ, YYSYMBOL_superclass, YYSYMBOL_superclass_identifier, YYSYMBOL_superclass_list, YYSYMBOL_superclass_list1, YYSYMBOL_SUPERCLASSREF, YYSYMBOL_SWITCH, YYSYMBOL_switch_case, YYSYMBOL_switch_command, YYSYMBOL_TRANSPOSE, YYSYMBOL_TRY, YYSYMBOL_UNARY, YYSYMBOL_UNTIL, YYSYMBOL_UNWIND, YYSYMBOL_WHILE, YYSYMBOL_word_list, and YYSYMBOL_word_list_cmd.

Referenced by octave_push_parse().

Variable Documentation

◆ yycheck

const yytype_int16 yycheck[]
static

Definition at line 1493 of file oct-parse.cc.

Referenced by octave_push_parse().

◆ yydefact

const yytype_int16 yydefact[]
static

Definition at line 1236 of file oct-parse.cc.

Referenced by octave_push_parse().

◆ yydefgoto

const yytype_int16 yydefgoto[]
static
Initial value:
=
{
0, 35, 36, 37, 250, 251, 252, 384, 385, 386,
253, 39, 111, 73, 41, 42, 43, 44, 45, 80,
46, 86, 81, 47, 48, 49, 82, 83, 84, 133,
50, 222, 51, 52, 53, 54, 55, 56, 57, 103,
292, 104, 58, 59, 192, 193, 287, 288, 60, 333,
334, 335, 336, 61, 62, 63, 64, 89, 270, 319,
320, 176, 177, 178, 261, 315, 312, 65, 66, 67,
68, 262, 413, 69, 254, 255, 351, 381, 382, 427,
428, 441, 446, 447, 448, 481, 482, 483, 449, 507,
486, 523, 487, 488, 489, 450, 491, 492, 493, 451,
495, 496, 497, 278, 179, 484, 70, 71, 72, 160,
161, 189, 190
}

Definition at line 1311 of file oct-parse.cc.

Referenced by octave_push_parse().

◆ yypact

const yytype_int16 yypact[]
static

Definition at line 1176 of file oct-parse.cc.

Referenced by octave_push_parse().

◆ yypgoto

const yytype_int16 yypgoto[]
static
Initial value:
=
{
-385, -385, -385, -385, 118, -385, -385, -385, -385, -385,
2, -385, -385, 0, -385, -385, -23, -385, -385, -385,
-385, -385, 12, -385, -385, -69, -142, -84, -74, -45,
11, -62, -385, 124, -63, -385, 20, -385, -385, 365,
-384, -70, -385, -385, -385, -385, -385, -385, -385, -385,
-385, 62, 63, -385, -385, -385, -385, -385, -385, 40,
-6, -385, -385, 131, -87, -385, -385, -385, -385, -385,
-385, 86, -25, -297, -385, -385, -245, -385, 1, -385,
-385, -44, -385, -385, -55, -385, -385, -89, -52, -108,
-385, -385, -79, -385, -385, -38, -385, -385, -82, -35,
-385, -385, -76, -179, -385, -12, -385, 408, 410, -385,
-385, -249, 176
}

Definition at line 1294 of file oct-parse.cc.

Referenced by octave_push_parse().

◆ yyr1

const yytype_uint8 yyr1[]
static

Definition at line 1716 of file oct-parse.cc.

Referenced by octave_push_parse().

◆ yyr2

const yytype_int8 yyr2[]
static

Definition at line 1751 of file oct-parse.cc.

Referenced by octave_push_parse().

◆ yystos

const yytype_uint8 yystos[]
static

Definition at line 1658 of file oct-parse.cc.

◆ yytable

const yytype_int16 yytable[]
static

Definition at line 1330 of file oct-parse.cc.

Referenced by octave_push_parse().

◆ yytranslate

const yytype_int8 yytranslate[]
static

Definition at line 1010 of file oct-parse.cc.