GDB (xrefs)

Classes | Macros | Typedefs | Enumerations | Functions | Variables
/tmp/gdb-8.1/gdb/cp-name-parser.c File Reference
`#include "defs.h"`
`#include <unistd.h>`
`#include "safe-ctype.h"`
`#include "demangle.h"`
`#include "cp-support.h"`
`#include <stddef.h>`

Go to the source code of this file.

## Classes
struct | demangle_info
union | YYSTYPE
struct | YYSTYPE::nested
union | yyalloc

## Macros
#define | YYBISON 1
#define | YYBISON_VERSION "3.0.4"
#define | YYSKELETON_NAME "yacc.c"
#define | YYPURE 0
#define | YYPUSH 0
#define | YYPULL 1
#define | ALLOC_CHUNK 100
#define | QUAL_CONST 1
#define | QUAL_RESTRICT 2
#define | QUAL_VOLATILE 4
#define | INT_CHAR (1 << 0)
#define | INT_SHORT (1 << 1)
#define | INT_LONG (1 << 2)
#define | INT_LLONG (1 << 3)
#define | INT_SIGNED (1 << 4)
#define | INT_UNSIGNED (1 << 5)
#define | yymaxdepth cpname_maxdepth
#define | yyparse cpname_parse
#define | yylex cpname_lex
#define | yyerror cpname_error
#define | yylval cpname_lval
#define | yychar cpname_char
#define | yydebug cpname_debug
#define | yypact cpname_pact
#define | yyr1 cpname_r1
#define | yyr2 cpname_r2
#define | yydef cpname_def
#define | yychk cpname_chk
#define | yypgo cpname_pgo
#define | yyact cpname_act
#define | yyexca cpname_exca
#define | yyerrflag cpname_errflag
#define | yynerrs cpname_nerrs
#define | yyps cpname_ps
#define | yypv cpname_pv
#define | yys cpname_s
#define | yy_yys cpname_yys
#define | yystate cpname_state
#define | yytmp cpname_tmp
#define | yyv cpname_v
#define | yy_yyv cpname_yyv
#define | yyval cpname_val
#define | yylloc cpname_lloc
#define | yyreds cpname_reds /* With YYDEBUG defined */
#define | yytoks cpname_toks /* With YYDEBUG defined */
#define | yyname cpname_name /* With YYDEBUG defined */
#define | yyrule cpname_rule /* With YYDEBUG defined */
#define | yylhs cpname_yylhs
#define | yylen cpname_yylen
#define | yydefred cpname_yydefred
#define | yydgoto cpname_yydgoto
#define | yysindex cpname_yysindex
#define | yyrindex cpname_yyrindex
#define | yygindex cpname_yygindex
#define | yytable cpname_yytable
#define | yycheck cpname_yycheck
#define | yyss cpname_yyss
#define | yysslim cpname_yysslim
#define | yyssp cpname_yyssp
#define | yystacksize cpname_yystacksize
#define | yyvs cpname_yyvs
#define | yyvsp cpname_yyvsp
#define | d_left(dc) (dc)->u.s_binary.left
#define | d_right(dc) (dc)->u.s_binary.right
#define | YY_NULLPTRPTR 0
#define | YYERROR_VERBOSE 0
#define | YYDEBUG 0
#define | YYTOKENTYPE
#define | INT 258
#define | FLOAT 259
#define | NAME 260
#define | STRUCT 261
#define | CLASS 262
#define | UNION 263
#define | ENUM 264
#define | SIZEOF 265
#define | UNSIGNED 266
#define | COLONCOLON 267
#define | TEMPLATE 268
#define | ERROR 269
#define | NEW 270
#define | DELETE 271
#define | OPERATOR 272
#define | STATIC_CAST 273
#define | REINTERPRET_CAST 274
#define | DYNAMIC_CAST 275
#define | SIGNED_KEYWORD 276
#define | LONG 277
#define | SHORT 278
#define | INT_KEYWORD 279
#define | CONST_KEYWORD 280
#define | VOLATILE_KEYWORD 281
#define | DOUBLE_KEYWORD 282
#define | BOOL 283
#define | ELLIPSIS 284
#define | RESTRICT 285
#define | VOID 286
#define | FLOAT_KEYWORD 287
#define | CHAR 288
#define | WCHAR_T 289
#define | ASSIGN_MODIFY 290
#define | TRUEKEYWORD 291
#define | FALSEKEYWORD 292
#define | DEMANGLER_SPECIAL 293
#define | CONSTRUCTION_VTABLE 294
#define | CONSTRUCTION_IN 295
#define | OROR 296
#define | ANDAND 297
#define | EQUAL 298
#define | NOTEQUAL 299
#define | LEQ 300
#define | GEQ 301
#define | LSH 302
#define | RSH 303
#define | UNARY 304
#define | INCREMENT 305
#define | DECREMENT 306
#define | ARROW 307
#define | YYSTYPE_IS_TRIVIAL 1
#define | YYSTYPE_IS_DECLARED 1
#define | YYSIZE_T size_t
#define | YYSIZE_MAXIMUM ((YYSIZE_T) -1)
#define | YY_(Msgid) Msgid
#define | YY_ATTRIBUTE(Spec) /* empty */
#define | YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__))
#define | YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__))
#define | YYUSE(E) ((void) (E))
#define | YY_INITIAL_VALUE(Value) Value
#define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
#define | YY_IGNORE_MAYBE_UNINITIALIZED_END
#define | YYSTACK_ALLOC YYMALLOC
#define | YYSTACK_FREE YYFREE
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
#define | YYMALLOC xmalloc
#define | YYFREE xfree
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
#define | YYSTACK_BYTES(N)
#define | YYCOPY_NEEDED 1
#define | YYSTACK_RELOCATE(Stack_alloc, Stack)
#define | YYCOPY(Dst, Src, Count)
#define | YYFINAL 84
#define | YYLAST 1137
#define | YYNTOKENS 75
#define | YYNNTS 40
#define | YYNRULES 195
#define | YYNSTATES 325
#define | YYUNDEFTOK 2
#define | YYMAXUTOK 307
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
#define | YYPACT_NINF -187
#define | yypact_value_is_default(Yystate) (!!((Yystate) == (-187)))
#define | YYTABLE_NINF -1
#define | yytable_value_is_error(Yytable_value) 0
#define | yyerrok (yyerrstatus = 0)
#define | yyclearin (yychar = YYEMPTY)
#define | YYEMPTY (-2)
#define | YYEOF 0
#define | YYACCEPT goto yyacceptlab
#define | YYABORT goto yyabortlab
#define | YYERROR goto yyerrorlab
#define | YYRECOVERING() (!!yyerrstatus)
#define | YYBACKUP(Token, Value)
#define | YYTERROR 1
#define | YYERRCODE 256
#define | YYDPRINTF(Args)
#define | YY_SYMBOL_PRINT(Title, Type, Value, Location)
#define | YY_STACK_PRINT(Bottom, Top)
#define | YY_REDUCE_PRINT(Rule)
#define | YYINITDEPTH 200
#define | YYMAXDEPTH 10000
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
#define | HANDLE_QUAL(TYPE, MTYPE, QUAL)
#define | HANDLE_SPECIAL(string, comp)
#define | HANDLE_TOKEN2(string, token)
#define | HANDLE_TOKEN3(string, token)

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

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

