GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Macros | Typedefs | Enumerations | Functions
oct-parse.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  YYSTYPE

Macros

#define ADD_EQ   258
#define AND_EQ   268
#define BREAK   315
#define CASE   313
#define CATCH   321
#define CLASSDEF   337
#define CLEANUP   319
#define CONTINUE   316
#define DIV_EQ   261
#define DO   307
#define DQ_STRING   302
#define EDIV   287
#define EDIV_EQ   265
#define ELEFTDIV   288
#define ELEFTDIV_EQ   266
#define ELSE   311
#define ELSEIF   310
#define EMINUS   290
#define EMUL   286
#define EMUL_EQ   264
#define END   301
#define END_OF_INPUT   334
#define ENUMERATION   328
#define EPLUS   289
#define EPOW   296
#define EPOW_EQ   267
#define EVENTS   327
#define EXPR_AND   276
#define EXPR_AND_AND   274
#define EXPR_EQ   281
#define EXPR_GE   283
#define EXPR_GT   284
#define EXPR_LE   280
#define EXPR_LT   279
#define EXPR_NE   282
#define EXPR_NOT   278
#define EXPR_OR   277
#define EXPR_OR_OR   275
#define FCN   333
#define FCN_HANDLE   324
#define FOR   304
#define FUNC_RET   317
#define GET   331
#define GLOBAL   322
#define HERMITIAN   291
#define IF   309
#define IMAG_NUM   298
#define INPUT_FILE   336
#define LEFTDIV   285
#define LEFTDIV_EQ   262
#define LEXICAL_ERROR   335
#define LSHIFT   272
#define LSHIFT_EQ   270
#define METAQUERY   329
#define METHODS   326
#define MINUS_MINUS   294
#define MUL_EQ   260
#define NAME   300
#define NUM   297
#define OR_EQ   269
#define OTHERWISE   314
#define PARFOR   305
#define PERSISTENT   323
#define PLUS_PLUS   293
#define POW   295
#define POW_EQ   263
#define PROPERTIES   325
#define RSHIFT   273
#define RSHIFT_EQ   271
#define SET   332
#define SQ_STRING   303
#define STRUCT_ELT   299
#define SUB_EQ   259
#define SUPERCLASSREF   330
#define SWITCH   312
#define TRANSPOSE   292
#define TRY   320
#define UNARY   338
#define UNTIL   308
#define UNWIND   318
#define WHILE   306
#define YYDEBUG   0
#define YYPUSH_MORE_DEFINED
#define yystype   YYSTYPE /* obsolescent; will be withdrawn */
#define YYSTYPE_IS_DECLARED   1
#define YYSTYPE_IS_TRIVIAL   1
#define YYTOKENTYPE

Typedefs

typedef struct octave_pstate octave_pstate
typedef union YYSTYPE YYSTYPE

Enumerations

