GNU Octave  8.1.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
 
class  parse_exception
 
class  parse_tree_validator
 

Macros

#define lexer   (parser.get_lexer ())
 
#define octave_nerrs   yyps->octave_nerrs
 
#define OCTAVE_YYUSE(X, ...)
 
#define scanner   lexer.m_scanner
 
#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_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   30802
 
#define YYBISON_VERSION   "3.8.2"
 
#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   110
 
#define YYFREE   free
 
#define YYINITDEPTH   200
 
#define YYLAST   1622
 
#define yylex   octave_lex
 
#define YYMALLOC   malloc
 
#define YYMAXDEPTH   10000
 
#define YYMAXUTOK   333
 
#define yynerrs   octave_nerrs
 
#define YYNNTS   130
 
#define YYNOMEM   goto yyexhaustedlab
 
#define YYNRULES   315
 
#define YYNSTATES   574
 
#define YYNTOKENS   98
 
#define YYPACT_NINF   (-453)
 
#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   (-316)
 
#define yytable_value_is_error(Yyn)    0
 
#define YYTRANSLATE(YYX)
 
#define yyvs   yyps->yyvs
 
#define yyvsa   yyps->yyvsa
 
#define yyvsp   yyps->yyvsp
 

Typedefs

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_ = 19 ,
  YYSYMBOL_20_ = 20 , YYSYMBOL_21_n_ = 21 , YYSYMBOL_ADD_EQ = 22 , YYSYMBOL_SUB_EQ = 23 ,
  YYSYMBOL_MUL_EQ = 24 , YYSYMBOL_DIV_EQ = 25 , YYSYMBOL_LEFTDIV_EQ = 26 , YYSYMBOL_POW_EQ = 27 ,
  YYSYMBOL_EMUL_EQ = 28 , YYSYMBOL_EDIV_EQ = 29 , YYSYMBOL_ELEFTDIV_EQ = 30 , YYSYMBOL_EPOW_EQ = 31 ,
  YYSYMBOL_AND_EQ = 32 , YYSYMBOL_OR_EQ = 33 , YYSYMBOL_EXPR_AND_AND = 34 , YYSYMBOL_EXPR_OR_OR = 35 ,
  YYSYMBOL_EXPR_AND = 36 , YYSYMBOL_EXPR_OR = 37 , YYSYMBOL_EXPR_LT = 38 , YYSYMBOL_EXPR_LE = 39 ,
  YYSYMBOL_EXPR_EQ = 40 , YYSYMBOL_EXPR_NE = 41 , YYSYMBOL_EXPR_GE = 42 , YYSYMBOL_EXPR_GT = 43 ,
  YYSYMBOL_LEFTDIV = 44 , YYSYMBOL_EMUL = 45 , YYSYMBOL_EDIV = 46 , YYSYMBOL_ELEFTDIV = 47 ,
  YYSYMBOL_HERMITIAN = 48 , YYSYMBOL_TRANSPOSE = 49 , YYSYMBOL_PLUS_PLUS = 50 , YYSYMBOL_MINUS_MINUS = 51 ,
  YYSYMBOL_POW = 52 , YYSYMBOL_EPOW = 53 , YYSYMBOL_NUMBER = 54 , YYSYMBOL_STRUCT_ELT = 55 ,
  YYSYMBOL_NAME = 56 , YYSYMBOL_END = 57 , YYSYMBOL_DQ_STRING = 58 , YYSYMBOL_SQ_STRING = 59 ,
  YYSYMBOL_FOR = 60 , YYSYMBOL_PARFOR = 61 , YYSYMBOL_WHILE = 62 , YYSYMBOL_DO = 63 ,
  YYSYMBOL_UNTIL = 64 , YYSYMBOL_SPMD = 65 , YYSYMBOL_IF = 66 , YYSYMBOL_ELSEIF = 67 ,
  YYSYMBOL_ELSE = 68 , YYSYMBOL_SWITCH = 69 , YYSYMBOL_CASE = 70 , YYSYMBOL_OTHERWISE = 71 ,
  YYSYMBOL_BREAK = 72 , YYSYMBOL_CONTINUE = 73 , YYSYMBOL_FUNC_RET = 74 , YYSYMBOL_UNWIND = 75 ,
  YYSYMBOL_CLEANUP = 76 , YYSYMBOL_TRY = 77 , YYSYMBOL_CATCH = 78 , YYSYMBOL_GLOBAL = 79 ,
  YYSYMBOL_PERSISTENT = 80 , YYSYMBOL_FCN_HANDLE = 81 , YYSYMBOL_CLASSDEF = 82 , YYSYMBOL_PROPERTIES = 83 ,
  YYSYMBOL_METHODS = 84 , YYSYMBOL_EVENTS = 85 , YYSYMBOL_ENUMERATION = 86 , YYSYMBOL_METAQUERY = 87 ,
  YYSYMBOL_SUPERCLASSREF = 88 , YYSYMBOL_FQ_IDENT = 89 , YYSYMBOL_GET = 90 , YYSYMBOL_SET = 91 ,
  YYSYMBOL_FCN = 92 , YYSYMBOL_ARGUMENTS = 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_decl_init_list = 137 , YYSYMBOL_decl_elt = 138 , YYSYMBOL_select_command = 139 ,
  YYSYMBOL_if_command = 140 , YYSYMBOL_if_cmd_list = 141 , YYSYMBOL_if_cmd_list1 = 142 , YYSYMBOL_elseif_clause = 143 ,
  YYSYMBOL_else_clause = 144 , YYSYMBOL_switch_command = 145 , YYSYMBOL_case_list = 146 , YYSYMBOL_case_list1 = 147 ,
  YYSYMBOL_switch_case = 148 , YYSYMBOL_default_case = 149 , YYSYMBOL_loop_command = 150 , YYSYMBOL_jump_command = 151 ,
  YYSYMBOL_spmd_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_function_body = 172 , YYSYMBOL_at_first_executable_stmt = 173 , YYSYMBOL_function_body1 = 174 , YYSYMBOL_arguments_block = 175 ,
  YYSYMBOL_arguments_beg = 176 , YYSYMBOL_args_attr_list = 177 , YYSYMBOL_args_validation_list = 178 , YYSYMBOL_arg_name = 179 ,
  YYSYMBOL_arg_validation = 180 , YYSYMBOL_size_spec = 181 , YYSYMBOL_class_name = 182 , YYSYMBOL_validation_fcns = 183 ,
  YYSYMBOL_default_value = 184 , YYSYMBOL_classdef_beg = 185 , YYSYMBOL_classdef = 186 , YYSYMBOL_attr_list = 187 ,
  YYSYMBOL_attr_list1 = 188 , YYSYMBOL_attr = 189 , YYSYMBOL_superclass_list = 190 , YYSYMBOL_superclass_list1 = 191 ,
  YYSYMBOL_superclass = 192 , YYSYMBOL_class_body = 193 , YYSYMBOL_class_body1 = 194 , YYSYMBOL_properties_block = 195 ,
  YYSYMBOL_properties_beg = 196 , YYSYMBOL_property_list = 197 , YYSYMBOL_property_list1 = 198 , YYSYMBOL_class_property = 199 ,
  YYSYMBOL_methods_block = 200 , YYSYMBOL_methods_beg = 201 , YYSYMBOL_method_decl1 = 202 , YYSYMBOL_method_decl = 203 ,
  YYSYMBOL_204_1 = 204 , YYSYMBOL_method = 205 , YYSYMBOL_methods_list = 206 , YYSYMBOL_methods_list1 = 207 ,
  YYSYMBOL_events_block = 208 , YYSYMBOL_events_beg = 209 , YYSYMBOL_events_list = 210 , YYSYMBOL_events_list1 = 211 ,
  YYSYMBOL_class_event = 212 , YYSYMBOL_enum_block = 213 , YYSYMBOL_enumeration_beg = 214 , YYSYMBOL_enum_list = 215 ,
  YYSYMBOL_enum_list1 = 216 , YYSYMBOL_class_enum = 217 , YYSYMBOL_stmt_begin = 218 , YYSYMBOL_anon_fcn_begin = 219 ,
  YYSYMBOL_stash_comment = 220 , YYSYMBOL_parse_error = 221 , YYSYMBOL_sep_no_nl = 222 , YYSYMBOL_opt_sep_no_nl = 223 ,
  YYSYMBOL_opt_nl = 224 , YYSYMBOL_nl = 225 , YYSYMBOL_sep = 226 , YYSYMBOL_opt_sep = 227
}
 