## Functions
static struct demangle_component * | d_grab (void)
static struct demangle_component * | d_qualify (struct demangle_component *, int, int)
static struct demangle_component * | d_int_type (int)
static struct demangle_component * | d_unary (const char *, struct demangle_component *)
static struct demangle_component * | d_binary (const char *, struct demangle_component *, struct demangle_component *)
int | yyparse (void)
static int | yylex (void)
static void | yyerror (const char *)
static struct demangle_component * | fill_comp (enum demangle_component_type d_type, struct demangle_component *lhs, struct demangle_component *rhs)
static struct demangle_component * | make_operator (const char *name, int args)
static struct demangle_component * | make_dtor (enum gnu_v3_dtor_kinds kind, struct demangle_component *name)
static struct demangle_component * | make_builtin_type (const char *name)
static struct demangle_component * | make_name (const char *name, int len)
void * | xmalloc (YYSIZE_T)
void | xfree (void *)
static void | yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
static bool | cp_ident_is_alpha (unsigned char ch)
static bool | cp_ident_is_alnum (unsigned char ch)
static const char * | symbol_end (const char *lexptr)
static int | parse_number (const char *p, int len, int parsed_float)
static int | c_parse_backslash (int host_char, int *target_char)
static int | cp_parse_escape (const char **string_ptr)
static struct demangle_info * | allocate_info (void)
gdb::unique_xmalloc_ptr< char > | cp_comp_to_string (struct demangle_component *result, int estimated_len)
void | cp_merge_demangle_parse_infos (struct demangle_parse_info *dest, struct demangle_component *target, struct demangle_parse_info *src)
struct std::unique_ptr< demangle_parse_info > | cp_demangled_name_to_comp (const char *demangled_name, const char **errmsg)

## Variables
static const char * | lexptr
static const char * | prev_lexptr
static const char * | error_lexptr
static const char * | global_errmsg
static struct demangle_info * | demangle_info
static struct demangle_component * | global_result
YYSTYPE | yylval
static const yytype_uint8 | yytranslate []
static const yytype_int16 | yypact []
static const yytype_uint8 | yydefact []
static const yytype_int16 | yypgoto []
static const yytype_int16 | yydefgoto []
static const yytype_uint16 | yytable []
static const yytype_int16 | yycheck []
static const yytype_uint8 | yystos []
static const yytype_uint8 | yyr1 []
static const yytype_uint8 | yyr2 []
int | yychar
int | yynerrs
static char | backslashable [] = "abefnrtv"
static char | represented [] = "\a\b\e\f\n\r\t\v"

## Macro Definition Documentation

## ◆ ALLOC_CHUNK

#define ALLOC_CHUNK 100

Definition at line 89 of file cp-name-parser.c.

Referenced by d_grab().

## ◆ ANDAND

#define ANDAND 297

Definition at line 411 of file cp-name-parser.c.

Referenced by yylex().

## ◆ ARROW

#define ARROW 307

Definition at line 421 of file cp-name-parser.c.

Referenced by yylex().

## ◆ ASSIGN_MODIFY

#define ASSIGN_MODIFY 290

Definition at line 404 of file cp-name-parser.c.

Referenced by yylex().

## ◆ BOOL

#define BOOL 283

Definition at line 397 of file cp-name-parser.c.

Referenced by yylex().

## ◆ CHAR

#define CHAR 288

Definition at line 402 of file cp-name-parser.c.

Referenced by yylex().

## ◆ CLASS

#define CLASS 262

Definition at line 376 of file cp-name-parser.c.

Referenced by yylex().

## ◆ COLONCOLON

#define COLONCOLON 267

Definition at line 381 of file cp-name-parser.c.

Referenced by yylex().

## ◆ CONST_KEYWORD

#define CONST_KEYWORD 280

Definition at line 394 of file cp-name-parser.c.

Referenced by yylex().

## ◆ CONSTRUCTION_IN

#define CONSTRUCTION_IN 295

Definition at line 409 of file cp-name-parser.c.

Referenced by yylex().

## ◆ CONSTRUCTION_VTABLE

#define CONSTRUCTION_VTABLE 294

Definition at line 408 of file cp-name-parser.c.

Referenced by yylex().

## ◆ d_left

#define d_left | ( |  | dc | ) | (dc)->u.s_binary.left

Definition at line 283 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ d_right

#define d_right | ( |  | dc | ) | (dc)->u.s_binary.right

Definition at line 284 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ DECREMENT

#define DECREMENT 306

Definition at line 420 of file cp-name-parser.c.

Referenced by yylex().

## ◆ DELETE

#define DELETE 271

Definition at line 385 of file cp-name-parser.c.

Referenced by yylex().

## ◆ DEMANGLER_SPECIAL

#define DEMANGLER_SPECIAL 293

Definition at line 407 of file cp-name-parser.c.

Referenced by yylex().

## ◆ DOUBLE_KEYWORD

#define DOUBLE_KEYWORD 282

Definition at line 396 of file cp-name-parser.c.

Referenced by yylex().

## ◆ DYNAMIC_CAST

#define DYNAMIC_CAST 275

Definition at line 389 of file cp-name-parser.c.

Referenced by yylex().

## ◆ ELLIPSIS

#define ELLIPSIS 284

Definition at line 398 of file cp-name-parser.c.

Referenced by yylex().

## ◆ ENUM

#define ENUM 264

Definition at line 378 of file cp-name-parser.c.

Referenced by yylex().

## ◆ EQUAL

