GDB (xrefs)
Classes | Macros | Typedefs | Enumerations | Functions | Variables
/tmp/gdb-7.10/gdb/jv-exp.c File Reference
#include "defs.h"
#include <ctype.h>
#include "expression.h"
#include "value.h"
#include "parser-defs.h"
#include "language.h"
#include "jv-lang.h"
#include "bfd.h"
#include "symfile.h"
#include "objfiles.h"
#include "block.h"
#include "completer.h"
#include <stddef.h>

Go to the source code of this file.

Classes

union  YYSTYPE
 
union  yyalloc
 
struct  token
 

Macros

#define YYBISON   1
 
#define YYBISON_VERSION   "3.0.2"
 
#define YYSKELETON_NAME   "yacc.c"
 
#define YYPURE   0
 
#define YYPUSH   0
 
#define YYPULL   1
 
#define parse_type(ps)   builtin_type (parse_gdbarch (ps))
 
#define parse_java_type(ps)   builtin_java_type (parse_gdbarch (ps))
 
#define yymaxdepth   java_maxdepth
 
#define yyparse   java_parse_internal
 
#define yylex   java_lex
 
#define yyerror   java_error
 
#define yylval   java_lval
 
#define yychar   java_char
 
#define yydebug   java_debug
 
#define yypact   java_pact
 
#define yyr1   java_r1
 
#define yyr2   java_r2
 
#define yydef   java_def
 
#define yychk   java_chk
 
#define yypgo   java_pgo
 
#define yyact   java_act
 
#define yyexca   java_exca
 
#define yyerrflag   java_errflag
 
#define yynerrs   java_nerrs
 
#define yyps   java_ps
 
#define yypv   java_pv
 
#define yys   java_s
 
#define yy_yys   java_yys
 
#define yystate   java_state
 
#define yytmp   java_tmp
 
#define yyv   java_v
 
#define yy_yyv   java_yyv
 
#define yyval   java_val
 
#define yylloc   java_lloc
 
#define yyreds   java_reds /* With YYDEBUG defined */
 
#define yytoks   java_toks /* With YYDEBUG defined */
 
#define yyname   java_name /* With YYDEBUG defined */
 
#define yyrule   java_rule /* With YYDEBUG defined */
 
#define yylhs   java_yylhs
 
#define yylen   java_yylen
 
#define yydefred   java_yydefred
 
#define yydgoto   java_yydgoto
 
#define yysindex   java_yysindex
 
#define yyrindex   java_yyrindex
 
#define yygindex   java_yygindex
 
#define yytable   java_yytable
 
#define yycheck   java_yycheck
 
#define yyss   java_yyss
 
#define yysslim   java_yysslim
 
#define yyssp   java_yyssp
 
#define yystacksize   java_yystacksize
 
#define yyvs   java_yyvs
 
#define yyvsp   java_yyvsp
 
#define YYDEBUG   1 /* Default to yydebug support */
 
#define YYFPRINTF   parser_fprintf
 
#define YY_NULLPTR   0
 
#define YYERROR_VERBOSE   0
 
#define YYTOKENTYPE
 
#define INTEGER_LITERAL   258
 
#define FLOATING_POINT_LITERAL   259
 
#define IDENTIFIER   260
 
#define STRING_LITERAL   261
 
#define BOOLEAN_LITERAL   262
 
#define TYPENAME   263
 
#define NAME_OR_INT   264
 
#define ERROR   265
 
#define LONG   266
 
#define SHORT   267
 
#define BYTE   268
 
#define INT   269
 
#define CHAR   270
 
#define BOOLEAN   271
 
#define DOUBLE   272
 
#define FLOAT   273
 
#define VARIABLE   274
 
#define ASSIGN_MODIFY   275
 
#define SUPER   276
 
#define NEW   277
 
#define OROR   278
 
#define ANDAND   279
 
#define EQUAL   280
 
#define NOTEQUAL   281
 
#define LEQ   282
 
#define GEQ   283
 
#define LSH   284
 
#define RSH   285
 
#define INCREMENT   286
 
#define DECREMENT   287
 
#define YYSTYPE_IS_TRIVIAL   1
 
#define YYSTYPE_IS_DECLARED   1
 
#define YYSIZE_T   size_t
 
#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)
 
#define YY_(Msgid)   Msgid
 
#define YY_ATTRIBUTE(Spec)   /* empty */
 
#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))
 
#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))
 
#define YYUSE(E)   ((void) (E))
 
#define YY_INITIAL_VALUE(Value)   Value
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
 
#define YYSTACK_ALLOC   YYMALLOC
 
#define YYSTACK_FREE   YYFREE
 
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
 
#define YYMALLOC   xmalloc
 
#define YYFREE   xfree
 
#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
 
#define YYSTACK_BYTES(N)
 
#define YYCOPY_NEEDED   1
 
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
 
#define YYCOPY(Dst, Src, Count)
 
#define YYFINAL   98
 
#define YYLAST   373
 
#define YYNTOKENS   56
 
#define YYNNTS   58
 
#define YYNRULES   132
 
#define YYNSTATES   209
 
#define YYUNDEFTOK   2
 
#define YYMAXUTOK   287
 
#define YYTRANSLATE(YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
 
#define YYPACT_NINF   -145
 
#define yypact_value_is_default(Yystate)   (!!((Yystate) == (-145)))
 
#define YYTABLE_NINF   -132
 
#define yytable_value_is_error(Yytable_value)   0
 
#define yyerrok   (yyerrstatus = 0)
 
#define yyclearin   (yychar = YYEMPTY)
 
#define YYEMPTY   (-2)
 
#define YYEOF   0
 
#define YYACCEPT   goto yyacceptlab
 
#define YYABORT   goto yyabortlab
 
#define YYERROR   goto yyerrorlab
 
#define YYRECOVERING()   (!!yyerrstatus)
 
#define YYBACKUP(Token, Value)
 
#define YYTERROR   1
 
#define YYERRCODE   256
 
#define YYDPRINTF(Args)
 
#define YY_LOCATION_PRINT(File, Loc)   ((void) 0)
 
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
 
#define YY_STACK_PRINT(Bottom, Top)
 
#define YY_REDUCE_PRINT(Rule)
 
#define YYINITDEPTH   200
 
#define YYMAXDEPTH   10000
 
#define YYPOPSTACK(N)    (yyvsp -= (N), yyssp -= (N))
 

Typedefs

typedef union YYSTYPE YYSTYPE
 
typedef unsigned char yytype_uint8
 
typedef signed char yytype_int8
 
typedef unsigned short int yytype_uint16
 
typedef short int yytype_int16
 

Enumerations

