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 "bfd.h"
#include "symfile.h"
#include "objfiles.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  YYSTYPE
 
union  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 NEW   304
 
#define OTHERS   305
 
#define YYSTYPE_IS_TRIVIAL   1
 
#define 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 yyalloc) - 1)
 
#define YYSTACK_BYTES(N)
 
#define YYCOPY_NEEDED   1
 
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
 
#define YYCOPY(Dst, Src, Count)
 
#define YYFINAL   58
 
#define YYLAST   801
 
#define YYNTOKENS   71
 
#define YYNNTS   25
 
#define YYNRULES   119
 
#define YYNSTATES   230
 
#define YYMAXUTOK   305
 
#define YYTRANSLATE(YYX)
 
#define YY_ACCESSING_SYMBOL(State)   YY_CAST (yysymbol_kind_t, yystos[State])
 
#define YYPACT_NINF   (-106)
 
#define yypact_value_is_default(Yyn)    ((Yyn) == YYPACT_NINF)
 
#define YYTABLE_NINF   (-82)
 
#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 enum yytokentype yytoken_kind_t
 
typedef union YYSTYPE YYSTYPE
 
typedef enum yysymbol_kind_t yysymbol_kind_t
 
typedef signed char yytype_int8
 
typedef short yytype_int16
 
typedef short yytype_uint8
 
typedef int 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 , NEW = 304 , OTHERS = 305
}
 
enum  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_59_ = 59 , YYSYMBOL_60_ = 60 , YYSYMBOL_61_ = 61 , YYSYMBOL_NEW = 62 ,
  YYSYMBOL_OTHERS = 63 , YYSYMBOL_64_ = 64 , YYSYMBOL_65_ = 65 , YYSYMBOL_66_ = 66 ,
  YYSYMBOL_67_ = 67 , YYSYMBOL_68_ = 68 , YYSYMBOL_69_ = 69 , YYSYMBOL_70_ = 70 ,
  YYSYMBOL_YYACCEPT = 71 , YYSYMBOL_start = 72 , YYSYMBOL_exp1 = 73 , YYSYMBOL_primary = 74 ,
  YYSYMBOL_simple_exp = 75 , YYSYMBOL_arglist = 76 , YYSYMBOL_relation = 77 , YYSYMBOL_exp = 78 ,
  YYSYMBOL_and_exp = 79 , YYSYMBOL_and_then_exp = 80 , YYSYMBOL_or_exp = 81 , YYSYMBOL_or_else_exp = 82 ,
  YYSYMBOL_xor_exp = 83 , YYSYMBOL_tick_arglist = 84 , YYSYMBOL_type_prefix = 85 , YYSYMBOL_opt_type_prefix = 86 ,
  YYSYMBOL_var_or_type = 87 , YYSYMBOL_block = 88 , YYSYMBOL_aggregate = 89 , YYSYMBOL_aggregate_component_list = 90 ,
  YYSYMBOL_positional_list = 91 , YYSYMBOL_component_groups = 92 , YYSYMBOL_others = 93 , YYSYMBOL_component_group = 94 ,
  YYSYMBOL_component_associations = 95
}
 
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_int (struct parser_state *)
 
static struct typetype_long (struct parser_state *)
 
static struct typetype_long_long (struct parser_state *)
 
static struct typetype_long_double (struct parser_state *)
 
static struct typetype_for_char (struct parser_state *, ULONGEST)
 