#define EQUAL 298

Definition at line 412 of file cp-name-parser.c.

Referenced by yylex().

## ◆ ERROR

#define ERROR 269

Definition at line 383 of file cp-name-parser.c.

Referenced by parse_number(), and yylex().

## ◆ FALSEKEYWORD

#define FALSEKEYWORD 292

Definition at line 406 of file cp-name-parser.c.

Referenced by yylex().

## ◆ FLOAT

#define FLOAT 259

Definition at line 373 of file cp-name-parser.c.

Referenced by parse_number().

## ◆ FLOAT_KEYWORD

#define FLOAT_KEYWORD 287

Definition at line 401 of file cp-name-parser.c.

Referenced by yylex().

## ◆ GEQ

#define GEQ 301

Definition at line 415 of file cp-name-parser.c.

Referenced by yylex().

## ◆ HANDLE_QUAL

#define HANDLE_QUAL | ( |  | TYPE,
|  |  | MTYPE,
|  |  | QUAL
| ) |  |

Value:
if ((qualifiers & QUAL) && (type != TYPE) && (type != MTYPE)) \
{ \
*inner_p = fill_comp (is_method ? MTYPE : TYPE, \
*inner_p, NULL); \
inner_p = &d_left (*inner_p); \
type = (*inner_p)->type; \
} \
else if (type == TYPE || type == MTYPE) \
{ \
inner_p = &d_left (*inner_p); \
type = (*inner_p)->type; \
}
type
Definition: gdbtypes.h:749
fill_comp
static struct demangle_component * fill_comp(enum demangle_component_type d_type, struct demangle_component *lhs, struct demangle_component *rhs)
Definition: cp-name-parser.c:223
d_left
#define d_left(dc)
Definition: cp-name-parser.c:283

Referenced by d_qualify().

## ◆ HANDLE_SPECIAL

#define HANDLE_SPECIAL | ( |  | string,
|  |  | comp
| ) |  |

Value:
if (strncmp (tokstart, string, sizeof (string) - 1) == 0) \
{ \
lexptr = tokstart + sizeof (string) - 1; \
yylval.lval = comp; \
return DEMANGLER_SPECIAL; \
}
string
const char * string
Definition: signals.c:50
DEMANGLER_SPECIAL
#define DEMANGLER_SPECIAL
Definition: cp-name-parser.c:407

Definition at line 3753 of file cp-name-parser.c.

Referenced by yylex().

## ◆ HANDLE_TOKEN2

#define HANDLE_TOKEN2 | ( |  | string,
|  |  | token
| ) |  |

Value:
if (lexptr[1] == string[1]) \
{ \
lexptr += 2; \
yylval.opname = string; \
return token; \
}
string
const char * string
Definition: signals.c:50
token
int token
Definition: m2-exp.c:2527
lexptr
static const char * lexptr
Definition: cp-name-parser.c:84

Definition at line 3761 of file cp-name-parser.c.

Referenced by yylex().

## ◆ HANDLE_TOKEN3

#define HANDLE_TOKEN3 | ( |  | string,
|  |  | token
| ) |  |

Value:
if (lexptr[1] == string[1] && lexptr[2] == string[2]) \
{ \
lexptr += 3; \
yylval.opname = string; \
return token; \
}
string
const char * string
Definition: signals.c:50
token
int token
Definition: m2-exp.c:2527
lexptr
static const char * lexptr
Definition: cp-name-parser.c:84

Definition at line 3769 of file cp-name-parser.c.

Referenced by yylex().

## ◆ INCREMENT

#define INCREMENT 305

Definition at line 419 of file cp-name-parser.c.

Referenced by yylex().

## ◆ INT

#define INT 258

Definition at line 372 of file cp-name-parser.c.

Referenced by parse_number(), and yylex().

## ◆ INT_CHAR

#define INT_CHAR (1 << 0)

Definition at line 148 of file cp-name-parser.c.

Referenced by d_int_type(), and yyparse().

## ◆ INT_KEYWORD

#define INT_KEYWORD 279

Definition at line 393 of file cp-name-parser.c.

Referenced by yylex().

## ◆ INT_LLONG

#define INT_LLONG (1 << 3)

Definition at line 151 of file cp-name-parser.c.

Referenced by d_int_type(), and yyparse().

## ◆ INT_LONG

#define INT_LONG (1 << 2)

Definition at line 150 of file cp-name-parser.c.

Referenced by d_int_type(), and yyparse().

## ◆ INT_SHORT

#define INT_SHORT (1 << 1)

Definition at line 149 of file cp-name-parser.c.

Referenced by d_int_type(), and yyparse().

## ◆ INT_SIGNED

#define INT_SIGNED (1 << 4)

Definition at line 153 of file cp-name-parser.c.

Referenced by d_int_type(), and yyparse().

## ◆ INT_UNSIGNED

#define INT_UNSIGNED (1 << 5)

Definition at line 154 of file cp-name-parser.c.

Referenced by d_int_type(), and yyparse().

## ◆ LEQ

#define LEQ 300

Definition at line 414 of file cp-name-parser.c.

Referenced by yylex().

## ◆ LONG

#define LONG 277

Definition at line 391 of file cp-name-parser.c.

Referenced by yylex().

## ◆ LSH

#define LSH 302

Definition at line 416 of file cp-name-parser.c.

Referenced by yylex().

## ◆ NAME

#define NAME 260

Definition at line 374 of file cp-name-parser.c.

Referenced by yylex().

## ◆ NEW

#define NEW 270

Definition at line 384 of file cp-name-parser.c.

Referenced by yylex().

## ◆ NOTEQUAL

#define NOTEQUAL 299

Definition at line 413 of file cp-name-parser.c.

Referenced by yylex().

## ◆ OPERATOR

#define OPERATOR 272

Definition at line 386 of file cp-name-parser.c.

Referenced by yylex().

## ◆ OROR

#define OROR 296

Definition at line 410 of file cp-name-parser.c.

Referenced by yylex().

## ◆ QUAL_CONST

#define QUAL_CONST 1

Definition at line 142 of file cp-name-parser.c.

Referenced by d_qualify(), and yyparse().

## ◆ QUAL_RESTRICT

#define QUAL_RESTRICT 2

Definition at line 143 of file cp-name-parser.c.

Referenced by d_qualify(), and yyparse().

## ◆ QUAL_VOLATILE

#define QUAL_VOLATILE 4

Definition at line 144 of file cp-name-parser.c.

