Changeset 074444f in mainline for uspace/app/sbi/src/stree_t.h
- Timestamp:
- 2010-04-10T11:15:33Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1ef0fc3, 38aaacc2
- Parents:
- 23de644
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/stree_t.h
r23de644 r074444f 54 54 } stree_self_ref_t; 55 55 56 /** Boolean literal */ 57 typedef struct { 58 bool_t value; 59 } stree_lit_bool_t; 60 61 /** Character literal */ 62 typedef struct { 63 bigint_t value; 64 } stree_lit_char_t; 65 66 /** Integer literal */ 56 67 typedef struct { 57 68 bigint_t value; … … 62 73 } stree_lit_ref_t; 63 74 75 /** String literal */ 64 76 typedef struct { 65 77 char *value; … … 67 79 68 80 typedef enum { 81 ltc_bool, 82 ltc_char, 69 83 ltc_int, 70 84 ltc_ref, … … 76 90 literal_class_t ltc; 77 91 union { 92 stree_lit_bool_t lit_bool; 93 stree_lit_char_t lit_char; 78 94 stree_lit_int_t lit_int; 79 95 stree_lit_ref_t lit_ref; … … 214 230 /** Type literal class */ 215 231 typedef enum { 232 tlc_bool, 233 tlc_char, 216 234 tlc_int, 217 235 tlc_resource, … … 239 257 /** Type application operation */ 240 258 typedef struct { 241 /** Arguments */ 242 struct stree_texpr *gtype, *targ; 259 /* Base type */ 260 struct stree_texpr *gtype; 261 262 /** (Formal) type arguments */ 263 list_t targs; /* of stree_texpr_t */ 243 264 } stree_tapply_t; 244 265 … … 496 517 stree_ident_t *name; 497 518 519 /** List of type argument names */ 520 list_t targ_names; /* of stree_ident_t */ 521 498 522 /** Symbol for this CSI */ 499 523 struct stree_symbol *symbol;
Note:
See TracChangeset
for help on using the changeset viewer.