Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/stree_t.h

    r074444f r23de644  
    5454} stree_self_ref_t;
    5555
    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 */
    6756typedef struct {
    6857        bigint_t value;
     
    7362} stree_lit_ref_t;
    7463
    75 /** String literal */
    7664typedef struct {
    7765        char *value;
     
    7967
    8068typedef enum {
    81         ltc_bool,
    82         ltc_char,
    8369        ltc_int,
    8470        ltc_ref,
     
    9076        literal_class_t ltc;
    9177        union {
    92                 stree_lit_bool_t lit_bool;
    93                 stree_lit_char_t lit_char;
    9478                stree_lit_int_t lit_int;
    9579                stree_lit_ref_t lit_ref;
     
    230214/** Type literal class */
    231215typedef enum {
    232         tlc_bool,
    233         tlc_char,
    234216        tlc_int,
    235217        tlc_resource,
     
    257239/** Type application operation */
    258240typedef struct {
    259         /* Base type */
    260         struct stree_texpr *gtype;
    261 
    262         /** (Formal) type arguments */
    263         list_t targs; /* of stree_texpr_t */
     241        /** Arguments */
     242        struct stree_texpr *gtype, *targ;
    264243} stree_tapply_t;
    265244
     
    517496        stree_ident_t *name;
    518497
    519         /** List of type argument names */
    520         list_t targ_names; /* of stree_ident_t */
    521 
    522498        /** Symbol for this CSI */
    523499        struct stree_symbol *symbol;
Note: See TracChangeset for help on using the changeset viewer.