Referenced by d_qualify(), and yyparse().

## ◆ REINTERPRET_CAST

#define REINTERPRET_CAST 274

Definition at line 388 of file cp-name-parser.c.

Referenced by yylex().

## ◆ RESTRICT

#define RESTRICT 285

Definition at line 399 of file cp-name-parser.c.

Referenced by yylex().

## ◆ RSH

#define RSH 303

Definition at line 417 of file cp-name-parser.c.

Referenced by yylex().

## ◆ SHORT

#define SHORT 278

Definition at line 392 of file cp-name-parser.c.

Referenced by yylex().

## ◆ SIGNED_KEYWORD

#define SIGNED_KEYWORD 276

Definition at line 390 of file cp-name-parser.c.

Referenced by yylex().

## ◆ SIZEOF

#define SIZEOF 265

Definition at line 379 of file cp-name-parser.c.

Referenced by yylex().

## ◆ STATIC_CAST

#define STATIC_CAST 273

Definition at line 387 of file cp-name-parser.c.

Referenced by yylex().

## ◆ STRUCT

#define STRUCT 261

Definition at line 375 of file cp-name-parser.c.

Referenced by yylex().

## ◆ TEMPLATE

#define TEMPLATE 268

Definition at line 382 of file cp-name-parser.c.

Referenced by yylex().

## ◆ TRUEKEYWORD

#define TRUEKEYWORD 291

Definition at line 405 of file cp-name-parser.c.

Referenced by yylex().

## ◆ UNARY

#define UNARY 304

Definition at line 418 of file cp-name-parser.c.

## ◆ UNION

#define UNION 263

Definition at line 377 of file cp-name-parser.c.

Referenced by yylex().

## ◆ UNSIGNED

#define UNSIGNED 266

Definition at line 380 of file cp-name-parser.c.

Referenced by yylex().

## ◆ VOID

#define VOID 286

Definition at line 400 of file cp-name-parser.c.

Referenced by yylex().

## ◆ VOLATILE_KEYWORD

#define VOLATILE_KEYWORD 281

Definition at line 395 of file cp-name-parser.c.

Referenced by yylex().

## ◆ WCHAR_T

#define WCHAR_T 289

Definition at line 403 of file cp-name-parser.c.

Referenced by yylex().

## ◆ YY_

#define YY_ | ( |  | Msgid | ) | Msgid

Definition at line 518 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YY_ATTRIBUTE

#define YY_ATTRIBUTE | ( |  | Spec | ) | /* empty */

Definition at line 528 of file cp-name-parser.c.

## ◆ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__))

Definition at line 533 of file cp-name-parser.c.

## ◆ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__))

Definition at line 537 of file cp-name-parser.c.

## ◆ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 568 of file cp-name-parser.c.

Referenced by yydestruct(), and yyparse().

## ◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 569 of file cp-name-parser.c.

Referenced by yydestruct(), and yyparse().

## ◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE | ( |  | Value | ) | Value

Definition at line 565 of file cp-name-parser.c.

## ◆ YY_NULLPTRPTR

#define YY_NULLPTRPTR 0

Definition at line 293 of file cp-name-parser.c.

## ◆ YY_REDUCE_PRINT

#define YY_REDUCE_PRINT | ( |  | Rule | ) |

Definition at line 1431 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YY_STACK_PRINT

#define YY_STACK_PRINT | ( |  | Bottom,
|  |  | Top
| ) |  |

Definition at line 1430 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YY_SYMBOL_PRINT

#define YY_SYMBOL_PRINT | ( |  | Title,
|  |  | Type,
|  |  | Value,
|  |  | Location
| ) |  |

Definition at line 1429 of file cp-name-parser.c.

Referenced by yydestruct(), and yyparse().

## ◆ yy_yys

#define yy_yys cpname_yys

Definition at line 183 of file cp-name-parser.c.

## ◆ yy_yyv

#define yy_yyv cpname_yyv

Definition at line 187 of file cp-name-parser.c.

## ◆ YYABORT

#define YYABORT goto yyabortlab

Definition at line 1276 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYACCEPT

#define YYACCEPT goto yyacceptlab

Definition at line 1275 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yyact

#define yyact cpname_act

Definition at line 176 of file cp-name-parser.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")); \
YYERROR; \
} \
while (0)
yylen
#define yylen
Definition: cp-name-parser.c:195
YYEMPTY
#define YYEMPTY
Definition: cp-name-parser.c:1272
yyssp
#define yyssp
Definition: cp-name-parser.c:205
if
if(!(yy_init))
Definition: ada-lex.c:1075
yychar
#define yychar
Definition: cp-name-parser.c:168
YY_
#define YY_(Msgid)
Definition: cp-name-parser.c:518

Definition at line 1282 of file cp-name-parser.c.

## ◆ YYBISON

#define YYBISON 1

Definition at line 44 of file cp-name-parser.c.

## ◆ YYBISON_VERSION

#define YYBISON_VERSION "3.0.4"

Definition at line 47 of file cp-name-parser.c.

## ◆ yychar

#define yychar cpname_char

Definition at line 168 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yycheck

#define yycheck cpname_yycheck

Definition at line 202 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yychk

#define yychk cpname_chk

Definition at line 174 of file cp-name-parser.c.

## ◆ yyclearin

#define yyclearin (yychar = YYEMPTY)

Definition at line 1271 of file cp-name-parser.c.

## ◆ YYCOPY

#define YYCOPY | ( |  | Dst,
|  |  | Src,
|  |  | Count
| ) |  |

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

Definition at line 691 of file cp-name-parser.c.

## ◆ YYCOPY_NEEDED

#define YYCOPY_NEEDED 1

Definition at line 663 of file cp-name-parser.c.

## ◆ yydebug

int yydebug cpname_debug

Definition at line 169 of file cp-name-parser.c.

## ◆ YYDEBUG

#define YYDEBUG 0

Definition at line 308 of file cp-name-parser.c.

## ◆ yydef

#define yydef cpname_def

Definition at line 173 of file cp-name-parser.c.

## ◆ yydefred

#define yydefred cpname_yydefred

Definition at line 196 of file cp-name-parser.c.

## ◆ yydgoto

#define yydgoto cpname_yydgoto

Definition at line 197 of file cp-name-parser.c.

## ◆ YYDPRINTF

#define YYDPRINTF | ( |  | Args | ) |

Definition at line 1428 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYEMPTY

