GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Enumerations | Functions | Variables
ada-exp.c File Reference
#include "defs.h"
#include <ctype.h>
#include "expression.h"
#include "value.h"
#include "parser-defs.h"
#include "language.h"
#include "ada-lang.h"
#include "frame.h"
#include "block.h"
#include "ada-exp.h"
#include "yy-remap.h"
#include <limits.h>
#include "ada-lex.c"

Go to the source code of this file.

Classes

struct  name_info
 
struct  ada_tick_completer
 
union  ada_exp_YYSTYPE
 
union  ada_exp_yyalloc
 

Macros

#define YYBISON   30802
 
#define YYBISON_VERSION   "3.8.2"
 
#define YYSKELETON_NAME   "yacc.c"
 
#define YYPURE   0
 
#define YYPUSH   0
 
#define YYPULL   1
 
#define parse_type(ps)   builtin_type (ps->gdbarch ())
 
#define GDB_YY_REMAP_PREFIX   ada_
 
#define YY_CAST(Type, Val)   ((Type) (Val))
 
#define YY_REINTERPRET_CAST(Type, Val)   ((Type) (Val))
 
#define YY_NULLPTRPTR   ((void*)0)
 
#define YYTOKENTYPE
 
#define YYEMPTY   -2
 
#define YYEOF   0
 
#define YYerror   256
 
#define YYUNDEF   257
 
#define INT   258
 
#define NULL_PTR   259
 
#define CHARLIT   260
 
#define FLOAT   261
 
#define TRUEKEYWORD   262
 
#define FALSEKEYWORD   263
 
#define COLONCOLON   264
 
#define STRING   265
 
#define NAME   266
 
#define DOT_ID   267
 
#define TICK_COMPLETE   268
 
#define DOT_COMPLETE   269
 
#define NAME_COMPLETE   270
 
#define DOLLAR_VARIABLE   271
 
#define ASSIGN   272
 
#define _AND_   273
 
#define OR   274
 
#define XOR   275
 
#define THEN   276
 
#define ELSE   277
 
#define NOTEQUAL   278
 
#define LEQ   279
 
#define GEQ   280
 
#define IN   281
 
#define DOTDOT   282
 
#define UNARY   283
 
#define MOD   284
 
#define REM   285
 
#define STARSTAR   286
 
#define ABS   287
 
#define NOT   288
 
#define VAR   289
 
#define ARROW   290
 
#define TICK_ACCESS   291
 
#define TICK_ADDRESS   292
 
#define TICK_FIRST   293
 
#define TICK_LAST   294
 
#define TICK_LENGTH   295
 
#define TICK_MAX   296
 
#define TICK_MIN   297
 
#define TICK_MODULUS   298
 
#define TICK_POS   299
 
#define TICK_RANGE   300
 
#define TICK_SIZE   301
 
#define TICK_TAG   302
 
#define TICK_VAL   303
 
#define TICK_ENUM_REP   304
 
#define TICK_ENUM_VAL   305
 
#define NEW   306
 
#define OTHERS   307
 
#define ada_exp_YYSTYPE_IS_TRIVIAL   1
 
#define ada_exp_YYSTYPE_IS_DECLARED   1
 
#define YYPTRDIFF_T   long
 
#define YYPTRDIFF_MAXIMUM   LONG_MAX
 
#define YYSIZE_T   unsigned
 
#define YYSIZE_MAXIMUM
 
#define YYSIZEOF(X)   YY_CAST (YYPTRDIFF_T, sizeof (X))
 
#define YY_(Msgid)   Msgid
 
#define YY_ATTRIBUTE_PURE
 
#define YY_ATTRIBUTE_UNUSED
 
#define YY_USE(E)   ((void) (E))
 
#define YY_INITIAL_VALUE(Value)   Value
 
#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_ASSERT(E)   ((void) (0 && (E)))
 
#define YYSTACK_ALLOC   YYMALLOC
 
#define YYSTACK_FREE   YYFREE
 
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
 
#define YYMALLOC   xmalloc
 
#define YYFREE   xfree
 
#define YYSTACK_GAP_MAXIMUM   (YYSIZEOF (union ada_exp_yyalloc) - 1)
 
#define YYSTACK_BYTES(N)
 
#define YYCOPY_NEEDED   1
 
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
 
#define YYCOPY(Dst, Src, Count)
 
#define YYFINAL   59
 
#define YYLAST   798
 
#define YYNTOKENS   73
 
#define YYNNTS   26
 
#define YYNRULES   123
 
#define YYNSTATES   240
 
#define YYMAXUTOK   307
 
#define YYTRANSLATE(YYX)
 
#define YY_ACCESSING_SYMBOL(State)   YY_CAST (ada_exp_yysymbol_kind_t, yystos[State])
 
#define YYPACT_NINF   (-108)
 
#define yypact_value_is_default(Yyn)    ((Yyn) == YYPACT_NINF)
 
#define YYTABLE_NINF   (-86)
 
#define yytable_value_is_error(Yyn)    0
 
#define yyerrok   (yyerrstatus = 0)
 
#define yyclearin   (yychar = YYEMPTY)
 
#define YYACCEPT   goto yyacceptlab
 
#define YYABORT   goto yyabortlab
 
#define YYERROR   goto yyerrorlab
 
#define YYNOMEM   goto yyexhaustedlab
 
#define YYRECOVERING()   (!!yyerrstatus)
 
#define YYBACKUP(Token, Value)
 
#define YYERRCODE   YYUNDEF
 
#define YYDPRINTF(Args)
 
#define YY_SYMBOL_PRINT(Title, Kind, 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))
 
#define yy_create_buffer   ada_yy_create_buffer
 
#define yy_delete_buffer   ada_yy_delete_buffer
 
#define yy_init_buffer   ada_yy_init_buffer
 
#define yy_load_buffer_state   ada_yy_load_buffer_state
 
#define yy_switch_to_buffer   ada_yy_switch_to_buffer
 
#define yyrestart   ada_yyrestart
 
#define yytext   ada_yytext
 
#define qsort   __qsort__dummy
 

Typedefs

typedef std::unique_ptr< ada_assign_operationada_assign_up
 
typedef enum yytokentype yytoken_kind_t
 
typedef union ada_exp_YYSTYPE ada_exp_YYSTYPE
 
typedef enum ada_exp_yysymbol_kind_t ada_exp_yysymbol_kind_t
 
typedef signed char yytype_int8
 
typedef short yytype_int16
 
typedef unsigned char yytype_uint8
 
typedef unsigned short yytype_uint16
 
typedef yytype_uint8 yy_state_t
 
typedef int yy_state_fast_t
 

Enumerations

enum  yytokentype {
  YYEMPTY = -2 , YYEOF = 0 , YYerror = 256 , YYUNDEF = 257 ,
  INT = 258 , NULL_PTR = 259 , CHARLIT = 260 , FLOAT = 261 ,
  TRUEKEYWORD = 262 , FALSEKEYWORD = 263 , COLONCOLON = 264 , STRING = 265 ,
  NAME = 266 , DOT_ID = 267 , TICK_COMPLETE = 268 , DOT_COMPLETE = 269 ,
  NAME_COMPLETE = 270 , DOLLAR_VARIABLE = 271 , ASSIGN = 272 , _AND_ = 273 ,
  OR = 274 , XOR = 275 , THEN = 276 , ELSE = 277 ,
  NOTEQUAL = 278 , LEQ = 279 , GEQ = 280 , IN = 281 ,
  DOTDOT = 282 , UNARY = 283 , MOD = 284 , REM = 285 ,
  STARSTAR = 286 , ABS = 287 , NOT = 288 , VAR = 289 ,
  ARROW = 290 , TICK_ACCESS = 291 , TICK_ADDRESS = 292 , TICK_FIRST = 293 ,
  TICK_LAST = 294 , TICK_LENGTH = 295 , TICK_MAX = 296 , TICK_MIN = 297 ,
  TICK_MODULUS = 298 , TICK_POS = 299 , TICK_RANGE = 300 , TICK_SIZE = 301 ,
  TICK_TAG = 302 , TICK_VAL = 303 , TICK_ENUM_REP = 304 , TICK_ENUM_VAL = 305 ,
  NEW = 306 , OTHERS = 307
}
 