Functions

void cleanup_statement_list (tree_statement_list **lst)
 
static std::string end_token_as_string (token::end_tok_type ettype)
 
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 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 feval (const octave_value &val, const octave_value_list &args, int nargout)
 
octave_value_list feval (const octave_value_list &args, int nargout)
 
octave_value_list 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 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 get_file_line (const std::string &name, int line)
 
std::string get_help_from_file (const std::string &nm, bool &symbol_found)
 
std::string get_help_from_file (const std::string &nm, bool &symbol_found, std::string &full_file)
 
template<typename LIST_T , typename ELT_T >
static LIST_T * list_append (LIST_T *list, ELT_T elt)
 
octave_value 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 *yyps)
 
octave_pstateoctave_pstate_new (void)
 
int octave_pull_parse (octave_pstate *yyps, octave::base_parser &parser)
 
int octave_push_parse (octave_pstate *yyps, int yypushed_char, OCTAVE_STYPE const *yypushed_val, octave::base_parser &parser)
 
octave_value 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 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

◆ lexer

#define lexer   (parser.get_lexer ())

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

◆ octave_nerrs

#define octave_nerrs   yyps->octave_nerrs

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

◆ OCTAVE_YYUSE

#define OCTAVE_YYUSE (   X,
  ... 
)

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