static struct typetype_boolean (struct parser_state *)
 
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 (yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED
 
static void yy_symbol_value_print (FILE *yyo, yysymbol_kind_t yykind, YYSTYPE const *const yyvaluep)
 
static void yy_symbol_print (FILE *yyo, yysymbol_kind_t yykind, 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, YYSTYPE *yyvsp, int yyrule)
 
static void yydestruct (const char *yymsg, yysymbol_kind_t yykind, 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< ada_component_upcomponents
 
static std::vector< ada_association_upassociations
 
int yydebug
 
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 574 of file ada-exp.c.

◆ ABS

#define ABS   287

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

◆ ARROW

#define ARROW   290

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

◆ ASSIGN

#define ASSIGN   272

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

◆ CHARLIT

#define CHARLIT   260

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

◆ COLONCOLON

#define COLONCOLON   264

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

◆ DOLLAR_VARIABLE

#define DOLLAR_VARIABLE   271

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

◆ DOT_COMPLETE

#define DOT_COMPLETE   269

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

◆ DOT_ID

#define DOT_ID   267

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

◆ DOTDOT

#define DOTDOT   282

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

◆ ELSE

#define ELSE   277

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

◆ FALSEKEYWORD

#define FALSEKEYWORD   263

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

◆ FLOAT

#define FLOAT   261

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

◆ GDB_YY_REMAP_PREFIX

#define GDB_YY_REMAP_PREFIX   ada_

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

◆ GEQ

#define GEQ   280

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

◆ IN

#define IN   281

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

◆ INT

#define INT   258

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

◆ LEQ

#define LEQ   279

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

◆ MOD

#define MOD   284

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

◆ NAME

#define NAME   266

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

◆ NAME_COMPLETE

#define NAME_COMPLETE   270

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

◆ NEW

#define NEW   304

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

◆ NOT

#define NOT   288

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

◆ NOTEQUAL

#define NOTEQUAL   278

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

◆ NULL_PTR

#define NULL_PTR   259

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

◆ OR

#define OR   274

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

◆ OTHERS

#define OTHERS   305

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

◆ parse_type

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

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

◆ qsort

#define qsort   __qsort__dummy

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

◆ REM

#define REM   285

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

◆ STARSTAR

#define STARSTAR   286

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

◆ STRING

#define STRING   265

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

◆ THEN

#define THEN   276

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

◆ TICK_ACCESS

#define TICK_ACCESS   291

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

◆ TICK_ADDRESS

#define TICK_ADDRESS   292

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

◆ TICK_COMPLETE

#define TICK_COMPLETE   268

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

◆ TICK_FIRST

#define TICK_FIRST   293

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

◆ TICK_LAST

#define TICK_LAST   294

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

◆ TICK_LENGTH

#define TICK_LENGTH   295

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

◆ TICK_MAX

#define TICK_MAX   296

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

◆ TICK_MIN

#define TICK_MIN   297

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

◆ TICK_MODULUS

#define TICK_MODULUS   298

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

◆ TICK_POS

#define TICK_POS   299

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

◆ TICK_RANGE

#define TICK_RANGE   300

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

◆ TICK_SIZE

#define TICK_SIZE   301

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

◆ TICK_TAG

#define TICK_TAG   302

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

◆ TICK_VAL

#define TICK_VAL   303

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

◆ TRUEKEYWORD

#define TRUEKEYWORD   262

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

◆ UNARY

#define UNARY   283

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

◆ VAR

#define VAR   289

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

◆ XOR

#define XOR   275

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

◆ YY_

#define YY_ (   Msgid)    Msgid

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

◆ YY_ACCESSING_SYMBOL

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

Accessing symbol of state STATE.

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

◆ YY_ASSERT

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

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

◆ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE

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

◆ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED

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

◆ YY_CAST

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

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

◆ yy_create_buffer

#define yy_create_buffer   ada_yy_create_buffer

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

◆ yy_delete_buffer

#define yy_delete_buffer   ada_yy_delete_buffer

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

◆ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

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

◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

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

◆ YY_IGNORE_USELESS_CAST_BEGIN

#define YY_IGNORE_USELESS_CAST_BEGIN

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

◆ YY_IGNORE_USELESS_CAST_END

#define YY_IGNORE_USELESS_CAST_END

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

◆ yy_init_buffer

#define yy_init_buffer   ada_yy_init_buffer

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

◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE (   Value)    Value

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

◆ yy_load_buffer_state

#define yy_load_buffer_state (   void)    ada_yy_load_buffer_state

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

◆ YY_NULLPTRPTR

#define YY_NULLPTRPTR   ((void*)0)

Definition at line 481 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:1661
#define yyvsp
Definition yy-remap.h:87
#define yyssp
Definition yy-remap.h:84

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

◆ YY_REINTERPRET_CAST

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

Definition at line 470 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 1622 of file ada-exp.c.

◆ yy_switch_to_buffer

#define yy_switch_to_buffer   ada_yy_switch_to_buffer

Definition at line 3052 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 1560 of file ada-exp.c.

◆ YY_USE

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

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

◆ YYABORT

#define YYABORT   goto yyabortlab

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

◆ YYACCEPT

#define YYACCEPT   goto yyacceptlab

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

◆ 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:874
YYSTYPE yylval
Definition ada-exp.c:1714
int yychar
Definition ada-exp.c:1711
#define YYEMPTY
Definition ada-exp.c:555
#define YYERROR
Definition ada-exp.c:1515
#define yylen
Definition yy-remap.h:74
#define yystate
Definition yy-remap.h:63

Definition at line 1521 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 1511 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:833

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

◆ YYCOPY_NEEDED

#define YYCOPY_NEEDED   1

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

◆ YYDPRINTF

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

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

◆ YYEMPTY

#define YYEMPTY   -2

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

◆ YYEOF

#define YYEOF   0

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

◆ YYERRCODE

#define YYERRCODE   YYUNDEF

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

◆ yyerrok

#define yyerrok   (yyerrstatus = 0)

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

◆ YYerror

#define YYerror   256

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

◆ YYERROR

#define YYERROR   goto yyerrorlab

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

◆ YYFINAL

#define YYFINAL   58

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

◆ YYFREE

#define YYFREE   xfree

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

◆ YYINITDEPTH

#define YYINITDEPTH   200

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

◆ YYLAST

#define YYLAST   801

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

◆ YYMALLOC

#define YYMALLOC   xmalloc

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

◆ YYMAXDEPTH

#define YYMAXDEPTH   10000

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

◆ YYMAXUTOK

#define YYMAXUTOK   305

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

◆ YYNNTS

#define YYNNTS   25

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

◆ YYNOMEM

#define YYNOMEM   goto yyexhaustedlab

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

◆ YYNRULES

#define YYNRULES   119

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

◆ YYNSTATES

#define YYNSTATES   230

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

◆ YYNTOKENS

#define YYNTOKENS   71

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

◆ YYPACT_NINF

#define YYPACT_NINF   (-106)

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

◆ yypact_value_is_default

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

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

◆ YYPOPSTACK

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

◆ YYPTRDIFF_MAXIMUM

#define YYPTRDIFF_MAXIMUM   LONG_MAX

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

◆ YYPTRDIFF_T

#define YYPTRDIFF_T   long

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

◆ 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 1519 of file ada-exp.c.

◆ yyrestart

#define yyrestart   ada_yyrestart

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

◆ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM
Value:
: YY_CAST (YYSIZE_T, -1)))
#define YYPTRDIFF_MAXIMUM
Definition ada-exp.c:834
#define YY_CAST(Type, Val)
Definition ada-exp.c:469
#define YYSIZE_T
Definition ada-exp.c:847

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