enum  ada_exp_yysymbol_kind_t {
  YYSYMBOL_YYEMPTY = -2 , YYSYMBOL_YYEOF = 0 , YYSYMBOL_YYerror = 1 , YYSYMBOL_YYUNDEF = 2 ,
  YYSYMBOL_INT = 3 , YYSYMBOL_NULL_PTR = 4 , YYSYMBOL_CHARLIT = 5 , YYSYMBOL_FLOAT = 6 ,
  YYSYMBOL_TRUEKEYWORD = 7 , YYSYMBOL_FALSEKEYWORD = 8 , YYSYMBOL_COLONCOLON = 9 , YYSYMBOL_STRING = 10 ,
  YYSYMBOL_NAME = 11 , YYSYMBOL_DOT_ID = 12 , YYSYMBOL_TICK_COMPLETE = 13 , YYSYMBOL_DOT_COMPLETE = 14 ,
  YYSYMBOL_NAME_COMPLETE = 15 , YYSYMBOL_DOLLAR_VARIABLE = 16 , YYSYMBOL_ASSIGN = 17 , YYSYMBOL__AND_ = 18 ,
  YYSYMBOL_OR = 19 , YYSYMBOL_XOR = 20 , YYSYMBOL_THEN = 21 , YYSYMBOL_ELSE = 22 ,
  YYSYMBOL_23_ = 23 , YYSYMBOL_NOTEQUAL = 24 , YYSYMBOL_25_ = 25 , YYSYMBOL_26_ = 26 ,
  YYSYMBOL_LEQ = 27 , YYSYMBOL_GEQ = 28 , YYSYMBOL_IN = 29 , YYSYMBOL_DOTDOT = 30 ,
  YYSYMBOL_31_ = 31 , YYSYMBOL_32_ = 32 , YYSYMBOL_33_ = 33 , YYSYMBOL_34_ = 34 ,
  YYSYMBOL_UNARY = 35 , YYSYMBOL_36_ = 36 , YYSYMBOL_37_ = 37 , YYSYMBOL_MOD = 38 ,
  YYSYMBOL_REM = 39 , YYSYMBOL_STARSTAR = 40 , YYSYMBOL_ABS = 41 , YYSYMBOL_NOT = 42 ,
  YYSYMBOL_VAR = 43 , YYSYMBOL_ARROW = 44 , YYSYMBOL_45_ = 45 , YYSYMBOL_TICK_ACCESS = 46 ,
  YYSYMBOL_TICK_ADDRESS = 47 , YYSYMBOL_TICK_FIRST = 48 , YYSYMBOL_TICK_LAST = 49 , YYSYMBOL_TICK_LENGTH = 50 ,
  YYSYMBOL_TICK_MAX = 51 , YYSYMBOL_TICK_MIN = 52 , YYSYMBOL_TICK_MODULUS = 53 , YYSYMBOL_TICK_POS = 54 ,
  YYSYMBOL_TICK_RANGE = 55 , YYSYMBOL_TICK_SIZE = 56 , YYSYMBOL_TICK_TAG = 57 , YYSYMBOL_TICK_VAL = 58 ,
  YYSYMBOL_TICK_ENUM_REP = 59 , YYSYMBOL_TICK_ENUM_VAL = 60 , YYSYMBOL_61_ = 61 , YYSYMBOL_62_ = 62 ,
  YYSYMBOL_63_ = 63 , YYSYMBOL_NEW = 64 , YYSYMBOL_OTHERS = 65 , YYSYMBOL_66_ = 66 ,
  YYSYMBOL_67_ = 67 , YYSYMBOL_68_ = 68 , YYSYMBOL_69_ = 69 , YYSYMBOL_70_ = 70 ,
  YYSYMBOL_71_ = 71 , YYSYMBOL_72_ = 72 , YYSYMBOL_YYACCEPT = 73 , YYSYMBOL_start = 74 ,
  YYSYMBOL_exp1 = 75 , YYSYMBOL_76_1 = 76 , YYSYMBOL_primary = 77 , YYSYMBOL_simple_exp = 78 ,
  YYSYMBOL_arglist = 79 , YYSYMBOL_relation = 80 , YYSYMBOL_exp = 81 , YYSYMBOL_and_exp = 82 ,
  YYSYMBOL_and_then_exp = 83 , YYSYMBOL_or_exp = 84 , YYSYMBOL_or_else_exp = 85 , YYSYMBOL_xor_exp = 86 ,
  YYSYMBOL_tick_arglist = 87 , YYSYMBOL_type_prefix = 88 , YYSYMBOL_opt_type_prefix = 89 , YYSYMBOL_var_or_type = 90 ,
  YYSYMBOL_block = 91 , YYSYMBOL_aggregate = 92 , YYSYMBOL_aggregate_component_list = 93 , YYSYMBOL_positional_list = 94 ,
  YYSYMBOL_component_groups = 95 , YYSYMBOL_others = 96 , YYSYMBOL_component_group = 97 , YYSYMBOL_component_associations = 98
}
 
enum  { YYENOMEM = -2 }
 

Functions

int yyparse (void)
 
static int yylex (void)
 
static void yyerror (const char *)
 
static void write_int (struct parser_state *, LONGEST, struct type *)
 
static void write_object_renaming (struct parser_state *, const struct block *, const char *, int, const char *, int)
 
static struct typewrite_var_or_type (struct parser_state *, const struct block *, struct stoken)
 
static struct typewrite_var_or_type_completion (struct parser_state *, const struct block *, struct stoken)
 
static void write_name_assoc (struct parser_state *, struct stoken)
 
static const struct blockblock_lookup (const struct block *, const char *)
 
static void write_ambiguous_var (struct parser_state *, const struct block *, const char *, int)
 
static struct typetype_for_char (struct parser_state *, ULONGEST)
 
static struct typetype_system_address (struct parser_state *)
 
static std::string find_completion_bounds (struct parser_state *)
 
static operation_up resolve (operation_up &&op, bool deprocedure_p, struct type *context_type)
 
static operation_up ada_pop (bool deprocedure_p=true, struct type *context_type=nullptr)
 
template<typename T >
void ada_wrap ()
 
static void ada_addrof (struct type *type=nullptr)
 
static operation_up maybe_overload (enum exp_opcode op, operation_up &lhs, operation_up &rhs)
 
template<typename T >
void ada_wrap_overload (enum exp_opcode op)
 
template<typename T >
void ada_un_wrap2 (enum exp_opcode op)
 
template<typename T >
void ada_wrap2 (enum exp_opcode op)
 
template<typename T >
void ada_wrap_op (enum exp_opcode op)
 
template<typename T >
void ada_wrap3 ()
 
static void ada_funcall (int nargs)
 
template<typename T , typename... Arg>
void push_component (Arg... args)
 
static ada_choices_componentchoice_component ()
 
static ada_component_up pop_component ()
 
static std::vector< ada_component_uppop_components (int n)
 
template<typename T , typename... Arg>
void push_association (Arg... args)
 
static ada_association_up pop_association ()
 
static std::vector< ada_association_uppop_associations (int n)
 
static std::unique_ptr< expr_completion_basemake_tick_completer (struct stoken tok)
 
void * xmalloc (YYSIZE_T)
 
void xfree (void *)
 
static const char * yysymbol_name (ada_exp_yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED
 
static void yy_symbol_value_print (FILE *yyo, ada_exp_yysymbol_kind_t yykind, ada_exp_YYSTYPE const *const yyvaluep)
 
static void yy_symbol_print (FILE *yyo, ada_exp_yysymbol_kind_t yykind, ada_exp_YYSTYPE const *const yyvaluep)
 
static void yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop)
 
static void yy_reduce_print (yy_state_t *yyssp, ada_exp_YYSTYPE *yyvsp, int yyrule)
 
static void yydestruct (const char *yymsg, ada_exp_yysymbol_kind_t yykind, ada_exp_YYSTYPE *yyvaluep)
 
int ada_parse (struct parser_state *par_state)
 
static void write_var_from_sym (struct parser_state *par_state, block_symbol sym)
 
static struct symbolselect_possible_type_sym (const std::vector< struct block_symbol > &syms)
 
static struct typefind_primitive_type (struct parser_state *par_state, const char *name)
 
static int chop_selector (const char *name, int end)
 
static const char * chop_separator (const char *name)
 
static ada_structop_operationwrite_selectors (struct parser_state *par_state, const char *sels)
 
static int ada_nget_field_index (const struct type *type, const char *field_name0, int field_name_len, int maybe_missing)
 
static struct typeget_symbol_field_type (struct symbol *sym, const char *encoded_field_name)
 
void _initialize_ada_exp ()
 

Variables

static struct parser_statepstate = NULL
 
static const char * original_expr
 
static std::vector< std::unique_ptr< gdb_mpz > > int_storage
 
static std::vector< ada_component_upcomponents
 
static std::vector< ada_association_upassociations
 
static std::vector< ada_assign_upassignments
 
int yydebug
 
ada_exp_YYSTYPE yylval
 
