Changeset 074444f in mainline for uspace/app/sbi/src/stree_t.h


Ignore:
Timestamp:
2010-04-10T11:15:33Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1ef0fc3, 38aaacc2
Parents:
23de644
Message:

Update SBI to rev. 184.

File:
1 edited

Legend:

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

    r23de644 r074444f  
    5454} stree_self_ref_t;
    5555
     56/** Boolean literal */
     57typedef struct {
     58        bool_t value;
     59} stree_lit_bool_t;
     60
     61/** Character literal */
     62typedef struct {
     63        bigint_t value;
     64} stree_lit_char_t;
     65
     66/** Integer literal */
    5667typedef struct {
    5768        bigint_t value;
     
    6273} stree_lit_ref_t;
    6374
     75/** String literal */
    6476typedef struct {
    6577        char *value;
     
    6779
    6880typedef enum {
     81        ltc_bool,
     82        ltc_char,
    6983        ltc_int,
    7084        ltc_ref,
     
    7690        literal_class_t ltc;
    7791        union {
     92                stree_lit_bool_t lit_bool;
     93                stree_lit_char_t lit_char;
    7894                stree_lit_int_t lit_int;
    7995                stree_lit_ref_t lit_ref;
     
    214230/** Type literal class */
    215231typedef enum {
     232        tlc_bool,
     233        tlc_char,
    216234        tlc_int,
    217235        tlc_resource,
     
    239257/** Type application operation */
    240258typedef 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 */
    243264} stree_tapply_t;
    244265
     
    496517        stree_ident_t *name;
    497518
     519        /** List of type argument names */
     520        list_t targ_names; /* of stree_ident_t */
     521
    498522        /** Symbol for this CSI */
    499523        struct stree_symbol *symbol;
Note: See TracChangeset for help on using the changeset viewer.