◆ YYSIZE_T

#define YYSIZE_T   unsigned

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

◆ YYSIZEOF

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

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

◆ 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 980 of file ada-exp.c.

◆ YYSTACK_ALLOC_MAXIMUM

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

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

◆ YYSTACK_BYTES

#define YYSTACK_BYTES (   N)
Value:
yytype_uint8 yy_state_t
Definition ada-exp.c:861
#define YYSIZEOF(X)
Definition ada-exp.c:857
#define YYSTACK_GAP_MAXIMUM
Definition ada-exp.c:1020

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

◆ YYSTACK_FREE

#define YYSTACK_FREE   YYFREE

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

◆ YYSTACK_GAP_MAXIMUM

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

Definition at line 1020 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 1035 of file ada-exp.c.

◆ YYSTYPE_IS_DECLARED

#define YYSTYPE_IS_DECLARED   1

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

◆ YYSTYPE_IS_TRIVIAL

#define YYSTYPE_IS_TRIVIAL   1

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

◆ YYTABLE_NINF

#define YYTABLE_NINF   (-82)

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

◆ yytable_value_is_error

#define yytable_value_is_error (   Yyn)     0

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

◆ yytext

char * yytext   ada_yytext

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

◆ YYTOKENTYPE

#define YYTOKENTYPE

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

◆ YYTRANSLATE