static const yytype_int8 yytranslate []
 
static const yytype_int16 yyrline []
 
static const char *const yytname []
 
static const yytype_int16 yypact []
 
static const yytype_int8 yydefact []
 
static const yytype_int16 yypgoto []
 
static const yytype_uint8 yydefgoto []
 
static const yytype_int16 yytable []
 
static const yytype_int16 yycheck []
 
static const yytype_int8 yystos []
 
static const yytype_int8 yyr1 []
 
static const yytype_int8 yyr2 []
 
int yychar
 
int yynerrs
 
static struct obstack temp_parse_space
 

Macro Definition Documentation

◆ _AND_

#define _AND_   273

Definition at line 575 of file ada-exp.c.

◆ ABS

#define ABS   287

Definition at line 589 of file ada-exp.c.

◆ ada_exp_YYSTYPE_IS_DECLARED

#define ada_exp_YYSTYPE_IS_DECLARED   1

Definition at line 641 of file ada-exp.c.

◆ ada_exp_YYSTYPE_IS_TRIVIAL

#define ada_exp_YYSTYPE_IS_TRIVIAL   1

Definition at line 640 of file ada-exp.c.

◆ ARROW

#define ARROW   290

Definition at line 592 of file ada-exp.c.

◆ ASSIGN

#define ASSIGN   272

Definition at line 574 of file ada-exp.c.

◆ CHARLIT

#define CHARLIT   260

Definition at line 562 of file ada-exp.c.

◆ COLONCOLON

#define COLONCOLON   264

Definition at line 566 of file ada-exp.c.

◆ DOLLAR_VARIABLE

#define DOLLAR_VARIABLE   271

Definition at line 573 of file ada-exp.c.

◆ DOT_COMPLETE

#define DOT_COMPLETE   269

Definition at line 571 of file ada-exp.c.

◆ DOT_ID

#define DOT_ID   267

Definition at line 569 of file ada-exp.c.

◆ DOTDOT

#define DOTDOT   282

Definition at line 584 of file ada-exp.c.

◆ ELSE

#define ELSE   277

Definition at line 579 of file ada-exp.c.

◆ FALSEKEYWORD

#define FALSEKEYWORD   263

Definition at line 565 of file ada-exp.c.

◆ FLOAT

#define FLOAT   261

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

Referenced by processInt(), and processReal().

◆ GDB_YY_REMAP_PREFIX

#define GDB_YY_REMAP_PREFIX   ada_

Definition at line 88 of file ada-exp.c.

◆ GEQ

#define GEQ   280

Definition at line 582 of file ada-exp.c.

◆ IN

#define IN   281

Definition at line 583 of file ada-exp.c.

◆ INT

#define INT   258

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

Referenced by processInt().

◆ LEQ

#define LEQ   279

Definition at line 581 of file ada-exp.c.

◆ MOD

#define MOD   284

Definition at line 586 of file ada-exp.c.

◆ NAME

#define NAME   266

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

Referenced by gnu_nat_target::inf_signal().

◆ NAME_COMPLETE

#define NAME_COMPLETE   270

Definition at line 572 of file ada-exp.c.

◆ NEW

#define NEW   306

Definition at line 608 of file ada-exp.c.

◆ NOT

#define NOT   288

Definition at line 590 of file ada-exp.c.

◆ NOTEQUAL

#define NOTEQUAL   278

Definition at line 580 of file ada-exp.c.

◆ NULL_PTR

#define NULL_PTR   259

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

◆ OR

#define OR   274

Definition at line 576 of file ada-exp.c.

◆ OTHERS

#define OTHERS   307

Definition at line 609 of file ada-exp.c.

◆ parse_type

#define parse_type ( ps)    builtin_type (ps->gdbarch ())

◆ qsort

#define qsort   __qsort__dummy

◆ REM

#define REM   285

Definition at line 587 of file ada-exp.c.

◆ STARSTAR

#define STARSTAR   286

Definition at line 588 of file ada-exp.c.

◆ STRING

#define STRING   265

Definition at line 567 of file ada-exp.c.

◆ THEN

#define THEN   276

Definition at line 578 of file ada-exp.c.

◆ TICK_ACCESS

#define TICK_ACCESS   291

Definition at line 593 of file ada-exp.c.

◆ TICK_ADDRESS

#define TICK_ADDRESS   292

Definition at line 594 of file ada-exp.c.

◆ TICK_COMPLETE

#define TICK_COMPLETE   268

Definition at line 570 of file ada-exp.c.

Referenced by processAttribute(), and processAttribute().

◆ TICK_ENUM_REP

#define TICK_ENUM_REP   304

Definition at line 606 of file ada-exp.c.

◆ TICK_ENUM_VAL

#define TICK_ENUM_VAL   305

Definition at line 607 of file ada-exp.c.

◆ TICK_FIRST

#define TICK_FIRST   293

Definition at line 595 of file ada-exp.c.

◆ TICK_LAST

#define TICK_LAST   294

Definition at line 596 of file ada-exp.c.

◆ TICK_LENGTH

#define TICK_LENGTH   295

Definition at line 597 of file ada-exp.c.

◆ TICK_MAX

#define TICK_MAX   296

Definition at line 598 of file ada-exp.c.

◆ TICK_MIN

#define TICK_MIN   297

Definition at line 599 of file ada-exp.c.

◆ TICK_MODULUS

#define TICK_MODULUS   298

Definition at line 600 of file ada-exp.c.

◆ TICK_POS

#define TICK_POS   299

Definition at line 601 of file ada-exp.c.

◆ TICK_RANGE

#define TICK_RANGE   300

Definition at line 602 of file ada-exp.c.

◆ TICK_SIZE

#define TICK_SIZE   301

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

◆ TICK_TAG

#define TICK_TAG   302

Definition at line 604 of file ada-exp.c.

◆ TICK_VAL

#define TICK_VAL   303

Definition at line 605 of file ada-exp.c.

◆ TRUEKEYWORD

#define TRUEKEYWORD   262

Definition at line 564 of file ada-exp.c.

◆ UNARY

#define UNARY   283

Definition at line 585 of file ada-exp.c.

◆ VAR

#define VAR   289

Definition at line 591 of file ada-exp.c.

◆ XOR

#define XOR   275

Definition at line 577 of file ada-exp.c.

◆ YY_

#define YY_ ( Msgid)    Msgid

Definition at line 884 of file ada-exp.c.

Referenced by yyparse().

◆ YY_ACCESSING_SYMBOL

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

Accessing symbol of state STATE.

Definition at line 1161 of file ada-exp.c.

Referenced by yy_reduce_print(), and yyparse().

◆ YY_ASSERT

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

Definition at line 950 of file ada-exp.c.

Referenced by yyparse().

◆ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE

Definition at line 893 of file ada-exp.c.

◆ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED

Definition at line 901 of file ada-exp.c.

◆ YY_CAST

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

Definition at line 468 of file ada-exp.c.

Referenced by yyparse().

◆ yy_create_buffer

#define yy_create_buffer   ada_yy_create_buffer

Definition at line 3117 of file ada-exp.c.

Referenced by if().

◆ yy_delete_buffer

#define yy_delete_buffer   ada_yy_delete_buffer

Definition at line 3118 of file ada-exp.c.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 930 of file ada-exp.c.

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

◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 931 of file ada-exp.c.

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

◆ YY_IGNORE_USELESS_CAST_BEGIN

#define YY_IGNORE_USELESS_CAST_BEGIN

Definition at line 945 of file ada-exp.c.

Referenced by yyparse().

◆ YY_IGNORE_USELESS_CAST_END

#define YY_IGNORE_USELESS_CAST_END

Definition at line 946 of file ada-exp.c.

Referenced by yyparse().

◆ yy_init_buffer

#define yy_init_buffer   ada_yy_init_buffer

Definition at line 3119 of file ada-exp.c.

◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE ( Value)    Value

Definition at line 927 of file ada-exp.c.

◆ yy_load_buffer_state

#define yy_load_buffer_state ( void)    ada_yy_load_buffer_state

Definition at line 3120 of file ada-exp.c.

◆ YY_NULLPTRPTR

#define YY_NULLPTRPTR   ((void*)0)

Definition at line 480 of file ada-exp.c.

◆ YY_REDUCE_PRINT

#define YY_REDUCE_PRINT ( Rule)
Value:
do { \
if (yydebug) \
yy_reduce_print (yyssp, yyvsp, Rule); \
} while (0)
int yydebug
Definition ada-exp.c:1676
#define yyvsp
Definition yy-remap.h:87
#define yyssp
Definition yy-remap.h:84