◆ scanner

#define scanner   lexer.m_scanner

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

◆ YY_

#define YY_ (   Msgid)    Msgid

Definition at line 552 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 828 of file oct-parse.cc.

◆ YY_ASSERT

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

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

◆ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE

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

◆ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED

Definition at line 569 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 598 of file oct-parse.cc.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

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

◆ YY_IGNORE_USELESS_CAST_BEGIN

#define YY_IGNORE_USELESS_CAST_BEGIN

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

◆ YY_IGNORE_USELESS_CAST_END

#define YY_IGNORE_USELESS_CAST_END

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

◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE (   Value)    Value

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

◆ YY_NULLPTR

#define YY_NULLPTR   ((void*)0)

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

◆ YY_REDUCE_PRINT

#define YY_REDUCE_PRINT (   Rule)

Definition at line 1702 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 1701 of file oct-parse.cc.

◆ YY_SYMBOL_PRINT

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

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

◆ YY_USE

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

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

◆ YYABORT

#define YYABORT   goto yyabortlab

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

◆ YYACCEPT

#define YYACCEPT   goto yyacceptlab

Definition at line 1548 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)
Definition: parse.h:829
#define YY_(Msgid)
Definition: oct-parse.cc:552
#define yyssp
Definition: oct-parse.cc:3081
@ OCTAVE_EMPTY
Definition: oct-parse.h:61

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

◆ YYBISON

#define YYBISON   30802

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

◆ YYBISON_VERSION

#define YYBISON_VERSION   "3.8.2"

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

◆ yyclearin

#define yyclearin   (yychar = OCTAVE_EMPTY)

Definition at line 1546 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 711 of file oct-parse.cc.

◆ YYCOPY_NEEDED

#define YYCOPY_NEEDED   1

Definition at line 683 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 1699 of file oct-parse.cc.

◆ YYERRCODE

#define YYERRCODE   OCTAVE_UNDEF

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

◆ yyerrok

#define yyerrok   (yyerrstatus = 0)

Definition at line 1545 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 1550 of file oct-parse.cc.

◆ yyerrstatus

#define yyerrstatus   yyps->yyerrstatus

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

◆ YYFINAL

#define YYFINAL   110

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

◆ YYFREE

#define YYFREE   free

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

◆ YYINITDEPTH

#define YYINITDEPTH   200

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

◆ YYLAST

#define YYLAST   1622

Definition at line 726 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 649 of file oct-parse.cc.

◆ YYMAXDEPTH

#define YYMAXDEPTH   10000

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

◆ YYMAXUTOK

#define YYMAXUTOK   333

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

◆ yynerrs

#define yynerrs   octave_nerrs

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

◆ YYNNTS

#define YYNNTS   130

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

◆ YYNOMEM

#define YYNOMEM   goto yyexhaustedlab

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

◆ YYNRULES

#define YYNRULES   315

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

◆ YYNSTATES

#define YYNSTATES   574

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

◆ YYNTOKENS

#define YYNTOKENS   98

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

◆ YYPACT_NINF

#define YYPACT_NINF   (-453)

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

◆ yypact_value_is_default

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