enum  yytokentype {
  INT = 258, NULL_PTR = 259, CHARLIT = 260, FLOAT = 261,
  TRUEKEYWORD = 262, FALSEKEYWORD = 263, COLONCOLON = 264, STRING = 265,
  NAME = 266, DOT_ID = 267, DOT_ALL = 268, SPECIAL_VARIABLE = 269,
  ASSIGN = 270, _AND_ = 271, OR = 272, XOR = 273,
  THEN = 274, ELSE = 275, NOTEQUAL = 276, LEQ = 277,
  GEQ = 278, IN = 279, DOTDOT = 280, UNARY = 281,
  MOD = 282, REM = 283, STARSTAR = 284, ABS = 285,
  NOT = 286, VAR = 287, ARROW = 288, TICK_ACCESS = 289,
  TICK_ADDRESS = 290, TICK_FIRST = 291, TICK_LAST = 292, TICK_LENGTH = 293,
  TICK_MAX = 294, TICK_MIN = 295, TICK_MODULUS = 296, TICK_POS = 297,
  TICK_RANGE = 298, TICK_SIZE = 299, TICK_TAG = 300, TICK_VAL = 301,
  NEW = 302, OTHERS = 303, INT = 258, FLOAT = 259,
  DECFLOAT = 260, STRING = 261, NSSTRING = 262, SELECTOR = 263,
  CHAR = 264, NAME = 265, UNKNOWN_CPP_NAME = 266, COMPLETE = 267,
  TYPENAME = 268, CLASSNAME = 269, OBJC_LBRAC = 270, NAME_OR_INT = 271,
  OPERATOR = 272, STRUCT = 273, CLASS = 274, UNION = 275,
  ENUM = 276, SIZEOF = 277, UNSIGNED = 278, COLONCOLON = 279,
  TEMPLATE = 280, ERROR = 281, NEW = 282, DELETE = 283,
  REINTERPRET_CAST = 284, DYNAMIC_CAST = 285, STATIC_CAST = 286, CONST_CAST = 287,
  ENTRY = 288, TYPEOF = 289, DECLTYPE = 290, TYPEID = 291,
  SIGNED_KEYWORD = 292, LONG = 293, SHORT = 294, INT_KEYWORD = 295,
  CONST_KEYWORD = 296, VOLATILE_KEYWORD = 297, DOUBLE_KEYWORD = 298, VARIABLE = 299,
  ASSIGN_MODIFY = 300, TRUEKEYWORD = 301, FALSEKEYWORD = 302, ABOVE_COMMA = 303,
  OROR = 304, ANDAND = 305, EQUAL = 306, NOTEQUAL = 307,
  LEQ = 308, GEQ = 309, LSH = 310, RSH = 311,
  UNARY = 312, INCREMENT = 313, DECREMENT = 314, ARROW = 315,
  ARROW_STAR = 316, DOT_STAR = 317, BLOCKNAME = 318, FILENAME = 319,
  DOTDOTDOT = 320, INT = 258, FLOAT = 259, NAME = 260,
  STRUCT = 261, CLASS = 262, UNION = 263, ENUM = 264,
  SIZEOF = 265, UNSIGNED = 266, COLONCOLON = 267, TEMPLATE = 268,
  ERROR = 269, NEW = 270, DELETE = 271, OPERATOR = 272,
  STATIC_CAST = 273, REINTERPRET_CAST = 274, DYNAMIC_CAST = 275, SIGNED_KEYWORD = 276,
  LONG = 277, SHORT = 278, INT_KEYWORD = 279, CONST_KEYWORD = 280,
  VOLATILE_KEYWORD = 281, DOUBLE_KEYWORD = 282, BOOL = 283, ELLIPSIS = 284,
  RESTRICT = 285, VOID = 286, FLOAT_KEYWORD = 287, CHAR = 288,
  WCHAR_T = 289, ASSIGN_MODIFY = 290, TRUEKEYWORD = 291, FALSEKEYWORD = 292,
  DEMANGLER_SPECIAL = 293, CONSTRUCTION_VTABLE = 294, CONSTRUCTION_IN = 295, OROR = 296,
  ANDAND = 297, EQUAL = 298, NOTEQUAL = 299, LEQ = 300,
  GEQ = 301, LSH = 302, RSH = 303, UNARY = 304,
  INCREMENT = 305, DECREMENT = 306, ARROW = 307, IDENTIFIER = 258,
  TYPENAME = 259, COMPLETE = 260, NAME_OR_INT = 261, INTEGER_LITERAL = 262,
  FLOAT_LITERAL = 263, CHARACTER_LITERAL = 264, STRING_LITERAL = 265, ENTRY = 266,
  ERROR = 267, TRUE_KEYWORD = 268, FALSE_KEYWORD = 269, NULL_KEYWORD = 270,
  SUPER_KEYWORD = 271, CAST_KEYWORD = 272, SIZEOF_KEYWORD = 273, TYPEOF_KEYWORD = 274,
  TYPEID_KEYWORD = 275, INIT_KEYWORD = 276, IMMUTABLE_KEYWORD = 277, CONST_KEYWORD = 278,
  SHARED_KEYWORD = 279, STRUCT_KEYWORD = 280, UNION_KEYWORD = 281, CLASS_KEYWORD = 282,
  INTERFACE_KEYWORD = 283, ENUM_KEYWORD = 284, TEMPLATE_KEYWORD = 285, DELEGATE_KEYWORD = 286,
  FUNCTION_KEYWORD = 287, DOLLAR_VARIABLE = 288, ASSIGN_MODIFY = 289, OROR = 290,
  ANDAND = 291, EQUAL = 292, NOTEQUAL = 293, LEQ = 294,
  GEQ = 295, LSH = 296, RSH = 297, HATHAT = 298,
  IDENTITY = 299, NOTIDENTITY = 300, INCREMENT = 301, DECREMENT = 302,
  DOTDOT = 303, INT = 258, FLOAT = 259, STRING_LITERAL = 260,
  BOOLEAN_LITERAL = 261, NAME = 262, TYPENAME = 263, NAME_OR_INT = 264,
  SIZEOF = 265, ERROR = 266, INT_KEYWORD = 267, INT_S2_KEYWORD = 268,
  LOGICAL_S1_KEYWORD = 269, LOGICAL_S2_KEYWORD = 270, LOGICAL_S8_KEYWORD = 271, LOGICAL_KEYWORD = 272,
  REAL_KEYWORD = 273, REAL_S8_KEYWORD = 274, REAL_S16_KEYWORD = 275, COMPLEX_S8_KEYWORD = 276,
  COMPLEX_S16_KEYWORD = 277, COMPLEX_S32_KEYWORD = 278, BOOL_AND = 279, BOOL_OR = 280,
  BOOL_NOT = 281, CHARACTER = 282, VARIABLE = 283, ASSIGN_MODIFY = 284,
  ABOVE_COMMA = 285, EQUAL = 286, NOTEQUAL = 287, LESSTHAN = 288,
  GREATERTHAN = 289, LEQ = 290, GEQ = 291, LSH = 292,
  RSH = 293, STARSTAR = 294, UNARY = 295, INT = 258,
  FLOAT = 259, RAW_STRING = 260, STRING = 261, CHAR = 262,
  NAME = 263, TYPENAME = 264, COMPLETE = 265, NAME_OR_INT = 266,
  TRUE_KEYWORD = 267, FALSE_KEYWORD = 268, STRUCT_KEYWORD = 269, INTERFACE_KEYWORD = 270,
  TYPE_KEYWORD = 271, CHAN_KEYWORD = 272, SIZEOF_KEYWORD = 273, LEN_KEYWORD = 274,
  CAP_KEYWORD = 275, NEW_KEYWORD = 276, IOTA_KEYWORD = 277, NIL_KEYWORD = 278,
  CONST_KEYWORD = 279, DOTDOTDOT = 280, ENTRY = 281, ERROR = 282,
  BYTE_KEYWORD = 283, DOLLAR_VARIABLE = 284, ASSIGN_MODIFY = 285, ABOVE_COMMA = 286,
  OROR = 287, ANDAND = 288, ANDNOT = 289, EQUAL = 290,
  NOTEQUAL = 291, LEQ = 292, GEQ = 293, LSH = 294,
  RSH = 295, UNARY = 296, INCREMENT = 297, DECREMENT = 298,
  LEFT_ARROW = 299, INTEGER_LITERAL = 258, FLOATING_POINT_LITERAL = 259, IDENTIFIER = 260,
  STRING_LITERAL = 261, BOOLEAN_LITERAL = 262, TYPENAME = 263, NAME_OR_INT = 264,
  ERROR = 265, LONG = 266, SHORT = 267, BYTE = 268,
  INT = 269, CHAR = 270, BOOLEAN = 271, DOUBLE = 272,
  FLOAT = 273, VARIABLE = 274, ASSIGN_MODIFY = 275, SUPER = 276,
  NEW = 277, OROR = 278, ANDAND = 279, EQUAL = 280,
  NOTEQUAL = 281, LEQ = 282, GEQ = 283, LSH = 284,
  RSH = 285, INCREMENT = 286, DECREMENT = 287, INT = 258,
  HEX = 259, ERROR = 260, UINT = 261, M2_TRUE = 262,
  M2_FALSE = 263, CHAR = 264, FLOAT = 265, STRING = 266,
  NAME = 267, BLOCKNAME = 268, IDENT = 269, VARNAME = 270,
  TYPENAME = 271, SIZE = 272, CAP = 273, ORD = 274,
  HIGH = 275, ABS = 276, MIN_FUNC = 277, MAX_FUNC = 278,
  FLOAT_FUNC = 279, VAL = 280, CHR = 281, ODD = 282,
  TRUNC = 283, TSIZE = 284, INC = 285, DEC = 286,
  INCL = 287, EXCL = 288, COLONCOLON = 289, INTERNAL_VAR = 290,
  ABOVE_COMMA = 291, ASSIGN = 292, LEQ = 293, GEQ = 294,
  NOTEQUAL = 295, IN = 296, OROR = 297, LOGICAL_AND = 298,
  DIV = 299, MOD = 300, UNARY = 301, DOT = 302,
  NOT = 303, QID = 304, INT = 258, FLOAT = 259,
  STRING = 260, FIELDNAME = 261, COMPLETE = 262, NAME = 263,
  TYPENAME = 264, NAME_OR_INT = 265, STRUCT = 266, CLASS = 267,
  SIZEOF = 268, COLONCOLON = 269, ERROR = 270, VARIABLE = 271,
  THIS = 272, TRUEKEYWORD = 273, FALSEKEYWORD = 274, ABOVE_COMMA = 275,
  ASSIGN = 276, NOT = 277, OR = 278, XOR = 279,
  ANDAND = 280, NOTEQUAL = 281, LEQ = 282, GEQ = 283,
  LSH = 284, RSH = 285, DIV = 286, MOD = 287,
  UNARY = 288, INCREMENT = 289, DECREMENT = 290, ARROW = 291,
  BLOCKNAME = 292
}
 