#define YYTRANSLATE (   YYX)
Value:
(0 <= (YYX) && (YYX) <= YYMAXUTOK \
static const yytype_int8 yytranslate[]
Definition ada-exp.c:1095
yysymbol_kind_t
Definition ada-exp.c:647
@ YYSYMBOL_YYUNDEF
Definition ada-exp.c:651
#define YYMAXUTOK
Definition ada-exp.c:1083

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

◆ YYUNDEF

#define YYUNDEF   257

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

Typedef Documentation

◆ yy_state_fast_t

typedef int yy_state_fast_t

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

◆ yy_state_t

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

◆ YYSTYPE

typedef union YYSTYPE YYSTYPE

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

◆ yysymbol_kind_t

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

◆ yytoken_kind_t

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

◆ yytype_int16

typedef short yytype_int16

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

◆ yytype_int8

typedef signed char yytype_int8

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

◆ yytype_uint16

typedef int yytype_uint16

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

◆ yytype_uint8

typedef short yytype_uint8

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

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
YYENOMEM 

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

◆ 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_59_ 
YYSYMBOL_60_ 
YYSYMBOL_61_ 
YYSYMBOL_NEW 
YYSYMBOL_OTHERS 
YYSYMBOL_64_ 
YYSYMBOL_65_ 
YYSYMBOL_66_ 
YYSYMBOL_67_ 
YYSYMBOL_68_ 
YYSYMBOL_69_ 
YYSYMBOL_70_ 
YYSYMBOL_YYACCEPT 
YYSYMBOL_start 
YYSYMBOL_exp1 
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 646 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 
NEW 
OTHERS 

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

Function Documentation

◆ _initialize_ada_exp()

void _initialize_ada_exp ( )

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

Referenced by initialize_all_files().

◆ ada_addrof()

static void ada_addrof ( struct type type = nullptr)
static

Definition at line 192 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 3446 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 261 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 182 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 280 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 309 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 295 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 245 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 377 of file ada-exp.c.

References components.

Referenced by yyparse().

◆ chop_selector()

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

Definition at line 3375 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 3389 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 3678 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 455 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 419 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 429 of file ada-exp.c.

References pop_association().

Referenced by yyparse().

◆ pop_component()

static ada_component_up pop_component ( )
static

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

References components.

Referenced by pop_components(), and yyparse().

◆ pop_components()

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

Definition at line 396 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 411 of file ada-exp.c.

References associations.

◆ push_component()

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

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

References components.

◆ 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_boolean()

static struct type * type_boolean ( struct parser_state par_state)
static

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

References parse_type.

Referenced by yyparse().

◆ type_for_char()

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

◆ type_int()

static struct type * type_int ( struct parser_state par_state)
static

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

References parse_type.

Referenced by processInt(), and write_object_renaming().

◆ type_long()

static struct type * type_long ( struct parser_state par_state)
static

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

References parse_type.

Referenced by processInt().

◆ type_long_double()

static struct type * type_long_double ( struct parser_state par_state)
static

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

References parse_type.

Referenced by processReal().

◆ type_long_long()

static struct type * type_long_long ( struct parser_state par_state)
static

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

References parse_type.

Referenced by processInt().

◆ 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 3113 of file ada-exp.c.

References pstate, parser_state::push_new(), and YYSTYPE::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 3405 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(), tfile_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(), remote_target::disable_btrace(), completion_tracker::discard_completions(), do_document_command(), cooked_index::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(), typedef_hash_table::find_global_typedef(), buildsym_compunit::finish_block_internal(), finish_global_stabs(), psymbol_functions::forget_cached_source_info(), forget_cached_source_info_for_objfile(), 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_iovec_fileio_close(), gdb_bfd_open(), gdb_print_filename(), gdb_readline_no_editing(), gdb_readline_no_editing_callback(), 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(), dtrace_static_probe_ops::get_probes(), gnuv3_print_vtable(), go_symbol_package_name(), 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(), linux_xfer_osdata_processgroups(), 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_execute_command(), 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(), 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_main_name(), 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(), remote_target::teardown_btrace(), selftests::utils::test_substitute_path_component(), tfile_dtor(), tfile_write_uploaded_tsv(), typedef_hash_table::typedef_hash_table(), update_section_map(), 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(), agent_expr::~agent_expr(), 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(), main_info::~main_info(), mi_parse::~mi_parse(), 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(), agent_expr::agent_expr(), amd64_relocate_instruction(), arm_adjust_breakpoint_address(), arm_pikeos_osabi_sniffer(), bfd_uses_spe_extensions(), c_get_string(), chain_candidate(), commandline_from_pid(), 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(), mi_parse(), 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,
YYSTYPE yyvsp,
int  yyrule 
)
static