Definition at line 894 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 512 of file oct-parse.cc.

◆ YYPTRDIFF_T

#define YYPTRDIFF_T   long

Definition at line 511 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 1554 of file oct-parse.cc.

◆ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM
Value:
: YY_CAST (YYSIZE_T, -1)))
#define YYPTRDIFF_MAXIMUM
Definition: oct-parse.cc:512
#define YY_CAST(Type, Val)
Definition: oct-parse.cc:174
#define YYSIZE_T
Definition: oct-parse.cc:525
#define YYPTRDIFF_T
Definition: oct-parse.cc:511

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

◆ YYSIZE_T

#define YYSIZE_T   unsigned

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

◆ YYSIZEOF

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

Definition at line 535 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 3080 of file oct-parse.cc.

◆ yyssa

#define yyssa   yyps->yyssa

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

◆ yyssp

#define yyssp   yyps->yyssp

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

◆ YYSTACK_ALLOC

#define YYSTACK_ALLOC   YYMALLOC

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

◆ YYSTACK_ALLOC_MAXIMUM

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 638 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:535
#define YYSTACK_GAP_MAXIMUM
Definition: oct-parse.cc:675
yytype_int8 yy_state_t

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

◆ YYSTACK_FREE

#define YYSTACK_FREE   YYFREE

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

◆ YYSTACK_GAP_MAXIMUM

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

Definition at line 675 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:3085

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

◆ yystacksize

#define yystacksize   yyps->yystacksize

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

◆ yystate

#define yystate   yyps->yystate

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

◆ YYSTYPE

#define YYSTYPE   OCTAVE_STYPE

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

◆ YYTABLE_NINF

#define YYTABLE_NINF   (-316)

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

◆ yytable_value_is_error

#define yytable_value_is_error (   Yyn)     0

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

◆ YYTRANSLATE

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

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

◆ yyvs

#define yyvs   yyps->yyvs

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

◆ yyvsa

#define yyvsa   yyps->yyvsa

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

◆ yyvsp

#define yyvsp   yyps->yyvsp

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

Typedef Documentation

◆ yy_state_fast_t

typedef int yy_state_fast_t

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

◆ yy_state_t

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

◆ yysymbol_kind_t

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

◆ yytype_int16

typedef short yytype_int16

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

◆ yytype_int8

typedef signed char yytype_int8

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

◆ yytype_uint16

typedef unsigned short yytype_uint16

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

◆ yytype_uint8

typedef unsigned char yytype_uint8

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

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
YYENOMEM 

Definition at line 1543 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_ 
YYSYMBOL_20_ 
YYSYMBOL_21_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_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_HERMITIAN 
YYSYMBOL_TRANSPOSE 
YYSYMBOL_PLUS_PLUS 
YYSYMBOL_MINUS_MINUS 
YYSYMBOL_POW 
YYSYMBOL_EPOW 
YYSYMBOL_NUMBER 
YYSYMBOL_STRUCT_ELT 
YYSYMBOL_NAME 
YYSYMBOL_END 
YYSYMBOL_DQ_STRING 
YYSYMBOL_SQ_STRING 
YYSYMBOL_FOR 
YYSYMBOL_PARFOR 
YYSYMBOL_WHILE 
YYSYMBOL_DO 
YYSYMBOL_UNTIL 
YYSYMBOL_SPMD 
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_ARGUMENTS 
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_decl_init_list 
YYSYMBOL_decl_elt 
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_spmd_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_function_body 
YYSYMBOL_at_first_executable_stmt 
YYSYMBOL_function_body1 
YYSYMBOL_arguments_block 
YYSYMBOL_arguments_beg 
YYSYMBOL_args_attr_list 
YYSYMBOL_args_validation_list 
YYSYMBOL_arg_name 
YYSYMBOL_arg_validation 
YYSYMBOL_size_spec 
YYSYMBOL_class_name 
YYSYMBOL_validation_fcns 
YYSYMBOL_default_value 
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_properties_beg 
YYSYMBOL_property_list 
YYSYMBOL_property_list1 
YYSYMBOL_class_property 
YYSYMBOL_methods_block 
YYSYMBOL_methods_beg 
YYSYMBOL_method_decl1 
YYSYMBOL_method_decl 
YYSYMBOL_204_1 
YYSYMBOL_method 
YYSYMBOL_methods_list 
YYSYMBOL_methods_list1 
YYSYMBOL_events_block 
YYSYMBOL_events_beg 
YYSYMBOL_events_list 
YYSYMBOL_events_list1 
YYSYMBOL_class_event 
YYSYMBOL_enum_block 
YYSYMBOL_enumeration_beg 
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 192 of file oct-parse.cc.