#define YYEMPTY (-2)

Definition at line 1272 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYEOF

#define YYEOF 0

Definition at line 1273 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYERRCODE

#define YYERRCODE 256

Definition at line 1301 of file cp-name-parser.c.

## ◆ yyerrflag

#define yyerrflag cpname_errflag

Definition at line 178 of file cp-name-parser.c.

## ◆ yyerrok

#define yyerrok (yyerrstatus = 0)

Definition at line 1270 of file cp-name-parser.c.

## ◆ yyerror

#define yyerror cpname_error

Definition at line 166 of file cp-name-parser.c.

Referenced by yylex(), and yyparse().

## ◆ YYERROR

#define YYERROR goto yyerrorlab

Definition at line 1277 of file cp-name-parser.c.

## ◆ YYERROR_VERBOSE

#define YYERROR_VERBOSE 0

Definition at line 302 of file cp-name-parser.c.

## ◆ yyexca

#define yyexca cpname_exca

Definition at line 177 of file cp-name-parser.c.

## ◆ YYFINAL

#define YYFINAL 84

Definition at line 704 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYFREE

#define YYFREE xfree

Definition at line 634 of file cp-name-parser.c.

## ◆ yygindex

#define yygindex cpname_yygindex

Definition at line 200 of file cp-name-parser.c.

## ◆ YYINITDEPTH

#define YYINITDEPTH 200

Definition at line 1437 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYLAST

#define YYLAST 1137

Definition at line 706 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yylen

#define yylen cpname_yylen

Definition at line 195 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yylex

#define yylex cpname_lex

Definition at line 165 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yylhs

#define yylhs cpname_yylhs

Definition at line 194 of file cp-name-parser.c.

## ◆ yylloc

#define yylloc cpname_lloc

Definition at line 189 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yylval

YYSTYPE yylval cpname_lval

Definition at line 167 of file cp-name-parser.c.

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

## ◆ YYMALLOC

#define YYMALLOC xmalloc

Definition at line 628 of file cp-name-parser.c.

## ◆ yymaxdepth

#define yymaxdepth cpname_maxdepth

Definition at line 163 of file cp-name-parser.c.

## ◆ YYMAXDEPTH

#define YYMAXDEPTH 10000

Definition at line 1448 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYMAXUTOK

#define YYMAXUTOK 307

Definition at line 720 of file cp-name-parser.c.

## ◆ yyname

#define yyname cpname_name /* With YYDEBUG defined */

Definition at line 192 of file cp-name-parser.c.

## ◆ yynerrs

#define yynerrs cpname_nerrs

Definition at line 179 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYNNTS

#define YYNNTS 40

Definition at line 711 of file cp-name-parser.c.

## ◆ YYNRULES

#define YYNRULES 195

Definition at line 713 of file cp-name-parser.c.

## ◆ YYNSTATES

#define YYNSTATES 325

Definition at line 715 of file cp-name-parser.c.

## ◆ YYNTOKENS

#define YYNTOKENS 75

Definition at line 709 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yypact

#define yypact cpname_pact

Definition at line 170 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYPACT_NINF

#define YYPACT_NINF -187

Definition at line 834 of file cp-name-parser.c.

## ◆ yypact_value_is_default

#define yypact_value_is_default | ( |  | Yystate | ) | (!!((Yystate) == (-187)))

Definition at line 836 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yyparse

#define yyparse cpname_parse

Definition at line 164 of file cp-name-parser.c.

Referenced by cp_demangled_name_to_comp().

## ◆ yypgo

#define yypgo cpname_pgo

Definition at line 175 of file cp-name-parser.c.

## ◆ YYPOPSTACK

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

Referenced by yyparse().

## ◆ yyps

#define yyps cpname_ps

Definition at line 180 of file cp-name-parser.c.

## ◆ YYPULL

#define YYPULL 1

Definition at line 59 of file cp-name-parser.c.

## ◆ YYPURE

#define YYPURE 0

Definition at line 53 of file cp-name-parser.c.

## ◆ YYPUSH

#define YYPUSH 0

Definition at line 56 of file cp-name-parser.c.

## ◆ yypv

#define yypv cpname_pv

Definition at line 181 of file cp-name-parser.c.

## ◆ yyr1

#define yyr1 cpname_r1

Definition at line 171 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yyr2

#define yyr2 cpname_r2

Definition at line 172 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYRECOVERING

#define YYRECOVERING | ( |  | ) | (!!yyerrstatus)

Definition at line 1280 of file cp-name-parser.c.

## ◆ yyreds

#define yyreds cpname_reds /* With YYDEBUG defined */

Definition at line 190 of file cp-name-parser.c.

## ◆ yyrindex

#define yyrindex cpname_yyrindex

Definition at line 199 of file cp-name-parser.c.

## ◆ yyrule

#define yyrule cpname_rule /* With YYDEBUG defined */

Definition at line 193 of file cp-name-parser.c.

Referenced by yy_reduce_print().

## ◆ yys

#define yys cpname_s

Definition at line 182 of file cp-name-parser.c.

## ◆ yysindex

#define yysindex cpname_yysindex

Definition at line 198 of file cp-name-parser.c.

## ◆ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)

Definition at line 508 of file cp-name-parser.c.

## ◆ YYSIZE_T

#define YYSIZE_T size_t

Definition at line 502 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYSKELETON_NAME

#define YYSKELETON_NAME "yacc.c"

Definition at line 50 of file cp-name-parser.c.

## ◆ yyss

#define yyss cpname_yyss

Definition at line 203 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yysslim

#define yysslim cpname_yysslim

Definition at line 204 of file cp-name-parser.c.

## ◆ yyssp

#define yyssp cpname_yyssp

Definition at line 205 of file cp-name-parser.c.

Referenced by yy_reduce_print(), and yyparse().

## ◆ YYSTACK_ALLOC

#define YYSTACK_ALLOC YYMALLOC

Definition at line 614 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYSTACK_ALLOC_MAXIMUM

#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM

Definition at line 617 of file cp-name-parser.c.

## ◆ YYSTACK_BYTES

#define YYSTACK_BYTES | ( |  | N | ) |

Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
+ YYSTACK_GAP_MAXIMUM)
YYSTYPE
union YYSTYPE YYSTYPE
Definition: cp-name-parser.c:451
YYSTACK_GAP_MAXIMUM
#define YYSTACK_GAP_MAXIMUM
Definition: cp-name-parser.c:655
yytype_int16
short int yytype_int16
Definition: ada-exp.c:342