enum  { YYPUSH_MORE = 4 }
enum  yytokentype {
  BF = 258, IT = 259, SL = 260, RM = 261,
  FONTNAME = 262, FONTSIZE = 263, COLOR = 264, COLOR_RGB = 265,
  START = 266, END = 267, SUPER = 268, SUB = 269,
  CH = 270, NUM = 271, SYM = 272, SCRIPT = 273,
  STR = 274, ADD_EQ = 258, SUB_EQ = 259, MUL_EQ = 260,
  DIV_EQ = 261, LEFTDIV_EQ = 262, POW_EQ = 263, EMUL_EQ = 264,
  EDIV_EQ = 265, ELEFTDIV_EQ = 266, EPOW_EQ = 267, AND_EQ = 268,
  OR_EQ = 269, LSHIFT_EQ = 270, RSHIFT_EQ = 271, LSHIFT = 272,
  RSHIFT = 273, EXPR_AND_AND = 274, EXPR_OR_OR = 275, EXPR_AND = 276,
  EXPR_OR = 277, EXPR_NOT = 278, EXPR_LT = 279, EXPR_LE = 280,
  EXPR_EQ = 281, EXPR_NE = 282, EXPR_GE = 283, EXPR_GT = 284,
  LEFTDIV = 285, EMUL = 286, EDIV = 287, ELEFTDIV = 288,
  EPLUS = 289, EMINUS = 290, HERMITIAN = 291, TRANSPOSE = 292,
  PLUS_PLUS = 293, MINUS_MINUS = 294, POW = 295, EPOW = 296,
  NUM = 297, IMAG_NUM = 298, STRUCT_ELT = 299, NAME = 300,
  END = 301, DQ_STRING = 302, SQ_STRING = 303, FOR = 304,
  PARFOR = 305, WHILE = 306, DO = 307, UNTIL = 308,
  IF = 309, ELSEIF = 310, ELSE = 311, SWITCH = 312,
  CASE = 313, OTHERWISE = 314, BREAK = 315, CONTINUE = 316,
  FUNC_RET = 317, UNWIND = 318, CLEANUP = 319, TRY = 320,
  CATCH = 321, GLOBAL = 322, PERSISTENT = 323, FCN_HANDLE = 324,
  PROPERTIES = 325, METHODS = 326, EVENTS = 327, ENUMERATION = 328,
  METAQUERY = 329, SUPERCLASSREF = 330, GET = 331, SET = 332,
  FCN = 333, END_OF_INPUT = 334, LEXICAL_ERROR = 335, INPUT_FILE = 336,
  CLASSDEF = 337, UNARY = 338, ADD_EQ = 258, SUB_EQ = 259,
  MUL_EQ = 260, DIV_EQ = 261, LEFTDIV_EQ = 262, POW_EQ = 263,
  EMUL_EQ = 264, EDIV_EQ = 265, ELEFTDIV_EQ = 266, EPOW_EQ = 267,
  AND_EQ = 268, OR_EQ = 269, LSHIFT_EQ = 270, RSHIFT_EQ = 271,
  LSHIFT = 272, RSHIFT = 273, EXPR_AND_AND = 274, EXPR_OR_OR = 275,
  EXPR_AND = 276, EXPR_OR = 277, EXPR_NOT = 278, EXPR_LT = 279,
  EXPR_LE = 280, EXPR_EQ = 281, EXPR_NE = 282, EXPR_GE = 283,
  EXPR_GT = 284, LEFTDIV = 285, EMUL = 286, EDIV = 287,
  ELEFTDIV = 288, EPLUS = 289, EMINUS = 290, HERMITIAN = 291,
  TRANSPOSE = 292, PLUS_PLUS = 293, MINUS_MINUS = 294, POW = 295,
  EPOW = 296, NUM = 297, IMAG_NUM = 298, STRUCT_ELT = 299,
  NAME = 300, END = 301, DQ_STRING = 302, SQ_STRING = 303,
  FOR = 304, PARFOR = 305, WHILE = 306, DO = 307,
  UNTIL = 308, IF = 309, ELSEIF = 310, ELSE = 311,
  SWITCH = 312, CASE = 313, OTHERWISE = 314, BREAK = 315,
  CONTINUE = 316, FUNC_RET = 317, UNWIND = 318, CLEANUP = 319,
  TRY = 320, CATCH = 321, GLOBAL = 322, PERSISTENT = 323,
  FCN_HANDLE = 324, PROPERTIES = 325, METHODS = 326, EVENTS = 327,
  ENUMERATION = 328, METAQUERY = 329, SUPERCLASSREF = 330, GET = 331,
  SET = 332, FCN = 333, END_OF_INPUT = 334, LEXICAL_ERROR = 335,
  INPUT_FILE = 336, CLASSDEF = 337, UNARY = 338
}

Functions

int octave_parse ()
void octave_pstate_delete ()
octave_pstateoctave_pstate_new ()
int octave_pull_parse ()
int octave_push_parse ()

Macro Definition Documentation

#define ADD_EQ   258

Definition at line 133 of file oct-parse.h.