Functions

int yyparse (void)
 
static int yylex (void)
 
void yyerror (char *)
 
static struct typejava_type_from_name (struct stoken)
 
static void push_expression_name (struct parser_state *, struct stoken)
 
static void push_fieldnames (struct parser_state *, struct stoken)
 
static struct expressioncopy_exp (struct expression *, int)
 
static void insert_exp (struct parser_state *, int, struct expression *)
 
static int parse_number (struct parser_state *, const char *, int, int, YYSTYPE *)
 
void * xmalloc (YYSIZE_T)
 
void xfree (void *)
 
static void yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep)
 
static void yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep)
 
static void yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)
 
static void yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule)
 
static void yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
 
int java_parse (struct parser_state *par_state)
 
static int push_variable (struct parser_state *par_state, struct stoken name)
 
static void push_qualified_expression_name (struct parser_state *par_state, struct stoken name, int dot_index)
 

Variables

static struct parser_statepstate = NULL
 
int yydebug
 
YYSTYPE yylval
 
static const yytype_uint8 yytranslate []
 
static const yytype_uint16 yyrline []
 
static const char *const yytname []
 
static const yytype_int16 yypact []
 
static const yytype_uint8 yydefact []
 
static const yytype_int16 yypgoto []
 
static const yytype_int16 yydefgoto []
 
static const yytype_int16 yytable []
 
static const yytype_int16 yycheck []
 
static const yytype_uint8 yystos []
 
static const yytype_uint8 yyr1 []
 
static const yytype_uint8 yyr2 []
 
int yychar
 
int yynerrs
 
static const struct token tokentab3 []
 
static const struct token tokentab2 []
 

Macro Definition Documentation

#define ANDAND   279

Definition at line 249 of file jv-exp.c.

#define ASSIGN_MODIFY   275

Definition at line 245 of file jv-exp.c.

#define BOOLEAN   271

Definition at line 241 of file jv-exp.c.

Referenced by yylex().

#define BOOLEAN_LITERAL   262

Definition at line 232 of file jv-exp.c.

Referenced by yylex().

#define BYTE   268

Definition at line 238 of file jv-exp.c.

Referenced by yylex().

#define CHAR   270

Definition at line 240 of file jv-exp.c.

Referenced by yylex().

#define DECREMENT   287

Definition at line 257 of file jv-exp.c.

#define DOUBLE   272

Definition at line 242 of file jv-exp.c.

Referenced by yylex().

#define EQUAL   280

Definition at line 250 of file jv-exp.c.

#define ERROR   265

Definition at line 235 of file jv-exp.c.

Referenced by parse_number(), and yylex().

#define FLOAT   273

Definition at line 243 of file jv-exp.c.

Referenced by yylex().

#define FLOATING_POINT_LITERAL   259

Definition at line 229 of file jv-exp.c.

Referenced by parse_number().

#define GEQ   283

Definition at line 253 of file jv-exp.c.

#define IDENTIFIER   260

Definition at line 230 of file jv-exp.c.

Referenced by yylex().

#define INCREMENT   286

Definition at line 256 of file jv-exp.c.

#define INT   269

Definition at line 239 of file jv-exp.c.

Referenced by yylex().

#define INTEGER_LITERAL   258

Definition at line 228 of file jv-exp.c.

Referenced by parse_number(), and yylex().

#define LEQ   282

Definition at line 252 of file jv-exp.c.

#define LONG   266

Definition at line 236 of file jv-exp.c.

Referenced by yylex().

#define LSH   284

Definition at line 254 of file jv-exp.c.

#define NAME_OR_INT   264

Definition at line 234 of file jv-exp.c.

Referenced by yylex().

#define NEW   277

Definition at line 247 of file jv-exp.c.

Referenced by yylex().

#define NOTEQUAL   281

Definition at line 251 of file jv-exp.c.

#define OROR   278

Definition at line 248 of file jv-exp.c.

#define parse_java_type (   ps)    builtin_java_type (parse_gdbarch (ps))

Definition at line 82 of file jv-exp.c.

Referenced by parse_number(), yylex(), and yyparse().

#define parse_type (   ps)    builtin_type (parse_gdbarch (ps))

Definition at line 81 of file jv-exp.c.

Referenced by parse_number().

#define RSH   285

Definition at line 255 of file jv-exp.c.

#define SHORT   267

Definition at line 237 of file jv-exp.c.

Referenced by yylex().

#define STRING_LITERAL   261

Definition at line 231 of file jv-exp.c.

Referenced by yylex().

#define SUPER   276

Definition at line 246 of file jv-exp.c.

Referenced by yylex().

#define TYPENAME   263

Definition at line 233 of file jv-exp.c.

#define VARIABLE   274

Definition at line 244 of file jv-exp.c.

Referenced by yylex().

#define YY_ (   Msgid)    Msgid

Definition at line 359 of file jv-exp.c.

Referenced by yyparse().

#define YY_ATTRIBUTE (   Spec)    /* empty */

Definition at line 369 of file jv-exp.c.

#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))

Definition at line 374 of file jv-exp.c.

#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))

Definition at line 378 of file jv-exp.c.

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 409 of file jv-exp.c.

Referenced by yydestruct(), and yyparse().

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 410 of file jv-exp.c.

Referenced by yydestruct(), and yyparse().

#define YY_INITIAL_VALUE (   Value)    Value