Function Documentation

◆ cleanup_statement_list()

void cleanup_statement_list ( tree_statement_list **  lst)

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

◆ end_token_as_string()

◆ F__parse_file__()

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

◆ F__parser_debug_flag__()

OCTAVE_EXPORT octave_value_list F__parser_debug_flag__ ( const octave_value_list args,
int  nargout 
)

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

References octave_debug, and set_internal_variable().

◆ Fassignin()

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

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

References print_usage().

◆ Fautoload()

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

◆ Fbuiltin()

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

◆ feval() [1/5]

octave_value_list 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.

Parameters
nameThe name of the function to call.
argsThe arguments to the function.
nargoutThe number of output arguments expected.
Returns
A list of output values. The length of the list is not necessarily the same as nargout.

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

References __get_interpreter__(), and interpreter::feval().

Referenced by attempt_type_conversion(), tree_evaluator::bind_ans(), octave_oncleanup::call_object_destructor(), compare_property_values(), daspk_user_function(), daspk_user_jacobian(), dasrt_user_cf(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), do_class_concat(), call_stack::do_who(), eigs_callback::eigs_complex_func(), eigs_callback::eigs_func(), named_hook_function::eval(), fcn_handle_hook_function::eval(), tree_simple_assignment::evaluate(), tree_multi_assignment::evaluate_n(), tree_identifier::evaluate_n(), cdef_method::cdef_method_rep::execute(), Fbsxfun(), Fdisplay(), Fquadcc(), get_output_list(), gtk_manager::get_toolkit(), cdef_property::cdef_property_rep::get_value(), have_gnuplot_binary(), octave_class::index_vector(), octave_class::is_true(), octave_class::load_ascii(), octave_class::load_binary(), octave_class::load_hdf5(), lsode_user_function(), lsode_user_jacobian(), maybe_missing_function_hook(), cdef_package::cdef_package_rep::meta_subsref(), mexCallMATLAB(), oct_binop_default(), oct_unop_default(), gnuplot_graphics_toolkit::print_figure(), print_usage(), quad_float_user_function(), quad_user_function(), read_mat5_binary_element(), octave_class::reconstruct_exemplar(), gnuplot_graphics_toolkit::redraw_figure(), octave_class::save_ascii(), octave_class::save_binary(), octave_class::save_hdf5(), save_mat5_binary_element(), cdef_property::cdef_property_rep::set_value(), octave_class::size(), octave_class::string_vector_value(), octave_class::subsasgn_common(), octave_class::subsref(), and octave_class::xnumel().

◆ feval() [2/5]

octave_value_list feval ( const octave_value val,
const octave_value_list args,
int  nargout 
)

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

References __get_interpreter__(), and interpreter::feval().

◆ feval() [3/5]

octave_value_list feval ( const octave_value_list args,
int  nargout 
)

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

References __get_interpreter__(), and interpreter::feval().

◆ feval() [4/5]

octave_value_list feval ( const std::string &  name,
const octave_value_list args,
int  nargout 
)

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

References __get_interpreter__(), and interpreter::feval().

◆ Feval()

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

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

References error(), and print_usage().

Referenced by Fevalc().

◆ feval() [5/5]

octave_value_list feval ( octave_function fcn,
const octave_value_list args,
int  nargout 
)

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

References __get_interpreter__(), and interpreter::feval().

◆ Fevalc()

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

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

References Feval(), max(), octave_stdout, octave_value_list::prepend(), and print_usage().

◆ Fevalin()

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

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

References print_usage().

◆ Ffeval()

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

◆ Fmfilename()

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

Definition at line 10299 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 10341 of file oct-parse.cc.

References print_usage().

◆ get_file_line()

static std::string get_file_line ( const std::string &  name,
int  line 
)
static

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

References ifstream().

Referenced by base_parser::bison_error().

◆ get_help_from_file() [1/2]

std::string get_help_from_file ( const std::string &  nm,
bool &  symbol_found 
)

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

References get_help_from_file().

◆ get_help_from_file() [2/2]