Definition at line 659 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYSTACK_FREE

#define YYSTACK_FREE YYFREE

Definition at line 615 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYSTACK_GAP_MAXIMUM

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

Definition at line 655 of file cp-name-parser.c.

## ◆ YYSTACK_RELOCATE

#define YYSTACK_RELOCATE | ( |  | Stack_alloc,
|  |  | Stack
| ) |  |

Value:
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
while (0)
YYSTACK_GAP_MAXIMUM
#define YYSTACK_GAP_MAXIMUM
Definition: cp-name-parser.c:655
yystacksize
#define yystacksize
Definition: cp-name-parser.c:206

Definition at line 670 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yystacksize

#define yystacksize cpname_yystacksize

Definition at line 206 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yystate

#define yystate cpname_state

Definition at line 184 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYSTYPE_IS_DECLARED

#define YYSTYPE_IS_DECLARED 1

Definition at line 453 of file cp-name-parser.c.

## ◆ YYSTYPE_IS_TRIVIAL

#define YYSTYPE_IS_TRIVIAL 1

Definition at line 452 of file cp-name-parser.c.

## ◆ yytable

#define yytable cpname_yytable

Definition at line 201 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYTABLE_NINF

#define YYTABLE_NINF -1

Definition at line 839 of file cp-name-parser.c.

## ◆ yytable_value_is_error

#define yytable_value_is_error | ( |  | Yytable_value | ) | 0

Definition at line 841 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYTERROR

#define YYTERROR 1

Definition at line 1300 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yytmp

#define yytmp cpname_tmp

Definition at line 185 of file cp-name-parser.c.

## ◆ YYTOKENTYPE

#define YYTOKENTYPE

Definition at line 316 of file cp-name-parser.c.

## ◆ yytoks

#define yytoks cpname_toks /* With YYDEBUG defined */

Definition at line 191 of file cp-name-parser.c.

## ◆ YYTRANSLATE

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

Definition at line 722 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ YYUNDEFTOK

#define YYUNDEFTOK 2

Definition at line 719 of file cp-name-parser.c.

## ◆ YYUSE

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

Definition at line 551 of file cp-name-parser.c.

Referenced by yydestruct().

## ◆ yyv

#define yyv cpname_v

Definition at line 186 of file cp-name-parser.c.

## ◆ yyval

#define yyval cpname_val

Definition at line 188 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yyvs

#define yyvs cpname_yyvs

Definition at line 207 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yyvsp

#define yyvsp cpname_yyvsp

Definition at line 208 of file cp-name-parser.c.

Referenced by yy_reduce_print(), and yyparse().

## Typedef Documentation

## ◆ YYSTYPE

typedef union YYSTYPE YYSTYPE

Definition at line 451 of file cp-name-parser.c.

## ◆ yytype_int16

typedef short int yytype_int16

Definition at line 492 of file cp-name-parser.c.

## ◆ yytype_int8

typedef signed char yytype_int8

Definition at line 480 of file cp-name-parser.c.

## ◆ yytype_uint16

typedef unsigned short int yytype_uint16

Definition at line 486 of file cp-name-parser.c.

## ◆ yytype_uint8

typedef unsigned char yytype_uint8

Definition at line 474 of file cp-name-parser.c.

## Enumeration Type Documentation

## ◆ yytokentype

enum yytokentype

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

Definition at line 317 of file cp-name-parser.c.

## Function Documentation

## ◆ allocate_info()

static struct demangle_info* allocate_info | ( | void |  | ) |
| static

Definition at line 4179 of file cp-name-parser.c.

References demangle_info::next, demangle_info::used, and XNEW.

Referenced by cp_demangled_name_to_comp().

## ◆ c_parse_backslash()

static int c_parse_backslash | ( | int | host_char,
|  | int * | target_char
| ) |  |
| static

Definition at line 3662 of file cp-name-parser.c.

References backslashable, and represented.

Referenced by cp_parse_escape().

## ◆ cp_comp_to_string()

gdb::unique_xmalloc_ptr<char> cp_comp_to_string | ( | struct demangle_component * | result,
|  | int | estimated_len
| ) |  |

Definition at line 4195 of file cp-name-parser.c.

References err.

Referenced by cp_canonicalize_string(), cp_canonicalize_string_full(), cp_class_name_from_physname(), cp_func_name(), cp_remove_params_1(), method_name_from_physname(), replace_typedefs(), replace_typedefs_qualified_name(), and typy_lookup_type().

## ◆ cp_demangled_name_to_comp()

struct std::unique_ptr< demangle_parse_info > cp_demangled_name_to_comp | ( | const char * | demangled_name,
|  | const char ** | errmsg
| ) |  |

Definition at line 4266 of file cp-name-parser.c.

References allocate_info(), demangle_info, errmsg, error_lexptr, global_errmsg, global_result, lexptr, prev_lexptr, and yyparse.

Referenced by cp_canonicalize_string(), cp_canonicalize_string_full(), cp_func_name(), cp_remove_params_1(), inspect_type(), mangled_name_to_comp(), and typy_legacy_template_argument().

## ◆ cp_ident_is_alnum()

static bool cp_ident_is_alnum | ( | unsigned char | ch | ) |
| inline static

Definition at line 3530 of file cp-name-parser.c.

Referenced by symbol_end(), and yylex().

## ◆ cp_ident_is_alpha()

static bool cp_ident_is_alpha | ( | unsigned char | ch | ) |
| inline static

Definition at line 3522 of file cp-name-parser.c.

Referenced by yylex().

## ◆ cp_merge_demangle_parse_infos()

void cp_merge_demangle_parse_infos | ( | struct demangle_parse_info * | dest,
|  | struct demangle_component * | target,
|  | struct demangle_parse_info * | src
| ) |  |

Definition at line 4241 of file cp-name-parser.c.

References demangle_parse_info::info, demangle_info::next, and demangle_parse_info::tree.

Referenced by inspect_type().

## ◆ cp_parse_escape()

static int cp_parse_escape | ( | const char ** | string_ptr | ) |
| static

Definition at line 3689 of file cp-name-parser.c.

References c_parse_backslash().

Referenced by yylex().

## ◆ d_binary()

static struct demangle_component * d_binary | ( | const char * | name,
|  | struct demangle_component * | lhs,
|  | struct demangle_component * | rhs
| ) |  |
| static