Definition at line 406 of file jv-exp.c.

#define YY_LOCATION_PRINT (   File,
  Loc 
)    ((void) 0)

Definition at line 960 of file jv-exp.c.

#define YY_NULLPTR   0

Definition at line 169 of file jv-exp.c.

#define YY_REDUCE_PRINT (   Rule)
Value:
do { \
yy_reduce_print (yyssp, yyvsp, Rule); \
} while (0)
#define yydebug
Definition: jv-exp.c:97
if(!(yy_init))
Definition: ada-lex.c:1072
#define yyvsp
Definition: jv-exp.c:136
#define yyssp
Definition: jv-exp.c:133

Definition at line 1057 of file jv-exp.c.

Referenced by yyparse().

#define YY_STACK_PRINT (   Bottom,
  Top 
)
Value:
do { \
yy_stack_print ((Bottom), (Top)); \
} while (0)
#define yydebug
Definition: jv-exp.c:97
if(!(yy_init))
Definition: ada-lex.c:1072

Definition at line 1026 of file jv-exp.c.

Referenced by yyparse().

#define YY_SYMBOL_PRINT (   Title,
  Type,
  Value,
  Location 
)
Value:
do { \
{ \
YYFPRINTF (stderr, "%s ", Title); \
yy_symbol_print (stderr, \
Type, Value); \
YYFPRINTF (stderr, "\n"); \
} \
} while (0)
#define yydebug
Definition: jv-exp.c:97
if(!(yy_init))
Definition: ada-lex.c:1072

Definition at line 964 of file jv-exp.c.

Referenced by yydestruct(), and yyparse().

#define yy_yys   java_yys

Definition at line 111 of file jv-exp.c.

#define yy_yyv   java_yyv

Definition at line 115 of file jv-exp.c.

#define YYABORT   goto yyabortlab

Definition at line 915 of file jv-exp.c.

Referenced by yyparse().

#define YYACCEPT   goto yyacceptlab

Definition at line 914 of file jv-exp.c.

Referenced by yyparse().

#define yyact   java_act

Definition at line 104 of file jv-exp.c.

#define YYBACKUP (   Token,
  Value 
)
Value:
{ \
yychar = (Token); \
yylval = (Value); \
YYPOPSTACK (yylen); \
yystate = *yyssp; \
goto yybackup; \
} \
else \
{ \
yyerror (YY_("syntax error: cannot back up")); \
YYERROR; \
} \
while (0)
if(!(yy_init))
Definition: ada-lex.c:1072
#define yylen
Definition: jv-exp.c:123
#define YY_(Msgid)
Definition: jv-exp.c:359
#define YYEMPTY
Definition: jv-exp.c:911
#define yyssp
Definition: jv-exp.c:133
#define yychar
Definition: jv-exp.c:96

Definition at line 921 of file jv-exp.c.

#define YYBISON   1

Definition at line 44 of file jv-exp.c.

#define YYBISON_VERSION   "3.0.2"

Definition at line 47 of file jv-exp.c.

#define yychar   java_char

Definition at line 96 of file jv-exp.c.

#define yycheck   java_yycheck

Definition at line 130 of file jv-exp.c.

Referenced by yyparse().

#define yychk   java_chk

Definition at line 102 of file jv-exp.c.

#define yyclearin   (yychar = YYEMPTY)

Definition at line 910 of file jv-exp.c.

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

Definition at line 532 of file jv-exp.c.

#define YYCOPY_NEEDED   1

Definition at line 504 of file jv-exp.c.

#define yydebug   java_debug

Definition at line 97 of file jv-exp.c.

#define YYDEBUG   1 /* Default to yydebug support */

Definition at line 139 of file jv-exp.c.

#define yydef   java_def

Definition at line 101 of file jv-exp.c.

#define yydefred   java_yydefred

Definition at line 124 of file jv-exp.c.

#define yydgoto   java_yydgoto

Definition at line 125 of file jv-exp.c.

#define YYDPRINTF (   Args)
Value:
do { \
YYFPRINTF Args; \
} while (0)
#define yydebug
Definition: jv-exp.c:97
if(!(yy_init))
Definition: ada-lex.c:1072

Definition at line 952 of file jv-exp.c.

Referenced by yyparse().

#define YYEMPTY   (-2)

Definition at line 911 of file jv-exp.c.

Referenced by yyparse().

#define YYEOF   0

Definition at line 912 of file jv-exp.c.

Referenced by yyparse().

#define YYERRCODE   256

Definition at line 940 of file jv-exp.c.

#define yyerrflag   java_errflag

Definition at line 106 of file jv-exp.c.

#define yyerrok   (yyerrstatus = 0)

Definition at line 909 of file jv-exp.c.

#define yyerror   java_error

Definition at line 94 of file jv-exp.c.

Referenced by yyparse().

#define YYERROR   goto yyerrorlab

Definition at line 916 of file jv-exp.c.

#define YYERROR_VERBOSE   0

Definition at line 178 of file jv-exp.c.

#define yyexca   java_exca

Definition at line 105 of file jv-exp.c.

#define YYFINAL   98

Definition at line 545 of file jv-exp.c.

Referenced by yyparse().

#define YYFPRINTF   parser_fprintf

Definition at line 142 of file jv-exp.c.

Referenced by yy_reduce_print(), yy_stack_print(), and yy_symbol_print().

#define YYFREE   xfree

Definition at line 475 of file jv-exp.c.

#define yygindex   java_yygindex

Definition at line 128 of file jv-exp.c.

#define YYINITDEPTH   200

Definition at line 1076 of file jv-exp.c.

Referenced by yyparse().

#define YYLAST   373

Definition at line 547 of file jv-exp.c.

Referenced by yyparse().

#define yylen   java_yylen

Definition at line 123 of file jv-exp.c.

Referenced by yyparse().

#define yylex   java_lex

Definition at line 93 of file jv-exp.c.

Referenced by yyparse().

#define yylhs   java_yylhs

Definition at line 122 of file jv-exp.c.

#define yylloc   java_lloc

Definition at line 117 of file jv-exp.c.

Referenced by yyparse().

#define yylval   java_lval

Definition at line 95 of file jv-exp.c.

Referenced by yyparse().

#define YYMALLOC   xmalloc

Definition at line 469 of file jv-exp.c.

#define yymaxdepth   java_maxdepth

Definition at line 91 of file jv-exp.c.

#define YYMAXDEPTH   10000

Definition at line 1087 of file jv-exp.c.

Referenced by yyparse().

#define YYMAXUTOK   287

Definition at line 561 of file jv-exp.c.

#define yyname   java_name /* With YYDEBUG defined */

Definition at line 120 of file jv-exp.c.

#define yynerrs   java_nerrs

Definition at line 107 of file jv-exp.c.

Referenced by yyparse().

#define YYNNTS   58

Definition at line 552 of file jv-exp.c.

#define YYNRULES   132

Definition at line 554 of file jv-exp.c.

#define YYNSTATES   209

Definition at line 556 of file jv-exp.c.

#define YYNTOKENS   56

Definition at line 550 of file jv-exp.c.

Referenced by yy_symbol_print(), yy_symbol_value_print(), and yyparse().

#define yypact   java_pact

Definition at line 98 of file jv-exp.c.

Referenced by yyparse().

#define YYPACT_NINF   -145

Definition at line 669 of file jv-exp.c.

#define yypact_value_is_default (   Yystate)    (!!((Yystate) == (-145)))

Definition at line 671 of file jv-exp.c.

Referenced by yyparse().

#define yyparse   java_parse_internal

Definition at line 92 of file jv-exp.c.

Referenced by java_parse().

#define yypgo   java_pgo