Definition at line 1668 of file ada-exp.c.

Referenced by yyparse().

◆ YY_REINTERPRET_CAST

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

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

◆ YY_STACK_PRINT

#define YY_STACK_PRINT ( Bottom,
Top )
Value:
do { \
if (yydebug) \
yy_stack_print ((Bottom), (Top)); \
} while (0)

Definition at line 1637 of file ada-exp.c.

Referenced by yyparse().

◆ yy_switch_to_buffer

#define yy_switch_to_buffer   ada_yy_switch_to_buffer

Definition at line 3121 of file ada-exp.c.

◆ YY_SYMBOL_PRINT

#define YY_SYMBOL_PRINT ( Title,
Kind,
Value,
Location )
Value:
do { \
if (yydebug) \
{ \
YYFPRINTF (stderr, "%s ", Title); \
yy_symbol_print (stderr, \
Kind, Value); \
YYFPRINTF (stderr, "\n"); \
} \
} while (0)

Definition at line 1575 of file ada-exp.c.

Referenced by yydestruct(), and yyparse().

◆ YY_USE

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

Definition at line 907 of file ada-exp.c.

Referenced by yy_symbol_value_print(), and yydestruct().

◆ YYABORT

#define YYABORT   goto yyabortlab

Definition at line 1529 of file ada-exp.c.

Referenced by yyparse().

◆ YYACCEPT

#define YYACCEPT   goto yyacceptlab

Definition at line 1528 of file ada-exp.c.

Referenced by yyparse().

◆ YYBACKUP

#define YYBACKUP ( Token,
Value )
Value:
do \
if (yychar == YYEMPTY) \
{ \
yychar = (Token); \
yylval = (Value); \
YYPOPSTACK (yylen); \
yystate = *yyssp; \
goto yybackup; \
} \
else \
{ \
yyerror (YY_("syntax error: cannot back up")); \
} \
while (0)
#define YY_(Msgid)
Definition ada-exp.c:884
ada_exp_YYSTYPE yylval
Definition ada-exp.c:1729
int yychar
Definition ada-exp.c:1726
#define YYEMPTY
Definition ada-exp.c:556
#define YYERROR
Definition ada-exp.c:1530
#define yylen
Definition yy-remap.h:74
#define yystate
Definition yy-remap.h:63

Definition at line 1536 of file ada-exp.c.

◆ YYBISON

#define YYBISON   30802

Definition at line 49 of file ada-exp.c.

◆ YYBISON_VERSION

#define YYBISON_VERSION   "3.8.2"

Definition at line 52 of file ada-exp.c.

◆ yyclearin

#define yyclearin   (yychar = YYEMPTY)

Definition at line 1526 of file ada-exp.c.

◆ YYCOPY

#define YYCOPY ( Dst,
Src,
Count )
Value:
do \
{ \
YYPTRDIFF_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} \
while (0)
#define YYPTRDIFF_T
Definition ada-exp.c:843

Definition at line 1066 of file ada-exp.c.

◆ YYCOPY_NEEDED

#define YYCOPY_NEEDED   1

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

◆ YYDPRINTF

#define YYDPRINTF ( Args)
Value:
do { \
if (yydebug) \
YYFPRINTF Args; \
} while (0)
#define YYFPRINTF
Definition yy-remap.h:97

Definition at line 1566 of file ada-exp.c.

Referenced by yyparse().

◆ YYEMPTY

#define YYEMPTY   -2

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

Referenced by yyparse().

◆ YYEOF

#define YYEOF   0

Definition at line 557 of file ada-exp.c.

Referenced by yyparse().

◆ YYERRCODE

#define YYERRCODE   YYUNDEF

Definition at line 1555 of file ada-exp.c.

◆ yyerrok

#define yyerrok   (yyerrstatus = 0)

Definition at line 1525 of file ada-exp.c.

◆ YYerror

#define YYerror   256

Definition at line 558 of file ada-exp.c.

Referenced by yyparse().

◆ YYERROR

#define YYERROR   goto yyerrorlab

Definition at line 1530 of file ada-exp.c.

Referenced by yyparse().

◆ YYFINAL

#define YYFINAL   59

Definition at line 1079 of file ada-exp.c.

Referenced by yyparse().

◆ YYFREE

#define YYFREE   xfree

Definition at line 1010 of file ada-exp.c.

◆ YYINITDEPTH

#define YYINITDEPTH   200

Definition at line 1687 of file ada-exp.c.

Referenced by yyparse().

◆ YYLAST

#define YYLAST   798

Definition at line 1081 of file ada-exp.c.

Referenced by yyparse().

◆ YYMALLOC

#define YYMALLOC   xmalloc

Definition at line 1004 of file ada-exp.c.

◆ YYMAXDEPTH

#define YYMAXDEPTH   10000

Definition at line 1698 of file ada-exp.c.

Referenced by yyparse().

◆ YYMAXUTOK

#define YYMAXUTOK   307

Definition at line 1093 of file ada-exp.c.

◆ YYNNTS

#define YYNNTS   26

Definition at line 1086 of file ada-exp.c.

◆ YYNOMEM

#define YYNOMEM   goto yyexhaustedlab

Definition at line 1531 of file ada-exp.c.

Referenced by yyparse().

◆ YYNRULES

#define YYNRULES   123

Definition at line 1088 of file ada-exp.c.

◆ YYNSTATES

#define YYNSTATES   240

Definition at line 1090 of file ada-exp.c.

Referenced by yyparse().

◆ YYNTOKENS

#define YYNTOKENS   73

Definition at line 1084 of file ada-exp.c.

Referenced by yy_symbol_print(), and yyparse().

◆ YYPACT_NINF

#define YYPACT_NINF   (-108)

Definition at line 1198 of file ada-exp.c.

◆ yypact_value_is_default

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

Definition at line 1200 of file ada-exp.c.

Referenced by yyparse().

◆ YYPOPSTACK

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

◆ YYPTRDIFF_MAXIMUM

#define YYPTRDIFF_MAXIMUM   LONG_MAX

Definition at line 844 of file ada-exp.c.

◆ YYPTRDIFF_T

#define YYPTRDIFF_T   long

Definition at line 843 of file ada-exp.c.

Referenced by yyparse().

◆ YYPULL

#define YYPULL   1

Definition at line 64 of file ada-exp.c.

◆ YYPURE

#define YYPURE   0

Definition at line 58 of file ada-exp.c.

◆ YYPUSH

#define YYPUSH   0

Definition at line 61 of file ada-exp.c.

◆ YYRECOVERING

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 1534 of file ada-exp.c.

◆ yyrestart

#define yyrestart   ada_yyrestart

Definition at line 3122 of file ada-exp.c.

Referenced by lexer_init(), rewind_to_char(), and rewind_to_char().

◆ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM
Value:
: YY_CAST (YYSIZE_T, -1)))
#define YYPTRDIFF_MAXIMUM
Definition ada-exp.c:844
#define YY_CAST(Type, Val)
Definition ada-exp.c:468
#define YYSIZE_T
Definition ada-exp.c:857

Definition at line 861 of file ada-exp.c.

◆ YYSIZE_T

#define YYSIZE_T   unsigned

Definition at line 857 of file ada-exp.c.

Referenced by yyparse().

◆ YYSIZEOF

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

Definition at line 867 of file ada-exp.c.

Referenced by yyparse().

◆ YYSKELETON_NAME

#define YYSKELETON_NAME   "yacc.c"

Definition at line 55 of file ada-exp.c.

◆ YYSTACK_ALLOC

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 990 of file ada-exp.c.

Referenced by yyparse().

◆ YYSTACK_ALLOC_MAXIMUM

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 993 of file ada-exp.c.

◆ YYSTACK_BYTES

#define YYSTACK_BYTES ( N)
Value:
yytype_uint8 yy_state_t
Definition ada-exp.c:871
#define YYSIZEOF(X)
Definition ada-exp.c:867
#define YYSTACK_GAP_MAXIMUM
Definition ada-exp.c:1030

Definition at line 1034 of file ada-exp.c.

Referenced by yyparse().

◆ YYSTACK_FREE

#define YYSTACK_FREE   YYFREE

Definition at line 991 of file ada-exp.c.

Referenced by yyparse().

◆ YYSTACK_GAP_MAXIMUM

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

Definition at line 1030 of file ada-exp.c.

◆ 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 yy-remap.h:85

Definition at line 1045 of file ada-exp.c.

Referenced by yyparse().

◆ YYTABLE_NINF

#define YYTABLE_NINF   (-86)

Definition at line 1203 of file ada-exp.c.

◆ yytable_value_is_error

#define yytable_value_is_error ( Yyn)     0