Definition at line 3507 of file cp-name-parser.c.

References fill_comp(), make_operator(), and name.

Referenced by yyparse().

## ◆ d_grab()

static struct demangle_component* d_grab | ( | void |  | ) |
| static

Definition at line 100 of file cp-name-parser.c.

References ALLOC_CHUNK, demangle_info::comps, demangle_info::next, demangle_info::used, and XNEW.

Referenced by fill_comp(), make_builtin_type(), make_dtor(), make_name(), and make_operator().

## ◆ d_int_type()

static struct demangle_component * d_int_type | ( | int | flags | ) |
| static

Definition at line 3446 of file cp-name-parser.c.

References flags, INT_CHAR, INT_LLONG, INT_LONG, INT_SHORT, INT_SIGNED, INT_UNSIGNED, make_builtin_type(), and name.

Referenced by yyparse().

## ◆ d_qualify()

struct demangle_component * d_qualify | ( | struct demangle_component * | lhs,
|  | int | qualifiers,
|  | int | is_method
| ) |  |
| static

Definition at line 3411 of file cp-name-parser.c.

References HANDLE_QUAL, QUAL_CONST, QUAL_RESTRICT, QUAL_VOLATILE, and type.

Referenced by yyparse().

## ◆ d_unary()

static struct demangle_component * d_unary | ( | const char * | name,
|  | struct demangle_component * | lhs
| ) |  |
| static

Definition at line 3499 of file cp-name-parser.c.

References fill_comp(), make_operator(), and name.

Referenced by yyparse().

## ◆ fill_comp()

static struct demangle_component* fill_comp | ( | enum demangle_component_type | d_type,
|  | struct demangle_component * | lhs,
|  | struct demangle_component * | rhs
| ) |  |
| static

Definition at line 223 of file cp-name-parser.c.

References d_grab(), and gdb_assert.

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

## ◆ make_builtin_type()

static struct demangle_component* make_builtin_type | ( | const char * | name | ) |
| static

Definition at line 260 of file cp-name-parser.c.

References d_grab(), gdb_assert, and name.

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

## ◆ make_dtor()

static struct demangle_component* make_dtor | ( | enum gnu_v3_dtor_kinds | kind,
|  | struct demangle_component * | name
| ) |  |
| static

Definition at line 248 of file cp-name-parser.c.

References d_grab(), gdb_assert, and name.

Referenced by yyparse().

## ◆ make_name()

static struct demangle_component* make_name | ( | const char * | name,
|  | int | len
| ) |  |
| static

Definition at line 272 of file cp-name-parser.c.

References d_grab(), gdb_assert, and name.

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

## ◆ make_operator()

static struct demangle_component* make_operator | ( | const char * | name,
|  | int | args
| ) |  |
| static

Definition at line 236 of file cp-name-parser.c.

References d_grab(), gdb_assert, and name.

Referenced by d_binary(), d_unary(), and yyparse().

## ◆ parse_number()

static int parse_number | ( | const char * | p,
|  | int | len,
|  | int | parsed_float
| ) |  |
| static

Definition at line 3553 of file cp-name-parser.c.

References ERROR, fill_comp(), FLOAT, INT, make_builtin_type(), make_name(), name, type, and yylval.

Referenced by yylex().

## ◆ symbol_end()

static const char* symbol_end | ( | const char * | lexptr | ) |
| static

Definition at line 3538 of file cp-name-parser.c.

References cp_ident_is_alnum(), and lexptr.

Referenced by yylex().

## ◆ xfree()

void xfree | ( | void * |  | ) |

Referenced by demangle_parse_info::~demangle_parse_info().

## ◆ xmalloc()

void* xmalloc | ( | YYSIZE_T |  | ) |

## ◆ yydestruct()

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

Definition at line 1679 of file cp-name-parser.c.

References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_SYMBOL_PRINT, and YYUSE.

Referenced by yyparse().

## ◆ yyerror()

static void yyerror | ( | const char * | msg | ) |
| static

Definition at line 4165 of file cp-name-parser.c.

References error_lexptr, global_errmsg, and prev_lexptr.

## ◆ yylex()

static int yylex | ( | void |  | ) |
| static

Definition at line 3780 of file cp-name-parser.c.

References _, ANDAND, ARROW, ASSIGN_MODIFY, BOOL, CHAR, CLASS, COLONCOLON, CONST_KEYWORD, CONSTRUCTION_IN, CONSTRUCTION_VTABLE, cp_ident_is_alnum(), cp_ident_is_alpha(), cp_parse_escape(), DECREMENT, DELETE, DEMANGLER_SPECIAL, DOUBLE_KEYWORD, DYNAMIC_CAST, ELLIPSIS, ENUM, EQUAL, ERROR, FALSEKEYWORD, fill_comp(), FLOAT_KEYWORD, GEQ, HANDLE_SPECIAL, HANDLE_TOKEN2, HANDLE_TOKEN3, INCREMENT, INT, INT_KEYWORD, LEQ, lexptr, LONG, LSH, make_builtin_type(), make_name(), NAME, NEW, NOTEQUAL, OPERATOR, OROR, parse_number(), prev_lexptr, REINTERPRET_CAST, RESTRICT, RSH, SHORT, SIGNED_KEYWORD, SIZEOF, STATIC_CAST, STRUCT, symbol, symbol_end(), TEMPLATE, TRUEKEYWORD, UNION, UNSIGNED, VOID, VOLATILE_KEYWORD, WCHAR_T, yyerror, and yylval.

## ◆ yyparse()

int yyparse | ( | void |  | ) |

Definition at line 1708 of file cp-name-parser.c.

References d_binary(), d_int_type(), d_left, d_qualify(), d_right, d_unary(), fill_comp(), global_result, INT_CHAR, INT_LLONG, INT_LONG, INT_SHORT, INT_SIGNED, INT_UNSIGNED, make_builtin_type(), make_dtor(), make_name(), make_operator(), QUAL_CONST, QUAL_RESTRICT, QUAL_VOLATILE, YY_, YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yychar, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, yyerror, YYFINAL, YYINITDEPTH, YYLAST, yylen, yylex, yylloc, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact, yypact_value_is_default, yypgoto, YYPOPSTACK, yyr1, yyr2, YYSIZE_T, yyss, yyalloc::yyss_alloc, yyssp, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystacksize, yystate, yystos, yytable, yytable_value_is_error, YYTERROR, YYTRANSLATE, yyval, yyvs, yyalloc::yyvs_alloc, and yyvsp.