Definition at line 103 of file jv-exp.c.

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

Referenced by yyparse().

#define yyps   java_ps

Definition at line 108 of file jv-exp.c.

#define YYPULL   1

Definition at line 59 of file jv-exp.c.

#define YYPURE   0

Definition at line 53 of file jv-exp.c.

#define YYPUSH   0

Definition at line 56 of file jv-exp.c.

#define yypv   java_pv

Definition at line 109 of file jv-exp.c.

#define yyr1   java_r1

Definition at line 99 of file jv-exp.c.

Referenced by yyparse().

#define yyr2   java_r2

Definition at line 100 of file jv-exp.c.

Referenced by yy_reduce_print(), and yyparse().

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 919 of file jv-exp.c.

#define yyreds   java_reds /* With YYDEBUG defined */

Definition at line 118 of file jv-exp.c.

#define yyrindex   java_yyrindex

Definition at line 127 of file jv-exp.c.

#define yyrule   java_rule /* With YYDEBUG defined */

Definition at line 121 of file jv-exp.c.

Referenced by yy_reduce_print().

#define yys   java_s

Definition at line 110 of file jv-exp.c.

#define yysindex   java_yysindex

Definition at line 126 of file jv-exp.c.

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 349 of file jv-exp.c.

#define YYSIZE_T   size_t

Definition at line 343 of file jv-exp.c.

Referenced by yyparse().

#define YYSKELETON_NAME   "yacc.c"

Definition at line 50 of file jv-exp.c.

#define yyss   java_yyss

Definition at line 131 of file jv-exp.c.

Referenced by yyparse().

#define yysslim   java_yysslim

Definition at line 132 of file jv-exp.c.

#define yyssp   java_yyssp

Definition at line 133 of file jv-exp.c.

Referenced by yyparse().

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 455 of file jv-exp.c.

Referenced by yyparse().

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 458 of file jv-exp.c.

#define YYSTACK_BYTES (   N)
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
#define YYSTACK_GAP_MAXIMUM
Definition: jv-exp.c:496
union YYSTYPE YYSTYPE
Definition: jv-exp.c:261
short int yytype_int16
Definition: ada-exp.c:395

Definition at line 500 of file jv-exp.c.

Referenced by yyparse().

#define YYSTACK_FREE   YYFREE

Definition at line 456 of file jv-exp.c.

Referenced by yyparse().

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

Definition at line 496 of file jv-exp.c.

#define YYSTACK_RELOCATE (   Stack_alloc,
  Stack 
)
Value:
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
while (0)
#define yystacksize
Definition: jv-exp.c:134
#define YYSTACK_GAP_MAXIMUM
Definition: jv-exp.c:496

Definition at line 511 of file jv-exp.c.

Referenced by yyparse().

#define yystacksize   java_yystacksize

Definition at line 134 of file jv-exp.c.

Referenced by yyparse().

#define yystate   java_state

Definition at line 112 of file jv-exp.c.

Referenced by yyparse().

#define YYSTYPE_IS_DECLARED   1

Definition at line 289 of file jv-exp.c.

#define YYSTYPE_IS_TRIVIAL   1

Definition at line 288 of file jv-exp.c.

#define yytable   java_yytable

Definition at line 129 of file jv-exp.c.

Referenced by yyparse().

#define YYTABLE_NINF   -132

Definition at line 674 of file jv-exp.c.

#define yytable_value_is_error (   Yytable_value)    0

Definition at line 676 of file jv-exp.c.

Referenced by yyparse().

#define YYTERROR   1

Definition at line 939 of file jv-exp.c.

Referenced by yyparse().

#define yytmp   java_tmp

Definition at line 113 of file jv-exp.c.

#define YYTOKENTYPE

Definition at line 192 of file jv-exp.c.

#define yytoks   java_toks /* With YYDEBUG defined */

Definition at line 119 of file jv-exp.c.

#define YYTRANSLATE (   YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

Definition at line 563 of file jv-exp.c.

Referenced by yyparse().

#define YYUNDEFTOK   2

Definition at line 560 of file jv-exp.c.

#define YYUSE (   E)    ((void) (E))

Definition at line 392 of file jv-exp.c.

Referenced by yy_symbol_value_print(), and yydestruct().

#define yyv   java_v

Definition at line 114 of file jv-exp.c.

#define yyval   java_val

Definition at line 116 of file jv-exp.c.

Referenced by yyparse().

#define yyvs   java_yyvs

Definition at line 135 of file jv-exp.c.

Referenced by yyparse().

#define yyvsp   java_yyvsp

Definition at line 136 of file jv-exp.c.

Referenced by yyparse().

Typedef Documentation

typedef union YYSTYPE YYSTYPE

Definition at line 261 of file jv-exp.c.

typedef short int yytype_int16

Definition at line 333 of file jv-exp.c.

typedef signed char yytype_int8

Definition at line 321 of file jv-exp.c.

typedef unsigned short int yytype_uint16

Definition at line 327 of file jv-exp.c.

typedef unsigned char yytype_uint8

Definition at line 315 of file jv-exp.c.

Enumeration Type Documentation

