1 2builtin_type_ast ::= builtin_btid = { 3 builtin_btid = "int" (btid = 0x2001), 4 builtin_type_ast = { 5 sname = "", 6 unique_id = 1330, 7 kind = "built-in type", 8 cast_kind = "none", 9 depth = 0, 10 parent->unique_id = -1, 11 loc = 8-10, 12 type = "int" (btid = 0x2001, stid = 0x2, atid = 0x4), 13 bit_width = 0 14 } 15} 16 17east_modified_type_c_ast ::= atomic_builtin_typedef_type_c_ast type_modifier_list_c_type_opt = { 18 atomic_builtin_typedef_type_c_ast = { 19 sname = "", 20 unique_id = 1330, 21 kind = "built-in type", 22 cast_kind = "none", 23 depth = 0, 24 parent->unique_id = -1, 25 loc = 8-10, 26 type = "int" (btid = 0x2001, stid = 0x2, atid = 0x4), 27 bit_width = 0 28 }, 29 type_modifier_list_c_type_opt = "none" (btid = 0x1, stid = 0x2, atid = 0x4), 30 type_c_ast = { 31 sname = "", 32 unique_id = 1330, 33 kind = "built-in type", 34 cast_kind = "none", 35 depth = 0, 36 parent->unique_id = -1, 37 loc = 8-10, 38 type = "int" (btid = 0x2001, stid = 0x2, atid = 0x4), 39 bit_width = 0 40 } 41} 42 43sname_c ::= NAME = { 44 NAME = "S", 45 sname_c = "S" (none) 46} 47 48pointer_to_member_type_c_ast ::= sname '::*' cv_qualifier_list_stid_opt = { 49 (type_c_ast) = { 50 sname = "", 51 unique_id = 1330, 52 kind = "built-in type", 53 cast_kind = "none", 54 depth = 0, 55 parent->unique_id = -1, 56 loc = 8-10, 57 type = "int" (btid = 0x2001, stid = 0x2, atid = 0x4), 58 bit_width = 0 59 }, 60 sname = "S" (none), 61 cv_qualifier_list_stid_opt = "" (stid = 0x2), 62 pointer_to_member_type_c_ast = { 63 sname = "", 64 unique_id = 1331, 65 kind = "pointer-to-member", 66 cast_kind = "none", 67 depth = 0, 68 parent->unique_id = -1, 69 loc = 12-15, 70 type = "class" (btid = 0x2000001, stid = 0x2, atid = 0x4), 71 class_sname = "S" (class), 72 to_ast = { 73 sname = "", 74 unique_id = 1330, 75 kind = "built-in type", 76 cast_kind = "none", 77 depth = 0, 78 parent->unique_id = 1331, 79 loc = 8-10, 80 type = "int" (btid = 0x2001, stid = 0x2, atid = 0x4), 81 bit_width = 0 82 } 83 } 84} 85 86sname_c ::= NAME = { 87 NAME = "p", 88 sname_c = "p" (none) 89} 90 91sname_c_ast ::= sname_c = { 92 (type_c_ast) = { 93 sname = "", 94 unique_id = 1331, 95 kind = "pointer-to-member", 96 cast_kind = "none", 97 depth = 0, 98 parent->unique_id = -1, 99 loc = 12-15, 100 type = "class" (btid = 0x2000001, stid = 0x2, atid = 0x4), 101 class_sname = "S" (class), 102 to_ast = { 103 sname = "", 104 unique_id = 1330, 105 kind = "built-in type", 106 cast_kind = "none", 107 depth = 0, 108 parent->unique_id = 1331, 109 loc = 8-10, 110 type = "int" (btid = 0x2001, stid = 0x2, atid = 0x4), 111 bit_width = 0 112 } 113 }, 114 sname = "p" (none), 115 bit_field_c_int_opt = 0, 116 sname_c_ast = { 117 sname = "p" (none), 118 unique_id = 1331, 119 kind = "pointer-to-member", 120 cast_kind = "none", 121 depth = 0, 122 parent->unique_id = -1, 123 loc = 12-15, 124 type = "class" (btid = 0x2000001, stid = 0x2, atid = 0x4), 125 class_sname = "S" (class), 126 to_ast = { 127 sname = "", 128 unique_id = 1330, 129 kind = "built-in type", 130 cast_kind = "none", 131 depth = 0, 132 parent->unique_id = 1331, 133 loc = 8-10, 134 type = "int" (btid = 0x2001, stid = 0x2, atid = 0x4), 135 bit_width = 0 136 } 137 } 138} 139 140pointer_to_member_decl_c_astp ::= pointer_to_member_type_c_ast decl_c_astp = { 141 pointer_to_member_type_c_ast = { 142 sname = "p" (none), 143 unique_id = 1331, 144 kind = "pointer-to-member", 145 cast_kind = "none", 146 depth = 0, 147 parent->unique_id = -1, 148 loc = 12-15, 149 type = "class" (btid = 0x2000001, stid = 0x2, atid = 0x4), 150 class_sname = "S" (class), 151 to_ast = { 152 sname = "", 153 unique_id = 1330, 154 kind = "built-in type", 155 cast_kind = "none", 156 depth = 0, 157 parent->unique_id = 1331, 158 loc = 8-10, 159 type = "int" (btid = 0x2001, stid = 0x2, atid = 0x4), 160 bit_width = 0 161 } 162 }, 163 decl_c_astp = { 164 sname = "p" (none), 165 unique_id = 1331, 166 kind = "pointer-to-member", 167 cast_kind = "none", 168 depth = 0, 169 parent->unique_id = -1, 170 loc = 12-15, 171 type = "class" (btid = 0x2000001, stid = 0x2, atid = 0x4), 172 class_sname = "S" (class), 173 to_ast = { 174 sname = "", 175 unique_id = 1330, 176 kind = "built-in type", 177 cast_kind = "none", 178 depth = 0, 179 parent->unique_id = 1331, 180 loc = 8-10, 181 type = "int" (btid = 0x2001, stid = 0x2, atid = 0x4), 182 bit_width = 0 183 } 184 }, 185 pointer_to_member_decl_c_astp = { 186 sname = "p" (none), 187 unique_id = 1331, 188 kind = "pointer-to-member", 189 cast_kind = "none", 190 depth = 0, 191 parent->unique_id = -1, 192 loc = 12-16, 193 type = "class" (btid = 0x2000001, stid = 0x2, atid = 0x4), 194 class_sname = "S" (class), 195 to_ast = { 196 sname = "", 197 unique_id = 1330, 198 kind = "built-in type", 199 cast_kind = "none", 200 depth = 0, 201 parent->unique_id = 1331, 202 loc = 8-10, 203 type = "int" (btid = 0x2001, stid = 0x2, atid = 0x4), 204 bit_width = 0 205 } 206 } 207} 208 209decl_c ::= decl_c_astp = { 210 (typename_flag_opt) = false, 211 (type_c_ast) = { 212 sname = "", 213 unique_id = 1332, 214 kind = "built-in type", 215 cast_kind = "none", 216 depth = 0, 217 parent->unique_id = -1, 218 loc = 8-10, 219 type = "int" (btid = 0x2001, stid = 0x2, atid = 0x4), 220 bit_width = 0 221 }, 222 decl_c_astp = { 223 sname = "p" (none), 224 unique_id = 1331, 225 kind = "pointer-to-member", 226 cast_kind = "none", 227 depth = 0, 228 parent->unique_id = -1, 229 loc = 12-16, 230 type = "class" (btid = 0x2000001, stid = 0x2, atid = 0x4), 231 class_sname = "S" (class), 232 to_ast = { 233 sname = "", 234 unique_id = 1330, 235 kind = "built-in type", 236 cast_kind = "none", 237 depth = 0, 238 parent->unique_id = 1331, 239 loc = 8-10, 240 type = "int" (btid = 0x2001, stid = 0x2, atid = 0x4), 241 bit_width = 0 242 } 243 }, 244 decl_c = { 245 sname = "p" (none), 246 unique_id = 1331, 247 kind = "pointer-to-member", 248 cast_kind = "none", 249 depth = 0, 250 parent->unique_id = -1, 251 loc = 12-16, 252 type = "class" (btid = 0x2000001, stid = 0x2, atid = 0x4), 253 class_sname = "S" (class), 254 to_ast = { 255 sname = "", 256 unique_id = 1330, 257 kind = "built-in type", 258 cast_kind = "none", 259 depth = 0, 260 parent->unique_id = 1331, 261 loc = 8-10, 262 type = "int" (btid = 0x2001, stid = 0x2, atid = 0x4), 263 bit_width = 0 264 } 265 } 266} 267declare p as pointer to member of class S int 268