std::string get_help_from_file ( const std::string &  nm,
bool &  symbol_found,
std::string &  full_file 
)

◆ list_append()

◆ load_fcn_from_file()

◆ malloc()

void* malloc ( unsigned  )

◆ octave_error()

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

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

References 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 1645 of file lex.cc.

References ADD_EQ, AND_EQ, BLOCK_COMMENT_START, CMD_OR_DEPRECATED_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, EMUL, EMUL_EQ, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, EPOW, EPOW_EQ, EXPR_AND, EXPR_AND_AND, EXPR_EQ, EXPR_GE, EXPR_GT, EXPR_LE, EXPR_LT, EXPR_NE, EXPR_OR, EXPR_OR_OR, FCN_HANDLE, FQ_IDENT_START, HANDLE_EOB_OR_EOF, HANDLE_IDENTIFIER, HANDLE_NUMBER, HANDLE_STRING_CONTINUATION, HERMITIAN, INITIAL, INPUT_FILE, INPUT_FILE_START, is_space_or_tab(), iskeyword(), LEFTDIV, LEFTDIV_EQ, LEXICAL_ERROR, LINE_COMMENT_START, MATRIX_START, MINUS_MINUS, MUL_EQ, OR_EQ, PLUS_PLUS, POW, POW_EQ, SQ_STRING, SQ_STRING_START, SUB_EQ, TRANSPOSE, undo_string_escape(), 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 push_parser::run().

◆ octave_parse()

int octave_parse ( octave::base_parser &  parser)

Definition at line 3050 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 3089 of file oct-parse.cc.

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

◆ octave_pstate_delete()

void octave_pstate_delete ( octave_pstate yyps)

Definition at line 3120 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 yyps,
octave::base_parser &  parser 
)

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

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

Referenced by parser::run().

◆ octave_push_parse()

int octave_push_parse ( octave_pstate yyps,
int  yypushed_char,
OCTAVE_STYPE const *  yypushed_val,
octave::base_parser &  parser 
)

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