Enumerator
INT 
NULL_PTR 
CHARLIT 
FLOAT 
TRUEKEYWORD 
FALSEKEYWORD 
COLONCOLON 
STRING 
NAME 
DOT_ID 
DOT_ALL 
SPECIAL_VARIABLE 
ASSIGN 
_AND_ 
OR 
XOR 
THEN 
ELSE 
NOTEQUAL 
LEQ 
GEQ 
IN 
DOTDOT 
UNARY 
MOD 
REM 
STARSTAR 
ABS 
NOT 
VAR 
ARROW 
TICK_ACCESS 
TICK_ADDRESS 
TICK_FIRST 
TICK_LAST 
TICK_LENGTH 
TICK_MAX 
TICK_MIN 
TICK_MODULUS 
TICK_POS 
TICK_RANGE 
TICK_SIZE 
TICK_TAG 
TICK_VAL 
NEW 
OTHERS 
INT 
FLOAT 
DECFLOAT 
STRING 
NSSTRING 
SELECTOR 
CHAR 
NAME 
UNKNOWN_CPP_NAME 
COMPLETE 
TYPENAME 
CLASSNAME 
OBJC_LBRAC 
NAME_OR_INT 
OPERATOR 
STRUCT 
CLASS 
UNION 
ENUM 
SIZEOF 
UNSIGNED 
COLONCOLON 
TEMPLATE 
ERROR 
NEW 
DELETE 
REINTERPRET_CAST 
DYNAMIC_CAST 
STATIC_CAST 
CONST_CAST 
ENTRY 
TYPEOF 
DECLTYPE 
TYPEID 
SIGNED_KEYWORD 
LONG 
SHORT 
INT_KEYWORD 
CONST_KEYWORD 
VOLATILE_KEYWORD 
DOUBLE_KEYWORD 
VARIABLE 
ASSIGN_MODIFY 
TRUEKEYWORD 
FALSEKEYWORD 
ABOVE_COMMA 
OROR 
ANDAND 
EQUAL 
NOTEQUAL 
LEQ 
GEQ 
LSH 
RSH 
UNARY 
INCREMENT 
DECREMENT 
ARROW 
ARROW_STAR 
DOT_STAR 
BLOCKNAME 
FILENAME 
DOTDOTDOT 
INT 
FLOAT 
NAME 
STRUCT 
CLASS 
UNION 
ENUM 
SIZEOF 
UNSIGNED 
COLONCOLON 
TEMPLATE 
ERROR 
NEW 
DELETE 
OPERATOR 
STATIC_CAST 
REINTERPRET_CAST 
DYNAMIC_CAST 
SIGNED_KEYWORD 
LONG 
SHORT 
INT_KEYWORD 
CONST_KEYWORD 
VOLATILE_KEYWORD 
DOUBLE_KEYWORD 
BOOL 
ELLIPSIS 
RESTRICT 
VOID 
FLOAT_KEYWORD 
CHAR 
WCHAR_T 
ASSIGN_MODIFY 
TRUEKEYWORD 
FALSEKEYWORD 
DEMANGLER_SPECIAL 
CONSTRUCTION_VTABLE 
CONSTRUCTION_IN 
OROR 
ANDAND 
EQUAL 
NOTEQUAL 
LEQ 
GEQ 
LSH 
RSH 
UNARY 
INCREMENT 
DECREMENT 
ARROW 
IDENTIFIER 
TYPENAME 
COMPLETE 
NAME_OR_INT 
INTEGER_LITERAL 
FLOAT_LITERAL 
CHARACTER_LITERAL 
STRING_LITERAL 
ENTRY 
ERROR 
TRUE_KEYWORD 
FALSE_KEYWORD 
NULL_KEYWORD 
SUPER_KEYWORD 
CAST_KEYWORD 
SIZEOF_KEYWORD 
TYPEOF_KEYWORD 
TYPEID_KEYWORD 
INIT_KEYWORD 
IMMUTABLE_KEYWORD 
CONST_KEYWORD 
SHARED_KEYWORD 
STRUCT_KEYWORD 
UNION_KEYWORD 
CLASS_KEYWORD 
INTERFACE_KEYWORD 
ENUM_KEYWORD 
TEMPLATE_KEYWORD 
DELEGATE_KEYWORD 
FUNCTION_KEYWORD 
DOLLAR_VARIABLE 
ASSIGN_MODIFY 
OROR 
ANDAND 
EQUAL 
NOTEQUAL 
LEQ 
GEQ 
LSH 
RSH 
HATHAT 
IDENTITY 
NOTIDENTITY 
INCREMENT 
DECREMENT 
DOTDOT 
INT 
FLOAT 
STRING_LITERAL 
BOOLEAN_LITERAL 
NAME 
TYPENAME 
NAME_OR_INT 
SIZEOF 
ERROR 
INT_KEYWORD 
INT_S2_KEYWORD 
LOGICAL_S1_KEYWORD 
LOGICAL_S2_KEYWORD 
LOGICAL_S8_KEYWORD 
LOGICAL_KEYWORD 
REAL_KEYWORD 
REAL_S8_KEYWORD 
REAL_S16_KEYWORD 
COMPLEX_S8_KEYWORD 
COMPLEX_S16_KEYWORD 
COMPLEX_S32_KEYWORD 
BOOL_AND 
BOOL_OR 
BOOL_NOT 
CHARACTER 
VARIABLE 
ASSIGN_MODIFY 
ABOVE_COMMA 
EQUAL 
NOTEQUAL 
LESSTHAN 
GREATERTHAN 
LEQ 
GEQ 
LSH 
RSH 
STARSTAR 
UNARY 
INT 
FLOAT 
RAW_STRING 
STRING 
CHAR 
NAME 
TYPENAME 
COMPLETE 
NAME_OR_INT 
TRUE_KEYWORD 
FALSE_KEYWORD 
STRUCT_KEYWORD 
INTERFACE_KEYWORD 
TYPE_KEYWORD 
CHAN_KEYWORD 
SIZEOF_KEYWORD 
LEN_KEYWORD 
CAP_KEYWORD 
NEW_KEYWORD 
IOTA_KEYWORD 
NIL_KEYWORD 
CONST_KEYWORD 
DOTDOTDOT 
ENTRY 
ERROR 
BYTE_KEYWORD 
DOLLAR_VARIABLE 
ASSIGN_MODIFY 
ABOVE_COMMA 
OROR 
ANDAND 
ANDNOT 
EQUAL 
NOTEQUAL 
LEQ 
GEQ 
LSH 
RSH 
UNARY 
INCREMENT 
DECREMENT 
LEFT_ARROW 
INTEGER_LITERAL 
FLOATING_POINT_LITERAL 
IDENTIFIER 
STRING_LITERAL 
BOOLEAN_LITERAL 
TYPENAME 
NAME_OR_INT 
ERROR 
LONG 
SHORT 
BYTE 
INT 
CHAR 
BOOLEAN 
DOUBLE 
FLOAT 
VARIABLE 
ASSIGN_MODIFY 
SUPER 
NEW 
OROR 
ANDAND 
EQUAL 
NOTEQUAL 
LEQ 
GEQ 
LSH 
RSH 
INCREMENT 
DECREMENT 
INT 
HEX 
ERROR 
UINT 
M2_TRUE 
M2_FALSE 
CHAR 
FLOAT 
STRING 
NAME 
BLOCKNAME 
IDENT 
VARNAME 
TYPENAME 
SIZE 
CAP 
ORD 
HIGH 
ABS 
MIN_FUNC 
MAX_FUNC 
FLOAT_FUNC 
VAL 
CHR 
ODD 
TRUNC 
TSIZE 
INC 
DEC 
INCL 
EXCL 
COLONCOLON 
INTERNAL_VAR 
ABOVE_COMMA 
ASSIGN 
LEQ 
GEQ 
NOTEQUAL 
IN 
OROR 
LOGICAL_AND 
DIV 
MOD 
UNARY 
DOT 
NOT 
QID 
INT 
FLOAT 
STRING 
FIELDNAME 
COMPLETE 
NAME 
TYPENAME 
NAME_OR_INT 
STRUCT 
CLASS 
SIZEOF 
COLONCOLON 
ERROR 
VARIABLE 
THIS 
TRUEKEYWORD 
FALSEKEYWORD 
ABOVE_COMMA 
ASSIGN 
NOT 
OR 
XOR 
ANDAND 
NOTEQUAL 
LEQ 
GEQ 
LSH 
RSH 
DIV 
MOD 
UNARY 
INCREMENT 
DECREMENT 
ARROW 
BLOCKNAME 

Definition at line 193 of file jv-exp.c.

Function Documentation

static struct expression * copy_exp ( struct expression expr,
int  endpos 
)
static
static void insert_exp ( struct parser_state par_state,
int  pos,
struct expression newobj 
)
static
int java_parse ( struct parser_state par_state)

Definition at line 2872 of file jv-exp.c.

References do_cleanups(), gdb_assert, make_cleanup_clear_parser_state(), and yyparse.

static struct type * java_type_from_name ( struct stoken  name)
static

Definition at line 2900 of file jv-exp.c.

References _, copy_name(), error(), java_lookup_class(), TYPE_CODE, and TYPE_CODE_STRUCT.

Referenced by yyparse().

static int parse_number ( struct parser_state par_state,
const char *  p,
int  len,
int  parsed_float,
YYSTYPE putithere 
)
static
static void push_expression_name ( struct parser_state par_state,
struct stoken  name 
)
static
static void push_fieldnames ( struct parser_state par_state,
struct stoken  name 
)
static
static void push_qualified_expression_name ( struct parser_state par_state,
struct stoken  name,
int  dot_index 
)
static
static int push_variable ( struct parser_state par_state,
struct stoken  name 
)
static
void xfree ( void *  )

Definition at line 97 of file common-utils.c.

Referenced by yyparse().

void* xmalloc ( YYSIZE_T  )

Referenced by copy_exp(), and yyparse().

static void yy_reduce_print ( yytype_int16 yyssp,
YYSTYPE yyvsp,
int  yyrule 
)
static

Definition at line 1038 of file jv-exp.c.

References yy_symbol_print(), YYFPRINTF, yyr2, yyrline, yyrule, and yystos.