#define AND_EQ   268

Definition at line 143 of file oct-parse.h.

#define BREAK   315

Definition at line 190 of file oct-parse.h.

#define CASE   313

Definition at line 188 of file oct-parse.h.

#define CATCH   321

Definition at line 196 of file oct-parse.h.

#define CLASSDEF   337

Definition at line 212 of file oct-parse.h.

#define CLEANUP   319

Definition at line 194 of file oct-parse.h.

#define CONTINUE   316

Definition at line 191 of file oct-parse.h.

#define DIV_EQ   261

Definition at line 136 of file oct-parse.h.

#define DO   307

Definition at line 182 of file oct-parse.h.

#define DQ_STRING   302

Definition at line 177 of file oct-parse.h.

#define EDIV   287

Definition at line 162 of file oct-parse.h.

#define EDIV_EQ   265

Definition at line 140 of file oct-parse.h.

#define ELEFTDIV   288

Definition at line 163 of file oct-parse.h.

#define ELEFTDIV_EQ   266

Definition at line 141 of file oct-parse.h.

#define ELSE   311

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

#define ELSEIF   310

Definition at line 185 of file oct-parse.h.

#define EMINUS   290

Definition at line 165 of file oct-parse.h.

#define EMUL   286

Definition at line 161 of file oct-parse.h.

#define EMUL_EQ   264

Definition at line 139 of file oct-parse.h.

#define END   301

Definition at line 176 of file oct-parse.h.

#define END_OF_INPUT   334

Definition at line 209 of file oct-parse.h.

#define ENUMERATION   328

Definition at line 203 of file oct-parse.h.

#define EPLUS   289

Definition at line 164 of file oct-parse.h.

#define EPOW   296

Definition at line 171 of file oct-parse.h.

#define EPOW_EQ   267

Definition at line 142 of file oct-parse.h.

#define EVENTS   327

Definition at line 202 of file oct-parse.h.

#define EXPR_AND   276

Definition at line 151 of file oct-parse.h.

#define EXPR_AND_AND   274

Definition at line 149 of file oct-parse.h.

#define EXPR_EQ   281

Definition at line 156 of file oct-parse.h.

#define EXPR_GE   283

Definition at line 158 of file oct-parse.h.

#define EXPR_GT   284

Definition at line 159 of file oct-parse.h.

#define EXPR_LE   280

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

#define EXPR_LT   279

Definition at line 154 of file oct-parse.h.

#define EXPR_NE   282

Definition at line 157 of file oct-parse.h.

#define EXPR_NOT   278

Definition at line 153 of file oct-parse.h.

#define EXPR_OR   277

Definition at line 152 of file oct-parse.h.

#define EXPR_OR_OR   275

Definition at line 150 of file oct-parse.h.

#define FCN   333

Definition at line 208 of file oct-parse.h.

#define FCN_HANDLE   324

Definition at line 199 of file oct-parse.h.

#define FOR   304

Definition at line 179 of file oct-parse.h.

#define FUNC_RET   317

Definition at line 192 of file oct-parse.h.

#define GET   331

Definition at line 206 of file oct-parse.h.

#define GLOBAL   322

Definition at line 197 of file oct-parse.h.

#define HERMITIAN   291

Definition at line 166 of file oct-parse.h.

#define IF   309

Definition at line 184 of file oct-parse.h.

#define IMAG_NUM   298

Definition at line 173 of file oct-parse.h.

#define INPUT_FILE   336

Definition at line 211 of file oct-parse.h.

#define LEFTDIV   285

Definition at line 160 of file oct-parse.h.

#define LEFTDIV_EQ   262

Definition at line 137 of file oct-parse.h.

#define LEXICAL_ERROR   335

Definition at line 210 of file oct-parse.h.

#define LSHIFT   272

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

#define LSHIFT_EQ   270

Definition at line 145 of file oct-parse.h.

#define METAQUERY   329

Definition at line 204 of file oct-parse.h.

#define METHODS   326