## Variable Documentation

## ◆ backslashable

char backslashable[] = "abefnrtv"
| static

Definition at line 3657 of file cp-name-parser.c.

Referenced by c_parse_backslash().

## ◆ demangle_info

struct demangle_info* demangle_info
| static

Definition at line 97 of file cp-name-parser.c.

Referenced by cp_demangled_name_to_comp().

## ◆ error_lexptr

const char * error_lexptr
| static

Definition at line 84 of file cp-name-parser.c.

Referenced by cp_demangled_name_to_comp(), and yyerror().

## ◆ global_errmsg

const char * global_errmsg
| static

Definition at line 84 of file cp-name-parser.c.

Referenced by cp_demangled_name_to_comp(), and yyerror().

## ◆ global_result

struct demangle_component* global_result
| static

Definition at line 124 of file cp-name-parser.c.

Referenced by cp_demangled_name_to_comp(), and yyparse().

## ◆ lexptr

const char* lexptr
| static

Definition at line 84 of file cp-name-parser.c.

Referenced by cp_demangled_name_to_comp(), finished_macro_expansion(), lex_character(), lex_escape(), lex_hex(), lex_identifier(), lex_number(), lex_one_token(), lex_operator(), lex_string(), macro_expand_next(), match_string_literal(), parse_number(), rewind_to_char(), rust_push_back(), rustyyerror(), rustyylex(), scan_macro_expansion(), symbol_end(), yyerror(), and yylex().

## ◆ prev_lexptr

const char * prev_lexptr
| static

Definition at line 84 of file cp-name-parser.c.

Referenced by cp_demangled_name_to_comp(), lex_identifier(), lex_one_token(), rust_push_back(), rustyyerror(), rustyylex(), yyerror(), and yylex().

## ◆ represented

char represented[] = "\a\b\e\f\n\r\t\v"
| static

Definition at line 3658 of file cp-name-parser.c.

Referenced by c_parse_backslash().

## ◆ yychar

int yychar

Definition at line 1695 of file cp-name-parser.c.

## ◆ yycheck

const yytype_int16 yycheck[]
| static

Definition at line 1062 of file cp-name-parser.c.

## ◆ yydefact

const yytype_uint8 yydefact[]
| static

Definition at line 886 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yydefgoto

const yytype_int16 yydefgoto[]
| static

Initial value:
=
{
-1, 21, 156, 93, 23, 24, 25, 26, 27, 28,
119, 29, 253, 30, 31, 78, 33, 143, 144, 167,
96, 158, 34, 35, 36, 37, 38, 168, 98, 39,
170, 127, 100, 40, 255, 256, 128, 129, 210, 211
}

Definition at line 933 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yylval

YYSTYPE yylval

Definition at line 1698 of file cp-name-parser.c.

## ◆ yynerrs

int yynerrs

Definition at line 1700 of file cp-name-parser.c.

## ◆ yypact

const yytype_int16 yypact[]
| static

Definition at line 846 of file cp-name-parser.c.

## ◆ yypgoto

const yytype_int16 yypgoto[]
| static

Initial value:
=
{
-187, -187, 25, -66, -187, -187, -187, 3, -187, -20,
-187, -1, -32, 15, 1, 0, 150, 149, 31, -187,
-25, -156, -187, 234, 205, -187, 213, -17, -98, 196,
-18, -16, 158, -129, -106, -187, 134, -187, -6, -186
}

Definition at line 924 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yyr1

const yytype_uint8 yyr1[]
| static

Initial value:
=
{
0, 75, 76, 77, 77, 77, 78, 78, 79, 79,
79, 79, 79, 80, 80, 81, 81, 81, 81, 81,
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
81, 81, 81, 81, 81, 81, 81, 81, 82, 83,
83, 83, 83, 84, 84, 84, 85, 85, 86, 86,
86, 86, 87, 87, 88, 88, 89, 89, 90, 90,
90, 90, 91, 92, 92, 93, 93, 93, 93, 93,
94, 94, 94, 94, 94, 95, 95, 95, 96, 96,
97, 97, 97, 98, 98, 99, 99, 99, 99, 99,
99, 100, 100, 101, 101, 101, 101, 101, 101, 101,
102, 102, 102, 102, 102, 103, 103, 104, 104, 104,
104, 104, 104, 104, 104, 104, 104, 104, 104, 105,
105, 105, 106, 106, 106, 106, 107, 107, 107, 107,
107, 108, 108, 109, 109, 110, 110, 110, 110, 111,
111, 111, 111, 111, 112, 112, 112, 112, 112, 113,
114, 114, 114, 114, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 113, 113
}

Definition at line 1220 of file cp-name-parser.c.

## ◆ yyr2

const yytype_uint8 yyr2[]
| static

Initial value:
=
{
0, 2, 1, 1, 1, 1, 0, 2, 2, 3,
3, 2, 2, 2, 4, 2, 2, 4, 4, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 3, 2, 3, 3, 2, 2,
1, 3, 2, 1, 4, 2, 1, 2, 2, 1,
2, 1, 1, 1, 1, 2, 2, 1, 2, 3,
2, 3, 4, 1, 3, 1, 2, 2, 4, 1,
1, 2, 3, 4, 3, 4, 4, 3, 0, 1,
1, 1, 1, 1, 2, 1, 1, 1, 1, 1,
1, 1, 2, 1, 1, 1, 2, 1, 1, 1,
2, 1, 1, 3, 4, 2, 3, 2, 1, 3,
2, 2, 1, 3, 2, 3, 2, 4, 3, 1,
2, 1, 3, 2, 2, 1, 1, 2, 1, 4,
2, 1, 2, 2, 1, 3, 2, 2, 1, 2,
1, 1, 4, 4, 4, 2, 2, 2, 2, 3,
1, 3, 2, 4, 2, 2, 2, 4, 7, 7,
7, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
5, 1, 1, 4, 1, 1
}

Definition at line 1245 of file cp-name-parser.c.

## ◆ yystos

const yytype_uint8 yystos[]
| static

Definition at line 1182 of file cp-name-parser.c.

Referenced by yyparse().

## ◆ yytable

const yytype_uint16 yytable[]
| static

Definition at line 944 of file cp-name-parser.c.

## ◆ yytranslate

const yytype_uint8 yytranslate[]
| static

Definition at line 727 of file cp-name-parser.c.