static void yy_stack_print ( yytype_int16 yybottom,
yytype_int16 yytop 
)
static

Definition at line 1015 of file jv-exp.c.

References YYFPRINTF.

static void yy_symbol_print ( FILE *  yyoutput,
int  yytype,
YYSTYPE const *const  yyvaluep 
)
static

Definition at line 1000 of file jv-exp.c.

References yy_symbol_value_print(), YYFPRINTF, YYNTOKENS, and yytname.

Referenced by yy_reduce_print().

static void yy_symbol_value_print ( FILE *  yyoutput,
int  yytype,
YYSTYPE const *const  yyvaluep 
)
static

Definition at line 981 of file jv-exp.c.

References YYNTOKENS, YYPRINT, yytoknum, and YYUSE.

Referenced by yy_symbol_print().

static void yydestruct ( const char *  yymsg,
int  yytype,
YYSTYPE yyvaluep 
)
static
void yyerror ( char *  msg)

Definition at line 2888 of file jv-exp.c.

References _, error(), lexptr, and prev_lexptr.

static int yylex ( void  )
static
int yyparse ( void  )

Variable Documentation

struct parser_state* pstate = NULL
static

Definition at line 147 of file jv-exp.c.

const struct token tokentab2[]
static
Initial value:
=
{
{"+=", ASSIGN_MODIFY, BINOP_ADD},
{"-=", ASSIGN_MODIFY, BINOP_SUB},
{"*=", ASSIGN_MODIFY, BINOP_MUL},
{"/=", ASSIGN_MODIFY, BINOP_DIV},
{"%=", ASSIGN_MODIFY, BINOP_REM},
{"|=", ASSIGN_MODIFY, BINOP_BITWISE_IOR},
{"&=", ASSIGN_MODIFY, BINOP_BITWISE_AND},
{"^=", ASSIGN_MODIFY, BINOP_BITWISE_XOR},
{"++", INCREMENT, BINOP_END},
{"--", DECREMENT, BINOP_END},
{"&&", ANDAND, BINOP_END},
{"||", OROR, BINOP_END},
{"<<", LSH, BINOP_END},
{">>", RSH, BINOP_END},
{"==", EQUAL, BINOP_END},
{"!=", NOTEQUAL, BINOP_END},
{"<=", LEQ, BINOP_END},
{">=", GEQ, BINOP_END}
}
#define OROR
Definition: jv-exp.c:248
#define DECREMENT
Definition: jv-exp.c:257
#define EQUAL
Definition: jv-exp.c:250
#define ANDAND
Definition: jv-exp.c:249
#define NOTEQUAL
Definition: jv-exp.c:251
#define RSH
Definition: jv-exp.c:255
#define GEQ
Definition: jv-exp.c:253
#define LSH
Definition: jv-exp.c:254
#define LEQ
Definition: jv-exp.c:252
#define INCREMENT
Definition: jv-exp.c:256
#define ASSIGN_MODIFY
Definition: jv-exp.c:245

Definition at line 2500 of file jv-exp.c.

const struct token tokentab3[]
static
Initial value:
=
{
{">>=", ASSIGN_MODIFY, BINOP_RSH},
{"<<=", ASSIGN_MODIFY, BINOP_LSH}
}
#define ASSIGN_MODIFY
Definition: jv-exp.c:245

Definition at line 2494 of file jv-exp.c.

int yychar

Definition at line 1334 of file jv-exp.c.

const yytype_int16 yycheck[]
static

Definition at line 801 of file jv-exp.c.

int yydebug

Definition at line 1065 of file jv-exp.c.

const yytype_uint8 yydefact[]
static
Initial value:
=
{
0, 8, 10, 28, 7, 11, 9, 20, 18, 17,
19, 21, 14, 23, 22, 74, 0, 0, 0, 0,
0, 0, 0, 0, 46, 0, 0, 0, 3, 4,
12, 39, 5, 13, 15, 16, 6, 73, 128, 30,
29, 2, 72, 37, 0, 41, 38, 42, 65, 43,
44, 87, 75, 76, 94, 79, 80, 84, 90, 98,
101, 104, 109, 112, 114, 116, 118, 120, 122, 124,
132, 125, 0, 35, 0, 0, 0, 28, 0, 25,
0, 24, 29, 9, 74, 73, 42, 44, 81, 82,
83, 85, 86, 61, 73, 0, 88, 89, 1, 0,
26, 0, 0, 64, 27, 0, 0, 0, 0, 49,
51, 77, 78, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 32, 33, 63, 0, 0, 0,
61, 55, 61, 51, 0, 60, 0, 0, 40, 58,
0, 34, 0, 36, 62, 0, 0, 47, 45, 52,
0, 95, 96, 97, 99, 100, 102, 103, 105, 106,
107, 108, 110, 111, 113, 115, 117, 119, 0, 121,
127, 126, 70, 51, 0, 0, 56, 53, 54, 0,
0, 0, 92, 59, 69, 51, 71, 50, 66, 0,
0, 57, 48, 91, 93, 0, 123, 68, 67
}

Definition at line 709 of file jv-exp.c.

Referenced by yyparse().

const yytype_int16 yydefgoto[]
static
Initial value:
=
{
-1, 27, 28, 29, 30, 31, 32, 33, 34, 35,
79, 80, 36, 85, 38, 39, 82, 41, 42, 43,
44, 158, 45, 159, 160, 46, 140, 141, 145, 146,
86, 48, 49, 110, 87, 51, 52, 53, 54, 55,
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
66, 67, 68, 69, 70, 71, 72, 109
}

Definition at line 746 of file jv-exp.c.

Referenced by yyparse().

YYSTYPE yylval

Definition at line 1337 of file jv-exp.c.

int yynerrs

Definition at line 1339 of file jv-exp.c.

const yytype_int16 yypact[]
static
Initial value:
=
{
215, -145, -145, -5, -145, -145, 1, -145, -145, -145,
-145, -145, -145, -145, -145, -7, -19, 279, 50, 50,
50, 50, 50, 215, -145, 50, 50, 46, -145, -145,
-145, -145, -9, -145, -145, -145, -145, 87, -145, -145,
12, 44, 5, 16, 319, -145, -145, 28, -145, -145,
38, 29, -145, -145, -145, -145, -145, -145, -145, 99,
53, 85, 52, 94, 66, 41, 71, 74, 122, -145,
-145, -145, 40, -145, 26, 319, 26, -145, 59, 59,
67, 82, -145, -145, 111, 107, -145, -145, -145, -145,
-145, -145, -145, -9, 87, 68, -145, -145, -145, 79,
91, 26, 267, -145, 91, 319, 26, 319, -18, -145,
319, -145, -145, 50, 50, 50, 50, 50, 50, 50,
50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
319, 50, 50, 50, -145, -145, -145, 112, 126, 319,
128, -145, 128, 319, 319, 91, 127, -31, 193, -145,
125, -145, 129, -145, 131, 130, 319, -145, -145, 157,
135, -145, -145, -145, 99, 99, 53, 53, 85, 85,
85, 85, 52, 52, 94, 66, 41, 71, 132, 74,
-145, -145, -145, 319, 134, 267, -145, -145, -145, 139,
50, 193, -145, -145, -145, 319, -145, -145, -145, 50,
141, -145, -145, -145, -145, 144, -145, -145, -145
}

Definition at line 681 of file jv-exp.c.

const yytype_int16 yypgoto[]
static
Initial value:
=
{
-145, -145, -145, -145, -145, -145, -3, -145, -145, -145,
-145, -145, -145, 11, -145, -64, 0, -145, -145, -145,
-145, -145, -145, 150, -134, -145, 124, -116, -29, -99,
6, -145, -145, -145, 22, -145, -145, -145, 58, -145,
-145, -144, -145, 43, 49, -2, 45, 78, 81, 83,
77, 92, -145, -131, -145, -145, -145, 7
}