Definition at line 201 of file oct-parse.h.

#define MINUS_MINUS   294

Definition at line 169 of file oct-parse.h.

#define MUL_EQ   260

Definition at line 135 of file oct-parse.h.

#define NAME   300

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

#define NUM   297

Definition at line 172 of file oct-parse.h.

#define OR_EQ   269

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

#define OTHERWISE   314

Definition at line 189 of file oct-parse.h.

#define PARFOR   305

Definition at line 180 of file oct-parse.h.

#define PERSISTENT   323

Definition at line 198 of file oct-parse.h.

#define PLUS_PLUS   293

Definition at line 168 of file oct-parse.h.

#define POW   295

Definition at line 170 of file oct-parse.h.

#define POW_EQ   263

Definition at line 138 of file oct-parse.h.

#define PROPERTIES   325

Definition at line 200 of file oct-parse.h.

#define RSHIFT   273

Definition at line 148 of file oct-parse.h.

#define RSHIFT_EQ   271

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

#define SET   332

Definition at line 207 of file oct-parse.h.

#define SQ_STRING   303

Definition at line 178 of file oct-parse.h.

#define STRUCT_ELT   299

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

#define SUB_EQ   259

Definition at line 134 of file oct-parse.h.

#define SUPERCLASSREF   330

Definition at line 205 of file oct-parse.h.

#define SWITCH   312

Definition at line 187 of file oct-parse.h.

#define TRANSPOSE   292

Definition at line 167 of file oct-parse.h.

#define TRY   320

Definition at line 195 of file oct-parse.h.

#define UNARY   338

Definition at line 213 of file oct-parse.h.

#define UNTIL   308

Definition at line 183 of file oct-parse.h.

#define UNWIND   318

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

#define WHILE   306

Definition at line 181 of file oct-parse.h.

#define YYDEBUG   0

Definition at line 37 of file oct-parse.h.

#define YYPUSH_MORE_DEFINED

Definition at line 269 of file oct-parse.h.

#define yystype   YYSTYPE /* obsolescent; will be withdrawn */

Definition at line 263 of file oct-parse.h.

#define YYSTYPE_IS_DECLARED   1

Definition at line 264 of file oct-parse.h.

#define YYSTYPE_IS_TRIVIAL   1

Definition at line 262 of file oct-parse.h.

#define YYTOKENTYPE

Definition at line 45 of file oct-parse.h.

Typedef Documentation

typedef struct octave_pstate octave_pstate

Definition at line 273 of file oct-parse.h.

typedef union YYSTYPE YYSTYPE

Enumeration Type Documentation

anonymous enum
Enumerator:
YYPUSH_MORE 

Definition at line 270 of file oct-parse.h.

Enumerator:
BF 
IT 
SL 
RM 
FONTNAME 
FONTSIZE 
COLOR 
COLOR_RGB 
START 
END 
SUPER 
SUB 
CH 
NUM 
SYM 
SCRIP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S 
POW 
EPOW 
NUM 
IMAG_NUM 
STRUCT_ELT 
NAME 
END 
DQ_STRING 
SQ_STRING 
FOR 
PARFOR 
WHILE 
DO 
UNTIL 
IF 
ELSEIF 
ELSE 
SWITCH 
CASE 
OTHERWISE 
BREAK 
CONTINUE 
FUNC_RET 
UNWIND 
CLEANUP 
TRY 
CATCH 
GLOBAL 
PERSISTENT 
FCN_HANDLE 
PROPERTIES 
METHODS 
EVENTS 
ENUMERATION 
METAQUERY 
SUPERCLASSREF 
GET 
SET 
FCN 
END_OF_INPUT 
LEXICAL_ERROR 
INPUT_FILE 
CLASSDEF 
UNARY 

Definition at line 48 of file oct-parse.h.

Function Documentation

int octave_parse ( )
void octave_pstate_delete ( )
octave_pstate* octave_pstate_new ( )
int octave_pull_parse ( )
int octave_push_parse ( )