Definition at line 1634 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 1611 of file ada-exp.c.

References YYFPRINTF.

◆ yy_symbol_print()

static void yy_symbol_print ( FILE *  yyo,
yysymbol_kind_t  yykind,
YYSTYPE const *const  yyvaluep 
)
static

Definition at line 1595 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,
yysymbol_kind_t  yykind,
YYSTYPE const *const  yyvaluep 
)
static

◆ yydestruct()

static void yydestruct ( const char *  yymsg,
yysymbol_kind_t  yykind,
YYSTYPE yyvaluep 
)
static

◆ yyerror()

static void yyerror ( const char *  msg)
static

Definition at line 3093 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 1726 of file ada-exp.c.

References ada_addrof(), ada_funcall(), ada_is_modular_type(), ada_modulus(), ada_pop(), block_lookup(), check_typedef(), choice_component(), components, copy_name(), EVAL_AVOID_SIDE_EFFECTS, 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(), type_boolean(), type_system_address(), YYSTYPE::val, value_type(), 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, 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, yyalloc::yyvs_alloc, and yyvsp.

Referenced by ada_parse().

◆ yysymbol_name()

static const char * yysymbol_name ( yysymbol_kind_t  yysymbol)
static

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

References yytname.

Referenced by yy_symbol_print().

Variable Documentation

◆ associations

std::vector<ada_association_up> associations
static

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

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

◆ components

std::vector<ada_component_up> components
static

◆ original_expr

const char* original_expr
static

Definition at line 107 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 1711 of file ada-exp.c.

Referenced by yyparse().

◆ yycheck

const yytype_int16 yycheck[]
static

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

Referenced by yyparse().

◆ yydebug

int yydebug

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

Referenced by ada_parse().

◆ yydefact

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

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

Referenced by yyparse().

◆ yydefgoto

const yytype_uint8 yydefgoto[]
static
Initial value:
=
{
0, 20, 21, 38, 23, 128, 24, 129, 26, 27,
28, 29, 30, 123, 31, 32, 33, 34, 35, 50,
51, 52, 53, 54, 55
}

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

Referenced by yyparse().

◆ yylval

YYSTYPE yylval

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

Referenced by yyparse().

◆ yynerrs

int yynerrs

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

Referenced by yyparse().

◆ yypact

const yytype_int16 yypact[]
static
Initial value:
=
{
421, -106, -106, -106, -106, -106, -106, -106, 6, -106,
-106, 421, 421, 541, 541, 421, 421, 274, 45, 17,
61, 10, 566, 723, 26, -106, 48, 52, 57, 60,
76, -32, 49, 99, 32, -106, -106, -106, 621, 2,
2, -7, -7, 2, 2, 4, 54, -29, 660, 35,
39, 274, -106, -106, 38, -106, -106, 37, -106, 421,
-106, -106, -106, 421, -106, -106, 51, 51, 51, -106,
-106, 260, 421, 421, 421, 421, 421, 421, 421, 421,
421, 421, 421, 421, 421, 421, 421, 421, 421, 79,
340, 381, 421, 421, 92, 421, 94, 421, -106, 71,
72, 73, 75, 260, 77, 22, -106, 421, 461, 421,
-106, 421, 421, 461, -106, -106, 47, -106, 274, 541,
-106, -106, 114, -106, -106, -106, 16, 683, -38, -106,
66, 553, 553, 553, 553, 553, 553, 582, 534, 171,
761, 2, 2, 2, 98, 98, 98, 98, 98, 421,
421, -106, 421, -106, -106, -106, 421, -106, 421, -106,
421, 421, 421, 421, 703, -10, 421, -106, -106, -106,
736, -106, -106, 326, -106, -106, -106, -106, -7, 89,
421, 421, -106, 501, -106, 51, 421, 605, 752, 192,
-106, -106, -106, -106, 93, 97, 100, 103, 421, -106,
105, 421, 461, -106, -106, 90, 21, -106, -106, 553,
51, 421, -106, 421, 421, -106, 109, -106, -106, -106,
-106, 421, -106, 553, 107, 108, -106, -106, -106, -106
}

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