References ADD_EQ, AND_EQ, base_parser::append_args_validation_list(), base_parser::append_argument_list(), base_parser::append_cell_row(), base_parser::append_classdef_attribute(), base_parser::append_classdef_enum(), base_parser::append_classdef_enum_block(), base_parser::append_classdef_event(), base_parser::append_classdef_events_block(), base_parser::append_classdef_method(), base_parser::append_classdef_methods_block(), base_parser::append_classdef_properties_block(), base_parser::append_classdef_property(), base_parser::append_classdef_superclass(), base_parser::append_decl_init_list(), base_parser::append_function_body(), base_parser::append_if_clause(), base_parser::append_matrix_row(), base_parser::append_parameter_list(), base_parser::append_statement_list(), base_parser::append_switch_case(), base_parser::bison_error(), DIV_EQ, EDIV, EDIV_EQ, ELEFTDIV, ELEFTDIV_EQ, EMUL, EMUL_EQ, base_parser::end_token_error(), base_parser::end_token_ok(), 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_OR, EXPR_OR_OR, base_parser::finish_cell(), base_parser::finish_classdef_external_method(), base_parser::finish_classdef_file(), base_parser::finish_if_command(), base_parser::finish_input(), base_parser::finish_matrix(), base_parser::finish_switch_command(), FOR, base_lexer::get_comment(), GLOBAL, HERMITIAN, lexer::input_from_eval_string(), LEFTDIV, LEFTDIV_EQ, lexical_feedback::m_arguments_is_keyword, lexical_feedback::m_at_beginning_of_statement, lexical_feedback::m_classdef_element_names_are_keywords, lexical_feedback::m_defining_fcn, lexical_feedback::m_looking_at_anon_fcn_args, lexical_feedback::m_looking_at_decl_list, lexical_feedback::m_looking_at_function_handle, lexical_feedback::m_looking_at_indirect_ref, lexical_feedback::m_looking_at_matrix_or_assign_lhs, lexical_feedback::m_looking_at_parameter_list, lexical_feedback::m_looking_at_return_list, lexical_feedback::m_looking_for_object_index, lexical_feedback::m_maybe_classdef_get_set_method, lexical_feedback::m_nesting_level, lexical_feedback::m_parsed_function_name, lexical_feedback::m_parsing_anon_fcn_body, lexical_feedback::m_parsing_classdef, lexical_feedback::m_parsing_classdef_decl, lexical_feedback::m_parsing_classdef_get_method, lexical_feedback::m_parsing_classdef_set_method, lexical_feedback::m_parsing_classdef_superclass, lexical_feedback::m_reading_classdef_file, lexical_feedback::m_reading_fcn_file, lexical_feedback::m_reading_script_file, lexical_feedback::m_symtab_context, base_parser::make_anon_fcn_handle(), base_parser::make_arg_size_spec(), base_parser::make_arg_validation(), base_parser::make_arg_validation_fcns(), base_parser::make_args_attribute_list(), base_parser::make_args_validation_list(), base_parser::make_argument_list(), base_parser::make_arguments_block(), base_parser::make_assign_op(), base_parser::make_binary_op(), base_parser::make_black_hole(), base_parser::make_boolean_op(), base_parser::make_break_command(), base_parser::make_cell(), base_parser::make_classdef(), base_parser::make_classdef_attribute(), base_parser::make_classdef_attribute_list(), base_parser::make_classdef_body(), base_parser::make_classdef_enum(), base_parser::make_classdef_enum_block(), base_parser::make_classdef_enum_list(), base_parser::make_classdef_event(), base_parser::make_classdef_events_block(), base_parser::make_classdef_events_list(), base_parser::make_classdef_methods_block(), base_parser::make_classdef_methods_list(), base_parser::make_classdef_properties_block(), base_parser::make_classdef_property(), base_parser::make_classdef_property_list(), base_parser::make_classdef_superclass(), base_parser::make_classdef_superclass_list(), base_parser::make_colon_expression(), base_parser::make_constant(), base_parser::make_continue_command(), base_parser::make_decl_command(), base_parser::make_decl_elt(), base_parser::make_decl_init_list(), base_parser::make_default_switch_case(), base_parser::make_do_until_command(), base_parser::make_else_clause(), base_parser::make_elseif_clause(), base_parser::make_end(), base_parser::make_fcn_handle(), base_parser::make_fcn_name(), base_parser::make_for_command(), base_parser::make_function(), base_parser::make_identifier(), base_parser::make_index_expression(), base_parser::make_indirect_ref(), base_parser::make_matrix(), base_parser::make_metaclass_query(), base_parser::make_not_classdef_attribute(), base_parser::make_parameter_list(), base_parser::make_postfix_op(), base_parser::make_prefix_op(), base_parser::make_return_command(), base_parser::make_script(), base_parser::make_spmd_command(), base_parser::make_statement(), base_parser::make_statement_list(), base_parser::make_superclass_ref(), base_parser::make_switch_case(), base_parser::make_switch_case_list(), base_parser::make_try_command(), base_parser::make_unwind_command(), base_parser::make_while_command(), lexical_feedback::mark_as_variables(), base_parser::maybe_convert_to_braindead_shortcircuit(), MINUS_MINUS, MUL_EQ, OCTAVE_EMPTY, OCTAVE_EOF, OCTAVE_error, OCTAVE_UNDEF, OCTAVE_YYUSE, OR_EQ, PARFOR, base_parser::parsing_local_functions(), PERSISTENT, PLUS_PLUS, lexical_feedback::symbol_table_context::pop(), POW, POW_EQ, lexical_feedback::symbol_table_context::push(), base_parser::push_fcn_symtab(), lexical_feedback::bbp_nesting_level::remove(), base_parser::set_stmt_print_flag(), base_parser::start_classdef_external_method(), base_parser::start_if_command(), SUB_EQ, TRANSPOSE, base_parser::validate_array_list(), base_parser::validate_matrix_for_assignment(), base_parser::validate_param_list(), 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 push_parser::run().

◆ parse_fcn_file()

octave_value 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 
)

◆ source_file()

void source_file ( const std::string &  file_name,
const std::string &  context,
bool  verbose,
bool  require_file 
)

◆ yydestruct()

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