Definition at line 1205 of file ada-exp.c.

Referenced by yyparse().

◆ yytext

char * yytext   ada_yytext

Definition at line 3123 of file ada-exp.c.

◆ YYTOKENTYPE

#define YYTOKENTYPE

Definition at line 495 of file ada-exp.c.

◆ YYTRANSLATE

#define YYTRANSLATE ( YYX)
Value:
(0 <= (YYX) && (YYX) <= YYMAXUTOK \
static const yytype_int8 yytranslate[]
Definition ada-exp.c:1105
ada_exp_yysymbol_kind_t
Definition ada-exp.c:654
@ YYSYMBOL_YYUNDEF
Definition ada-exp.c:658
#define YYMAXUTOK
Definition ada-exp.c:1093

Definition at line 1098 of file ada-exp.c.

Referenced by yyparse().

◆ YYUNDEF

#define YYUNDEF   257

Definition at line 559 of file ada-exp.c.

Referenced by yyparse().

Typedef Documentation

◆ ada_assign_up

typedef std::unique_ptr<ada_assign_operation> ada_assign_up

Definition at line 454 of file ada-exp.c.

◆ ada_exp_YYSTYPE

typedef union ada_exp_YYSTYPE ada_exp_YYSTYPE

Definition at line 639 of file ada-exp.c.

◆ ada_exp_yysymbol_kind_t

Definition at line 756 of file ada-exp.c.

◆ yy_state_fast_t

typedef int yy_state_fast_t

Definition at line 874 of file ada-exp.c.

◆ yy_state_t

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

◆ yytoken_kind_t

Definition at line 553 of file ada-exp.c.

◆ yytype_int16

typedef short yytype_int16

Definition at line 795 of file ada-exp.c.

◆ yytype_int8

typedef signed char yytype_int8

Definition at line 787 of file ada-exp.c.

◆ yytype_uint16

typedef unsigned short yytype_uint16

Definition at line 827 of file ada-exp.c.

◆ yytype_uint8

typedef unsigned char yytype_uint8

Definition at line 816 of file ada-exp.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
YYENOMEM 

Definition at line 1523 of file ada-exp.c.

◆ ada_exp_yysymbol_kind_t

Enumerator
YYSYMBOL_YYEMPTY 
YYSYMBOL_YYEOF 
YYSYMBOL_YYerror 
YYSYMBOL_YYUNDEF 
YYSYMBOL_INT 
YYSYMBOL_NULL_PTR 
YYSYMBOL_CHARLIT 
YYSYMBOL_FLOAT 
YYSYMBOL_TRUEKEYWORD 
YYSYMBOL_FALSEKEYWORD 
YYSYMBOL_COLONCOLON 
YYSYMBOL_STRING 
YYSYMBOL_NAME 
YYSYMBOL_DOT_ID 
YYSYMBOL_TICK_COMPLETE 
YYSYMBOL_DOT_COMPLETE 
YYSYMBOL_NAME_COMPLETE 
YYSYMBOL_DOLLAR_VARIABLE 
YYSYMBOL_ASSIGN 
YYSYMBOL__AND_ 
YYSYMBOL_OR 
YYSYMBOL_XOR 
YYSYMBOL_THEN 
YYSYMBOL_ELSE 
YYSYMBOL_23_ 
YYSYMBOL_NOTEQUAL 
YYSYMBOL_25_ 
YYSYMBOL_26_ 
YYSYMBOL_LEQ 
YYSYMBOL_GEQ 
YYSYMBOL_IN 
YYSYMBOL_DOTDOT 
YYSYMBOL_31_ 
YYSYMBOL_32_ 
YYSYMBOL_33_ 
YYSYMBOL_34_ 
YYSYMBOL_UNARY 
YYSYMBOL_36_ 
YYSYMBOL_37_ 
YYSYMBOL_MOD 
YYSYMBOL_REM 
YYSYMBOL_STARSTAR 
YYSYMBOL_ABS 
YYSYMBOL_NOT 
YYSYMBOL_VAR 
YYSYMBOL_ARROW 
YYSYMBOL_45_ 
YYSYMBOL_TICK_ACCESS 
YYSYMBOL_TICK_ADDRESS 
YYSYMBOL_TICK_FIRST 
YYSYMBOL_TICK_LAST 
YYSYMBOL_TICK_LENGTH 
YYSYMBOL_TICK_MAX 
YYSYMBOL_TICK_MIN 
YYSYMBOL_TICK_MODULUS 
YYSYMBOL_TICK_POS 
YYSYMBOL_TICK_RANGE 
YYSYMBOL_TICK_SIZE 
YYSYMBOL_TICK_TAG 
YYSYMBOL_TICK_VAL 
YYSYMBOL_TICK_ENUM_REP 
YYSYMBOL_TICK_ENUM_VAL 
YYSYMBOL_61_ 
YYSYMBOL_62_ 
YYSYMBOL_63_ 
YYSYMBOL_NEW 
YYSYMBOL_OTHERS 
YYSYMBOL_66_ 
YYSYMBOL_67_ 
YYSYMBOL_68_ 
YYSYMBOL_69_ 
YYSYMBOL_70_ 
YYSYMBOL_71_ 
YYSYMBOL_72_ 
YYSYMBOL_YYACCEPT 
YYSYMBOL_start 
YYSYMBOL_exp1 
YYSYMBOL_76_1 
YYSYMBOL_primary 
YYSYMBOL_simple_exp 
YYSYMBOL_arglist 
YYSYMBOL_relation 
YYSYMBOL_exp 
YYSYMBOL_and_exp 
YYSYMBOL_and_then_exp 
YYSYMBOL_or_exp 
YYSYMBOL_or_else_exp 
YYSYMBOL_xor_exp 
YYSYMBOL_tick_arglist 
YYSYMBOL_type_prefix 
YYSYMBOL_opt_type_prefix 
YYSYMBOL_var_or_type 
YYSYMBOL_block 
YYSYMBOL_aggregate 
YYSYMBOL_aggregate_component_list 
YYSYMBOL_positional_list 
YYSYMBOL_component_groups 
YYSYMBOL_others 
YYSYMBOL_component_group 
YYSYMBOL_component_associations 

Definition at line 653 of file ada-exp.c.

◆ yytokentype

Enumerator
YYEMPTY 
YYEOF 
YYerror 
YYUNDEF 
INT 
NULL_PTR 
CHARLIT 
FLOAT 
TRUEKEYWORD 
FALSEKEYWORD 
COLONCOLON 
STRING 
NAME 
DOT_ID 
TICK_COMPLETE 
DOT_COMPLETE 
NAME_COMPLETE 
DOLLAR_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 
TICK_ENUM_REP 
TICK_ENUM_VAL 
NEW 
OTHERS 

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

Function Documentation

◆ _initialize_ada_exp()

void _initialize_ada_exp ( )

Definition at line 3871 of file ada-exp.c.

Referenced by initialize_all_files().

◆ ada_addrof()

static void ada_addrof ( struct type * type = nullptr)
static

Definition at line 184 of file ada-exp.c.

References ada_pop(), pstate, and parser_state::push().

Referenced by yyparse().

◆ ada_funcall()

static void ada_funcall ( int nargs)
static

◆ ada_nget_field_index()

static int ada_nget_field_index ( const struct type * type,
const char * field_name0,
int field_name_len,
int maybe_missing )
static

Definition at line 3517 of file ada-exp.c.

References ada_get_field_index(), and field_name().

Referenced by get_symbol_field_type().

◆ ada_parse()

int ada_parse ( struct parser_state * par_state)

◆ ada_pop()

static operation_up ada_pop ( bool deprocedure_p = true,
struct type * context_type = nullptr )
static

◆ ada_un_wrap2()

template<typename T >
void ada_un_wrap2 ( enum exp_opcode op)

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

References ada_pop(), maybe_overload(), pstate, and parser_state::push().

◆ ada_wrap()

template<typename T >
void ada_wrap ( )

Definition at line 174 of file ada-exp.c.

References ada_pop(), pstate, and parser_state::push_new().

◆ ada_wrap2()

template<typename T >
void ada_wrap2 ( enum exp_opcode op)

Definition at line 272 of file ada-exp.c.

References ada_pop(), maybe_overload(), pstate, and parser_state::push().

◆ ada_wrap3()

template<typename T >
void ada_wrap3 ( )

Definition at line 301 of file ada-exp.c.

References ada_pop(), pstate, and parser_state::push_new().

◆ ada_wrap_op()

template<typename T >
void ada_wrap_op ( enum exp_opcode op)

Definition at line 287 of file ada-exp.c.

References ada_pop(), maybe_overload(), pstate, and parser_state::push().

◆ ada_wrap_overload()

template<typename T >
void ada_wrap_overload ( enum exp_opcode op)

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

References ada_pop(), maybe_overload(), pstate, and parser_state::push().

◆ block_lookup()

static const struct block * block_lookup ( const struct block * context,
const char * raw_name )
static

◆ choice_component()

static ada_choices_component * choice_component ( )
static

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

Referenced by yyparse().

◆ chop_selector()

static int chop_selector ( const char * name,
int end )
static

Definition at line 3446 of file ada-exp.c.

References name.

Referenced by write_var_or_type(), and write_var_or_type_completion().

◆ chop_separator()

static const char * chop_separator ( const char * name)
static

Definition at line 3460 of file ada-exp.c.

References name.

Referenced by get_symbol_field_type(), and write_selectors().

◆ find_completion_bounds()

static std::string find_completion_bounds ( struct parser_state * par_state)
static

Definition at line 3749 of file ada-exp.c.

References parser_state::lexptr, original_expr, and pstate.

Referenced by write_var_or_type_completion(), and yyparse().

◆ find_primitive_type()

static struct type * find_primitive_type ( struct parser_state * par_state,
const char * name )
static

◆ get_symbol_field_type()

static struct type * get_symbol_field_type ( struct symbol * sym,
const char * encoded_field_name )
static

◆ make_tick_completer()

static std::unique_ptr< expr_completion_base > make_tick_completer ( struct stoken tok)
static

Definition at line 447 of file ada-exp.c.

References stoken::length, and stoken::ptr.

Referenced by yyparse().

◆ maybe_overload()

static operation_up maybe_overload ( enum exp_opcode op,
operation_up & lhs,
operation_up & rhs )
static

◆ pop_association()

static ada_association_up pop_association ( )
static

Definition at line 411 of file ada-exp.c.

References associations.

Referenced by pop_associations().

◆ pop_associations()

static std::vector< ada_association_up > pop_associations ( int n)
static

Definition at line 421 of file ada-exp.c.

References pop_association().

Referenced by yyparse().

◆ pop_component()

static ada_component_up pop_component ( )
static

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

Referenced by pop_components(), and yyparse().

◆ pop_components()

static std::vector< ada_component_up > pop_components ( int n)
static

Definition at line 388 of file ada-exp.c.

References pop_component().

Referenced by yyparse().

◆ push_association()

template<typename T , typename... Arg>
void push_association ( Arg... args)

Definition at line 403 of file ada-exp.c.

References associations.

◆ push_component()

template<typename T , typename... Arg>
void push_component ( Arg... args)

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

◆ resolve()

static operation_up resolve ( operation_up && op,
bool deprocedure_p,
struct type * context_type )
static

◆ select_possible_type_sym()

static struct symbol * select_possible_type_sym ( const std::vector< struct block_symbol > & syms)
static

◆ type_for_char()

static struct type * type_for_char ( struct parser_state * par_state,
ULONGEST value )
static

◆ type_system_address()

static struct type * type_system_address ( struct parser_state * par_state)
static

◆ write_ambiguous_var()

static void write_ambiguous_var ( struct parser_state * par_state,
const struct block * block,
const char * name,
int len )
static

◆ write_int()

static void write_int ( struct parser_state * par_state,
LONGEST arg,
struct type * type )
static

Definition at line 3184 of file ada-exp.c.

References pstate, parser_state::push_new(), and type.

Referenced by write_object_renaming(), and yyparse().

◆ write_name_assoc()

static void write_name_assoc ( struct parser_state * par_state,
struct stoken name )
static

◆ write_object_renaming()

static void write_object_renaming ( struct parser_state * par_state,
const struct block * orig_left_context,
const char * renamed_entity,
int renamed_entity_len,
const char * renaming_expr,
int max_depth )
static

◆ write_selectors()

static ada_structop_operation * write_selectors ( struct parser_state * par_state,
const char * sels )
static

Definition at line 3476 of file ada-exp.c.

References ada_pop(), chop_separator(), pstate, and parser_state::push().

Referenced by write_var_or_type(), and write_var_or_type_completion().

◆ write_var_from_sym()

static void write_var_from_sym ( struct parser_state * par_state,
block_symbol sym )
static

◆ write_var_or_type()

static struct type * write_var_or_type ( struct parser_state * par_state,
const struct block * block,
struct stoken name0 )
static

◆ write_var_or_type_completion()

static struct type * write_var_or_type_completion ( struct parser_state * par_state,
const struct block * block,
struct stoken name0 )
static

◆ xfree()

void xfree ( void * )

Referenced by gnu_nat_target::_proc_free(), aarch64_linux_delete_thread(), add_msglist(), add_path(), add_path(), allocate_dis_line_table(), allocate_dwo_file_hash_table(), allocate_dwo_unit_table(), allocate_dwp_loaded_cutus_table(), allocate_signatured_type_table(), allocate_type_unit_groups_table(), ambiguous_names_p(), arc_gdbarch_init(), arc_push_dummy_call(), arm_adjust_breakpoint_address(), ATTRIBUTE_PRINTF(), auto_load_expand_dir_vars(), bfd_uses_spe_extensions(), btrace_clear_history(), cache_unref(), cd_command(), child_terminal_init(), child_terminal_save_inferior(), charset_vector::clear(), pv_area::clear_entries(), clear_internalvar(), mips_linux_nat_target::close(), record_full_base_target::close(), coff_symtab_read(), complete_files_symbols(), compute_compunit_symtab_includes(), copy_terminal_info(), cp_class_name_from_physname(), create_copied_types_hash(), create_demangled_names_hash(), go32_nat_target::create_inferior(), nto_procfs_target::create_inferior(), create_quick_file_names_table(), dcache_free(), deallocate_reg_mem(), deallocate_reg_mem(), del_symbol_error(), delete_async_event_handler(), delete_async_signal_handler(), delete_thread_db_info(), objc_language::demangle_symbol(), destroy_block_symbol_cache(), destroy_one_procinfo(), dicos_load_module_p(), completion_tracker::discard_completions(), do_document_command(), cooked_index_shard::do_finalize(), do_serial_close(), do_set_command(), dw_expand_symtabs_matching_file_matcher(), dwarf_decode_macros(), elf_gnu_ifunc_record_cache(), elf_read_minimal_symbols(), enable_break(), enable_break2(), end_msglist(), end_stabs(), gdb::bcache::expand_hash_table(), expand_hashtable(), extend_buffer_earlier(), aix_thread_target::extra_thread_info(), fetch_loadmap(), fetch_loadmap(), filter_args(), buildsym_compunit::finish_block_internal(), finish_global_stabs(), objfile::forget_cached_source_info(), psymbol_functions::forget_cached_source_info(), free_block(), dwarf2_per_cu_data::free_cached_file_names(), free_hashed_expandable(), free_header_files(), free_linear_expandable(), free_one_bfd_section(), free_pipe_state(), free_so(), free_uploaded_tsvs(), gdb_bfd_errmsg(), gdb_bfd_open(), gdb_print_filename(), gdb_save_tty_state(), gdbscm_create_eqable_gsmob_ptr_map(), gdbscm_dynwind_xfree(), gdbscm_frame_read_register(), gdbscm_initialize_smobs(), gdbscm_lookup_global_symbol(), gdbscm_lookup_symbol(), gdbscm_lookup_type(), gdbscm_make_breakpoint(), gdbscm_make_command(), gdbscm_make_parameter(), gdbscm_parameter_value(), gdbscm_parse_function_args_1(), gdbscm_register_command_x(), gdbscm_register_parameter_x(), gdbscm_string_to_argv(), gdbscm_throw_gdb_exception(), gdbscm_value_to_lazy_string(), gdbscm_value_to_string(), generate_c_for_variable_locations(), get_ada_pspace_data(), dtrace_static_probe_ops::get_probes(), gnuv3_print_vtable(), handle_DW_AT_stmt_list(), hardwire_get_tty_state(), info_mach_tasks_command(), init_loaded_scripts_info(), libunwind_load(), linespec_state_constructor(), linespec_state_destructor(), linux_xfer_osdata_processes(), lookup_symbol_from_bfd(), ppc_linux_nat_target::low_delete_thread(), arm_linux_nat_target::low_delete_thread(), s390_linux_nat_target::low_delete_thread(), arm_linux_nat_target::low_forget_process(), lsscm_free_lazy_string_smob(), lval_func_free_closure(), m32c_m16c_address_to_pointer(), macro_bcache_free(), macro_free(), maintenance_do_deprecate(), mbpy_dealloc(), mdebug_expand_psymtab(), mdict_free(), method_name_from_physname(), mi_load_progress(), micmdpy_dealloc(), n_spaces(), net_windows_close(), objfile_register_static_link(), nto_procfs_target::open(), salpy_deleter::operator()(), trace_file_writer_deleter::operator()(), parse_macro_definition(), parse_trace_status(), remote_target::pass_signals(), patch_type(), pdc_dealloc(), pipe_close(), pop_dummy_frame(), pop_stack_item(), pop_stack_item(), pop_stack_item(), print_doc_line(), gdb::bcache::print_statistics(), remote_target::process_stop_reply(), procfs_debug_inferior(), procfs_meminfo(), remote_target::program_signals(), pull_pid_from_list(), pyuw_dealloc_cache(), read_member_functions(), record_btrace_clear_histories(), record_btrace_start_replaying(), record_btrace_stop_replaying(), record_full_end_release(), record_full_mem_release(), record_full_reg_release(), reg_value_free_impl(), register_remote_support_xml(), register_solib_event_probe(), remote_fileio_func_read(), remote_fileio_func_write(), remote_fileio_reset(), remote_target::remote_read_qxfer(), remove_dummy_frame(), mips_linux_nat_target::remove_watchpoint(), target_waitstatus::reset(), completion_result::reset_match_list(), restore_active_ext_lang(), rocm_update_solib_list(), salpy_dealloc(), save_command_line(), ser_console_close(), ser_windows_close(), serial_event_close(), serial_open_ops_1(), serial_unref(), set_cp_abi_as_auto_default(), set_die_type(), set_pspace_remote_exec_file(), set_verbose(), sim_command_completer(), simple_free_overlay_table(), pv_area::store(), stpy_dealloc(), svr4_clear_solib(), symbol_cache_clear_slot(), sync_threadlists(), target_fileio_read_alloc_1(), selftests::utils::test_substitute_path_component(), tfile_dtor(), typedef_hash_table::typedef_hash_table(), update_section_map(), amd_dbgapi_target::update_thread_list(), pascal_language::value_print_inner(), x86_linux_delete_thread(), xcoff_symfile_finish(), record_full_core_target::xfer_partial(), xfree_for_gmp(), xfree_wrapper(), z80_free_overlay_region_table(), gdb::bcache::~bcache(), buildsym_compunit::~buildsym_compunit(), cmd_list_element::~cmd_list_element(), command_line::~command_line(), completion_tracker::~completion_tracker(), dbx_symfile_info::~dbx_symfile_info(), demangle_parse_info::~demangle_parse_info(), explicit_location_spec::~explicit_location_spec(), fake_method::~fake_method(), fork_info::~fork_info(), growable_macro_buffer::~growable_macro_buffer(), linespec_location_spec::~linespec_location_spec(), linespec_result::~linespec_result(), lm_info_dsbt::~lm_info_dsbt(), lm_info_frv::~lm_info_frv(), load_section_data::~load_section_data(), minimal_symbol_reader::~minimal_symbol_reader(), objfile_pspace_info::~objfile_pspace_info(), print_c_tdesc::~print_c_tdesc(), remote_state::~remote_state(), temporary_macro_definition::~temporary_macro_definition(), and terminal_info::~terminal_info().

◆ xmalloc()

void * xmalloc ( YYSIZE_T )

Referenced by ada_exception_message_1(), add_msglist(), add_new_header_file(), arm_adjust_breakpoint_address(), arm_pikeos_osabi_sniffer(), bfd_uses_spe_extensions(), c_get_string(), chain_candidate(), complete_files_symbols(), copy_sections(), go32_nat_target::create_inferior(), nto_procfs_target::create_inferior(), dcache_alloc(), decode_loadmap(), objc_language::demangle_symbol(), dicos_load_module_p(), disasmpy_info_read_memory(), do_document_command(), do_set_command(), gdb::bcache::expand_hash_table(), extend_buffer_earlier(), extract_identifier(), fbsd_fetch_cmdline(), fetch_loadmap(), fetch_loadmap(), find_canonical_descriptor_in_load_object(), gdb_mangle_name(), gdb_print_filename(), gdbpy_parse_command_name(), gdbscm_parse_command_name(), growable_macro_buffer::growable_macro_buffer(), infcall_suspend_state::infcall_suspend_state(), info_mach_tasks_command(), infpy_read_memory(), init_lineno(), init_stringtab(), jit_unwind_reg_get_impl(), linux_fork_to_function(), linux_vsyscall_range_raw(), load_one_section(), lookup_symbol_from_bfd(), m32c_m16c_address_to_pointer(), m32c_m16c_pointer_to_address(), macho_add_oso_symfile(), macro_alloc(), macro_bcache(), make_completion_match_str_1(), maybe_add_script_file(), maybe_add_script_text(), n_spaces(), new_linetable(), new_variant(), parse_partial_symbols(), parse_trace_status(), parse_tracepoint_definition(), remote_target::pass_signals(), pdc_alloc(), print_c_tdesc::print_c_tdesc(), print_doc_line(), remote_target::program_signals(), push_stack_item(), push_stack_item(), push_stack_item(), pyuw_sniffer(), read_memory_robust(), read_whatever_is_readable(), record_full_mem_alloc(), record_full_reg_alloc(), remote_fileio_func_read(), remote_fileio_func_write(), remote_target::remote_parse_stop_reply(), simple_read_overlay_table(), start_msglist(), target_fileio_read_alloc_1(), target_read_string(), target_write_memory_blocks(), tfile_write_uploaded_tsv(), windows_nat::windows_thread_info::thread_name(), typename_concat(), pascal_language::value_print_inner(), and z80_read_overlay_region_table().

◆ yy_reduce_print()

static void yy_reduce_print ( yy_state_t * yyssp,
ada_exp_YYSTYPE * yyvsp,
int yyrule )
static

Definition at line 1649 of file ada-exp.c.

References YY_ACCESSING_SYMBOL, yy_symbol_print(), YYFPRINTF, yyr2, yyrline, yyrule, yyssp, and yyvsp.

◆ yy_stack_print()

static void yy_stack_print ( yy_state_t * yybottom,
yy_state_t * yytop )
static

Definition at line 1626 of file ada-exp.c.

References YYFPRINTF.

◆ yy_symbol_print()

static void yy_symbol_print ( FILE * yyo,
ada_exp_yysymbol_kind_t yykind,
ada_exp_YYSTYPE const *const yyvaluep )
static

Definition at line 1610 of file ada-exp.c.

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

Referenced by yy_reduce_print().

◆ yy_symbol_value_print()

static void yy_symbol_value_print ( FILE * yyo,
ada_exp_yysymbol_kind_t yykind,
ada_exp_YYSTYPE const *const yyvaluep )
static

◆ yydestruct()

static void yydestruct ( const char * yymsg,
ada_exp_yysymbol_kind_t yykind,
ada_exp_YYSTYPE * yyvaluep )
static

◆ yyerror()

static void yyerror ( const char * msg)
static

Definition at line 3164 of file ada-exp.c.

References parser_state::lexptr, and pstate.

◆ yylex()

static int yylex ( void )
static

Definition at line 120 of file ada-lex.l.

Referenced by yyparse().

◆ yyparse()

int yyparse ( void )

Definition at line 1741 of file ada-exp.c.

References ada_addrof(), ada_funcall(), ada_is_modular_type(), ada_modulus(), ada_pop(), assignments, block_lookup(), check_typedef(), choice_component(), copy_name(), expr_builder::expout, find_completion_bounds(), lookup_pointer_type(), make_tick_completer(), parser_state::mark_completion(), parser_state::mark_struct_expression(), maybe_overload(), parse_type, parser_state::pop(), pop_associations(), pop_component(), pop_components(), pstate, parser_state::push(), parser_state::push_dollar(), parser_state::push_new(), resolve, expr::ada_choices_component::set_associations(), expr::ada_structop_operation::set_prefix(), type::target_type(), value::type(), type_system_address(), ada_exp_YYSTYPE::val, write_int(), write_name_assoc(), write_var_or_type(), write_var_or_type_completion(), 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_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yychar, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, YYerror, YYERROR, yyerror, YYFINAL, YYINITDEPTH, YYLAST, yylen, yylex(), yylhs, yylloc, yylval, YYMAXDEPTH, yynerrs, YYNOMEM, YYNSTATES, YYNTOKENS, yypact, yypact_value_is_default, yypgoto, YYPOPSTACK, YYPTRDIFF_T, yyr1, yyr2, YYSIZE_T, YYSIZEOF, yyss, ada_exp_yyalloc::yyss_alloc, yyssp, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystacksize, yystate, YYSYMBOL_YYEMPTY, YYSYMBOL_YYEOF, YYSYMBOL_YYerror, yytable, yytable_value_is_error, YYTRANSLATE, YYUNDEF, yyval, yyvs, ada_exp_yyalloc::yyvs_alloc, and yyvsp.

Referenced by ada_parse().

◆ yysymbol_name()

static const char * yysymbol_name ( ada_exp_yysymbol_kind_t yysymbol)
static

Definition at line 1192 of file ada-exp.c.

References yytname.

Referenced by yy_symbol_print().

Variable Documentation

◆ assignments

std::vector<ada_assign_up> assignments
static

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

Referenced by ada_parse(), and yyparse().

◆ associations

std::vector<ada_association_up> associations
static

Definition at line 397 of file ada-exp.c.

Referenced by ada_parse(), pop_association(), and push_association().

◆ components

std::vector<ada_component_up> components
static

Definition at line 353 of file ada-exp.c.

◆ int_storage

std::vector<std::unique_ptr<gdb_mpz> > int_storage
static

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

Referenced by ada_parse(), and processInt().

◆ original_expr

const char* original_expr
static

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

Referenced by ada_parse(), and find_completion_bounds().

◆ pstate

struct parser_state* pstate = NULL
static

◆ temp_parse_space

struct obstack temp_parse_space
static

◆ yychar

int yychar

Definition at line 1726 of file ada-exp.c.

Referenced by yyparse().

◆ yycheck

const yytype_int16 yycheck[]
static

Definition at line 1372 of file ada-exp.c.

Referenced by yyparse().

◆ yydebug

int yydebug

Definition at line 1676 of file ada-exp.c.

Referenced by ada_parse().

◆ yydefact

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

Definition at line 1241 of file ada-exp.c.

Referenced by yyparse().

◆ yydefgoto

const yytype_uint8 yydefgoto[]
static
Initial value:
=
{
0, 21, 22, 124, 39, 24, 131, 25, 132, 27,
28, 29, 30, 31, 126, 32, 33, 34, 35, 36,
51, 52, 53, 54, 55, 56
}

Definition at line 1278 of file ada-exp.c.

Referenced by yyparse().

◆ yylval

Definition at line 1729 of file ada-exp.c.

Referenced by yyparse().

◆ yynerrs

int yynerrs

Definition at line 1731 of file ada-exp.c.

Referenced by yyparse().

◆ yypact

const yytype_int16 yypact[]
static
Initial value:
=
{
443, -108, -108, -108, -108, -108, -108, -108, -1, -108,
-108, -108, 443, 443, 563, 563, 443, 443, 294, 5,
-5, 12, -26, 128, 710, 35, -108, -7, 28, 43,
50, 52, 49, 65, 410, 90, -108, -108, -108, 606,
167, 167, 14, 14, 167, 167, 21, 31, -45, 647,
30, 44, 294, -108, -108, 45, -108, -108, 51, -108,
443, -108, -108, -108, -108, -108, -108, 58, 58, 58,
-108, -108, 280, 443, 443, 443, 443, 443, 443, 443,
443, 443, 443, 443, 443, 443, 443, 443, 443, 443,
97, 362, 403, 443, 443, 106, 443, 121, 443, -108,
82, 84, 96, 108, 110, 111, 280, 118, 25, -108,
443, 483, 443, -108, 443, 443, 483, -108, -108, 91,
-108, 294, 563, -108, 443, 176, -108, -108, -108, -2,
670, -40, -108, 109, 98, 98, 98, 98, 98, 98,
1, 738, 182, 758, 167, 167, 167, 143, 143, 143,
143, 143, 443, 443, -108, 443, -108, -108, -108, 443,
-108, 443, -108, 443, 443, 443, 443, 443, 443, 690,
11, 443, -108, -108, -108, 117, -108, -108, 722, -108,
-108, -108, -108, 14, -108, 120, 443, 443, -108, 523,
-108, 58, 443, 588, 749, 210, -108, -108, -108, -108,
125, 126, 129, 119, 139, 130, 443, -108, 131, 443,
483, -108, -108, 348, 24, -108, -108, 98, 58, 443,
-108, -108, -108, 443, 443, -108, 572, -108, -108, -108,
-108, 443, -108, 98, 144, 145, -108, -108, -108, -108
}

Definition at line 1210 of file ada-exp.c.

Referenced by yyparse().

◆ yypgoto

const yytype_int16 yypgoto[]
static
Initial value:
=
{
-108, -108, 177, -108, 17, 7, 112, -55, 0, -108,
-108, -108, -108, -108, -66, -108, -108, -19, -108, -108,
-108, -108, -47, -108, -108, -107
}

Definition at line 1270 of file ada-exp.c.

Referenced by yyparse().

◆ yyr1

const yytype_int8 yyr1[]
static
Initial value:
=
{
0, 73, 74, 75, 75, 76, 75, 77, 77, 77,
77, 77, 77, 77, 77, 77, 77, 77, 77, 78,
78, 78, 78, 78, 79, 79, 79, 79, 79, 77,
78, 78, 78, 78, 78, 78, 78, 78, 78, 80,
80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
80, 80, 81, 81, 81, 81, 81, 81, 82, 82,
83, 83, 84, 84, 85, 85, 86, 86, 77, 77,
77, 77, 77, 77, 77, 77, 77, 77, 77, 77,
77, 77, 77, 87, 87, 88, 89, 89, 77, 77,
77, 77, 77, 77, 77, 77, 90, 90, 90, 90,
90, 90, 91, 91, 92, 93, 93, 93, 94, 94,
95, 95, 95, 96, 97, 98, 98, 98, 98, 98,
98, 77, 77, 77
}

Definition at line 1487 of file ada-exp.c.

Referenced by yyparse().

◆ yyr2

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

Definition at line 1505 of file ada-exp.c.

Referenced by yy_reduce_print(), and yyparse().

◆ yyrline

const yytype_int16 yyrline[]
static
Initial value:
=
{
0, 495, 495, 499, 500, 503, 502, 526, 539, 553,
555, 570, 582, 584, 592, 603, 609, 613, 620, 631,
634, 638, 654, 661, 665, 668, 670, 672, 674, 678,
691, 695, 699, 703, 707, 711, 715, 719, 723, 727,
730, 734, 738, 742, 744, 751, 759, 762, 770, 781,
785, 789, 793, 794, 795, 796, 797, 798, 802, 805,
811, 814, 820, 823, 829, 831, 835, 838, 851, 853,
855, 859, 865, 871, 877, 879, 881, 883, 885, 887,
893, 899, 905, 915, 917, 922, 931, 934, 938, 945,
951, 962, 970, 977, 982, 989, 993, 995, 1001, 1003,
1009, 1017, 1028, 1030, 1035, 1046, 1047, 1053, 1058, 1064,
1073, 1074, 1075, 1079, 1086, 1099, 1105, 1111, 1120, 1125,
1130, 1144, 1146, 1148
}

Definition at line 1142 of file ada-exp.c.

Referenced by yy_reduce_print().

◆ yystos

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

Definition at line 1458 of file ada-exp.c.

◆ yytable

const yytype_int16 yytable[]
static

Definition at line 1288 of file ada-exp.c.

Referenced by yyparse().

◆ yytname

const char* const yytname[]
static
Initial value:
=
{
"\"end of file\"", "error", "\"invalid token\"", "INT", "NULL_PTR",
"CHARLIT", "FLOAT", "TRUEKEYWORD", "FALSEKEYWORD", "COLONCOLON",
"STRING", "NAME", "DOT_ID", "TICK_COMPLETE", "DOT_COMPLETE",
"NAME_COMPLETE", "DOLLAR_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", "TICK_ENUM_REP", "TICK_ENUM_VAL", "'.'", "'('",
"'['", "NEW", "OTHERS", "';'", "')'", "'\\''", "','", "'{'", "'}'",
"']'", "$accept", "start", "exp1", "$@1", "primary", "simple_exp",
"arglist", "relation", "exp", "and_exp", "and_then_exp", "or_exp",
"or_else_exp", "xor_exp", "tick_arglist", "type_prefix",
"opt_type_prefix", "var_or_type", "block", "aggregate",
"aggregate_component_list", "positional_list", "component_groups",
"others", "component_group", "component_associations", YY_NULLPTRPTR
}
#define YY_NULLPTRPTR
Definition ada-exp.c:480

Definition at line 1170 of file ada-exp.c.

Referenced by yysymbol_name().

◆ yytranslate

const yytype_int8 yytranslate[]
static

Definition at line 1105 of file ada-exp.c.