Definition at line 735 of file jv-exp.c.

Referenced by yyparse().

const yytype_uint8 yyr1[]
static
Initial value:
=
{
0, 56, 57, 57, 58, 59, 59, 60, 61, 61,
61, 61, 61, 62, 62, 63, 63, 64, 64, 64,
64, 64, 65, 65, 66, 67, 68, 68, 69, 69,
70, 70, 71, 71, 72, 73, 73, 74, 74, 75,
75, 75, 75, 75, 75, 75, 76, 77, 78, 79,
79, 80, 80, 81, 81, 82, 82, 83, 84, 84,
85, 85, 86, 86, 87, 89, 88, 88, 88, 90,
90, 90, 91, 91, 91, 91, 91, 92, 93, 94,
94, 94, 94, 94, 94, 95, 96, 97, 97, 97,
97, 98, 98, 98, 99, 99, 99, 99, 100, 100,
100, 101, 101, 101, 102, 102, 102, 102, 102, 103,
103, 103, 104, 104, 105, 105, 106, 106, 107, 107,
108, 108, 109, 109, 110, 110, 111, 111, 112, 112,
112, 112, 113
}

Definition at line 871 of file jv-exp.c.

const yytype_uint8 yyr2[]
static
Initial value:
=
{
0, 2, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 2, 2, 1, 1,
1, 1, 1, 1, 3, 1, 3, 1, 1, 1,
3, 1, 1, 1, 1, 3, 1, 1, 5, 1,
3, 0, 1, 4, 4, 1, 2, 3, 2, 3,
1, 0, 3, 3, 2, 0, 4, 6, 6, 4,
4, 4, 1, 1, 1, 1, 1, 2, 2, 1,
1, 2, 2, 2, 1, 2, 2, 1, 2, 2,
1, 5, 4, 5, 1, 3, 3, 3, 1, 3,
3, 1, 3, 3, 1, 3, 3, 3, 3, 1,
3, 3, 1, 3, 1, 3, 1, 3, 1, 3,
1, 3, 1, 5, 1, 1, 3, 3, 1, 1,
1, 1, 1
}

Definition at line 890 of file jv-exp.c.

const yytype_uint16 yyrline[]
static
Initial value:
=
{
0, 217, 217, 218, 221, 230, 231, 235, 244, 249,
258, 263, 269, 280, 281, 286, 287, 291, 293, 295,
297, 299, 304, 306, 318, 323, 327, 329, 334, 335,
339, 340, 344, 345, 349, 375, 376, 381, 382, 386,
387, 388, 389, 390, 391, 392, 400, 405, 410, 416,
418, 424, 425, 429, 432, 438, 439, 443, 447, 449,
454, 456, 460, 462, 468, 474, 473, 479, 481, 486,
506, 508, 513, 514, 516, 518, 519, 523, 528, 533,
534, 535, 536, 538, 541, 545, 550, 555, 556, 558,
560, 564, 568, 592, 602, 603, 605, 607, 612, 613,
615, 620, 621, 623, 629, 630, 632, 634, 636, 642,
643, 645, 650, 651, 656, 657, 661, 662, 667, 668,
673, 674, 679, 680, 685, 686, 690, 692, 699, 701,
703, 704, 709
}

Definition at line 603 of file jv-exp.c.

Referenced by yy_reduce_print().

const yytype_uint8 yystos[]
static
Initial value:
=
{
0, 3, 4, 5, 6, 7, 9, 11, 12, 13,
14, 15, 16, 17, 18, 19, 21, 22, 39, 40,
41, 44, 45, 48, 50, 53, 54, 57, 58, 59,
60, 61, 62, 63, 64, 65, 68, 69, 70, 71,
72, 73, 74, 75, 76, 78, 81, 86, 87, 88,
90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
110, 111, 112, 113, 46, 47, 46, 5, 62, 66,
67, 69, 72, 9, 19, 69, 86, 90, 94, 94,
94, 94, 94, 62, 69, 113, 94, 94, 0, 47,
84, 46, 47, 48, 84, 23, 46, 47, 79, 113,
89, 44, 45, 41, 42, 43, 39, 40, 37, 38,
33, 34, 35, 36, 31, 32, 30, 29, 28, 27,
25, 26, 20, 24, 5, 9, 71, 113, 71, 47,
82, 83, 82, 48, 47, 84, 85, 84, 49, 52,
47, 71, 113, 113, 71, 113, 23, 51, 77, 79,
80, 94, 94, 94, 99, 99, 100, 100, 101, 101,
101, 101, 102, 102, 103, 104, 105, 106, 113, 107,
109, 109, 52, 48, 113, 47, 83, 85, 85, 80,
49, 49, 97, 52, 52, 48, 52, 113, 49, 55,
80, 52, 49, 94, 97, 80, 109, 49, 49
}

Definition at line 845 of file jv-exp.c.

Referenced by yy_reduce_print(), and yyparse().

const yytype_int16 yytable[]
static

Definition at line 759 of file jv-exp.c.

const char* const yytname[]
static
Initial value:
=
{
"$end", "error", "$undefined", "INTEGER_LITERAL",
"FLOATING_POINT_LITERAL", "IDENTIFIER", "STRING_LITERAL",
"BOOLEAN_LITERAL", "TYPENAME", "NAME_OR_INT", "ERROR", "LONG", "SHORT",
"BYTE", "INT", "CHAR", "BOOLEAN", "DOUBLE", "FLOAT", "VARIABLE",
"ASSIGN_MODIFY", "SUPER", "NEW", "','", "'='", "'?'", "OROR", "ANDAND",
"'|'", "'^'", "'&'", "EQUAL", "NOTEQUAL", "'<'", "'>'", "LEQ", "GEQ",
"LSH", "RSH", "'+'", "'-'", "'*'", "'/'", "'%'", "INCREMENT",
"DECREMENT", "'.'", "'['", "'('", "')'", "'{'", "'}'", "']'", "'~'",
"'!'", "':'", "$accept", "start", "type_exp", "PrimitiveOrArrayType",
"StringLiteral", "Literal", "PrimitiveType", "NumericType",
"IntegralType", "FloatingPointType", "ClassOrInterfaceType", "ClassType",
"ArrayType", "Name", "ForcedName", "SimpleName", "QualifiedName", "exp1",
"Primary", "PrimaryNoNewArray", "lcurly", "rcurly",
"ClassInstanceCreationExpression", "ArgumentList", "ArgumentList_opt",
"ArrayCreationExpression", "DimExprs", "DimExpr", "Dims", "Dims_opt",
"FieldAccess", "FuncStart", "MethodInvocation", "$@1", "ArrayAccess",
"PostfixExpression", "PostIncrementExpression",
"PostDecrementExpression", "UnaryExpression", "PreIncrementExpression",
"PreDecrementExpression", "UnaryExpressionNotPlusMinus",
"CastExpression", "MultiplicativeExpression", "AdditiveExpression",
"ShiftExpression", "RelationalExpression", "EqualityExpression",
"AndExpression", "ExclusiveOrExpression", "InclusiveOrExpression",
"ConditionalAndExpression", "ConditionalOrExpression",
"ConditionalExpression", "AssignmentExpression", "Assignment",
"LeftHandSide", "Expression", YY_NULLPTR
}
#define YY_NULLPTR
Definition: jv-exp.c:169

Definition at line 625 of file jv-exp.c.

Referenced by yy_symbol_print().

const yytype_uint8 yytranslate[]
static

Definition at line 568 of file jv-exp.c.