Definition at line 1761 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_, YYSYMBOL_20_, YYSYMBOL_21_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_arg_name, YYSYMBOL_arg_validation, YYSYMBOL_args_attr_list, YYSYMBOL_args_validation_list, YYSYMBOL_ARGUMENTS, YYSYMBOL_arguments_beg, YYSYMBOL_arguments_block, 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_name, YYSYMBOL_class_property, YYSYMBOL_CLASSDEF, YYSYMBOL_classdef, YYSYMBOL_classdef_beg, YYSYMBOL_CLEANUP, YYSYMBOL_colon_expr, YYSYMBOL_command, YYSYMBOL_constant, YYSYMBOL_CONTINUE, YYSYMBOL_decl_elt, YYSYMBOL_decl_init_list, YYSYMBOL_declaration, YYSYMBOL_default_case, YYSYMBOL_default_value, 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_EMUL, YYSYMBOL_EMUL_EQ, YYSYMBOL_END, YYSYMBOL_END_OF_INPUT, YYSYMBOL_enum_block, YYSYMBOL_enum_list, YYSYMBOL_enum_list1, YYSYMBOL_ENUMERATION, YYSYMBOL_enumeration_beg, YYSYMBOL_EPOW, YYSYMBOL_EPOW_EQ, YYSYMBOL_EVENTS, YYSYMBOL_events_beg, 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_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_body, YYSYMBOL_function_body1, 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_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_beg, YYSYMBOL_methods_block, YYSYMBOL_methods_list, YYSYMBOL_methods_list1, YYSYMBOL_MINUS_MINUS, YYSYMBOL_MUL_EQ, YYSYMBOL_NAME, YYSYMBOL_nl, YYSYMBOL_NUMBER, 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_beg, 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_size_spec, YYSYMBOL_SPMD, YYSYMBOL_spmd_command, 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_validation_fcns, 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 1237 of file oct-parse.cc.

Referenced by octave_push_parse().

◆ yydefact

const yytype_int16 yydefact[]
static

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

Referenced by octave_push_parse().

◆ yydefgoto

const yytype_int16 yydefgoto[]
static
Initial value:
=
{
0, 36, 37, 38, 252, 253, 254, 389, 390, 391,
255, 40, 115, 75, 42, 43, 44, 45, 46, 84,
47, 90, 85, 48, 49, 50, 86, 87, 88, 135,
51, 224, 52, 53, 54, 55, 56, 57, 58, 107,
108, 59, 60, 195, 196, 290, 291, 61, 338, 339,
340, 341, 62, 63, 64, 65, 66, 93, 272, 323,
324, 178, 179, 180, 263, 319, 316, 67, 68, 69,
70, 264, 424, 71, 396, 397, 398, 399, 400, 477,
491, 492, 507, 508, 518, 540, 558, 256, 257, 355,
386, 387, 441, 442, 457, 462, 463, 464, 465, 519,
520, 521, 466, 467, 549, 524, 569, 525, 526, 527,
468, 469, 529, 530, 531, 470, 471, 533, 534, 535,
280, 181, 522, 72, 73, 74, 162, 163, 191, 192
}

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

Referenced by octave_push_parse().

◆ yypact

const yytype_int16 yypact[]
static

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

Referenced by octave_push_parse().

◆ yypgoto

const yytype_int16 yypgoto[]
static
Initial value:
=
{
-453, -453, -453, -453, -133, -453, -453, -453, -453, -453,
2, -453, -453, 0, -453, -453, -12, -453, -453, -453,
-453, -453, 8, -453, -453, -81, -163, -86, -74, -157,
1, -122, -453, 163, -52, -453, 72, -453, -453, 326,
-68, -453, -453, -453, -453, -453, -453, -453, -453, -453,
21, 22, -453, -453, -453, -453, -453, -453, -453, 5,
-8, -453, -453, 90, -164, -453, -453, -453, -453, -453,
-453, 46, -75, -345, -50, -53, -453, -51, -453, -453,
-453, -130, -452, -453, -453, -453, -453, -453, -453, -234,
-453, -41, -453, -453, -95, -453, -453, -103, -453, -453,
-453, -161, -101, -453, -174, -453, -453, -150, -453, -453,
-82, -453, -453, -453, -146, -77, -453, -453, -453, -147,
-170, -453, -1, -453, 370, 374, -453, -453, -239, 261
}

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

Referenced by octave_push_parse().

◆ yyr1

const yytype_uint8 yyr1[]
static

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

Referenced by octave_push_parse().

◆ yyr2

const yytype_int8 yyr2[]
static

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

Referenced by octave_push_parse().

◆ yystos

const yytype_uint8 yystos[]
static

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

◆ yytable

const yytype_int16 yytable[]
static

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

Referenced by octave_push_parse().

◆ yytranslate

const yytype_int8 yytranslate[]
static

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