Referenced by yyparse().

◆ yypgoto

const yytype_int16 yypgoto[]
static
Initial value:
=
{
-106, -106, 158, 20, 7, 74, -81, 0, -106, -106,
-106, -106, -106, -66, -106, -106, -15, -106, -106, -106,
-106, -45, -106, -106, -105
}

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

Referenced by yyparse().

◆ yyr1

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

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

Referenced by yyparse().

◆ yyr2

const yytype_int8 yyr2[]
static
Initial value:
=
{
0, 2, 1, 1, 3, 3, 2, 2, 4, 4,
5, 6, 6, 3, 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, 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 1491 of file ada-exp.c.

Referenced by yy_reduce_print(), and yyparse().

◆ yyrline

const yytype_int16 yyrline[]
static
Initial value:
=
{
0, 491, 491, 495, 496, 498, 514, 527, 541, 543,
558, 570, 572, 580, 591, 597, 601, 608, 611, 615,
631, 638, 642, 645, 647, 649, 651, 655, 668, 672,
676, 680, 684, 688, 692, 696, 700, 704, 707, 711,
715, 719, 721, 728, 736, 739, 747, 758, 762, 766,
770, 771, 772, 773, 774, 775, 779, 782, 788, 791,
797, 800, 806, 808, 812, 815, 828, 830, 832, 836,
842, 848, 854, 856, 858, 860, 862, 864, 870, 880,
882, 887, 896, 899, 903, 907, 913, 924, 932, 939,
941, 945, 949, 951, 957, 959, 965, 973, 984, 986,
991, 1002, 1003, 1009, 1014, 1020, 1029, 1030, 1031, 1035,
1042, 1055, 1061, 1067, 1076, 1081, 1086, 1100, 1102, 1104
}

Definition at line 1132 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, 32, 33, 34, 36, 41, 42, 60, 62, 68,
72, 73, 74, 75, 77, 78, 79, 80, 81, 82,
83, 85, 86, 87, 88, 89, 9, 46, 74, 75,
75, 74, 74, 75, 75, 11, 63, 73, 75, 78,
90, 91, 92, 93, 94, 95, 11, 87, 0, 64,
12, 13, 14, 17, 46, 47, 48, 49, 50, 56,
57, 60, 61, 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,
51, 52, 54, 60, 66, 11, 15, 44, 45, 44,
65, 30, 44, 45, 67, 65, 78, 92, 67, 69,
78, 78, 60, 84, 84, 84, 11, 75, 76, 78,
78, 75, 75, 75, 75, 75, 75, 74, 75, 87,
75, 75, 75, 75, 75, 75, 75, 75, 75, 29,
21, 77, 22, 77, 77, 77, 21, 77, 22, 77,
60, 60, 60, 60, 75, 76, 60, 9, 46, 78,
75, 95, 78, 75, 78, 95, 67, 92, 74, 3,
44, 30, 65, 67, 70, 55, 30, 74, 75, 87,
77, 77, 77, 77, 78, 78, 78, 78, 30, 65,
78, 44, 45, 65, 78, 75, 11, 78, 84, 75,
55, 30, 65, 67, 67, 65, 75, 65, 78, 95,
65, 44, 84, 75, 78, 78, 65, 78, 65, 65
}

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

◆ yytable

const yytype_int16 yytable[]
static

Definition at line 1274 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", "'.'", "'('", "'['", "NEW", "OTHERS", "';'",
"')'", "'\\''", "','", "'{'", "'}'", "']'", "$accept", "start", "exp1",
"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:481

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

Referenced by yysymbol_name().

◆ yytranslate

const yytype_int8 yytranslate[]
static

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