diff options
| author | Brian Anderson <[email protected]> | 2011-03-02 22:29:53 -0500 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-14 16:41:46 -0700 |
| commit | 80e0ebaa86869b6c7063dde8316f98aa5f365316 (patch) | |
| tree | ada14e658f06d124d638f9a223fa8ef664adde0f /src/comp/front/ast.rs | |
| parent | Put out darwin fire. (diff) | |
| download | rust-80e0ebaa86869b6c7063dde8316f98aa5f365316.tar.xz rust-80e0ebaa86869b6c7063dde8316f98aa5f365316.zip | |
Parse port and chan types, constructors, send statements
Diffstat (limited to 'src/comp/front/ast.rs')
| -rw-r--r-- | src/comp/front/ast.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index 5999388e..694ff448 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -242,6 +242,9 @@ tag expr_ { expr_be(@expr); expr_log(@expr); expr_check_expr(@expr); + expr_port(ann); + expr_chan(@expr, ann); + expr_send(@expr /* TODO: @expr|is_lval */, @expr, ann); } type lit = spanned[lit_]; @@ -278,6 +281,8 @@ tag ty_ { ty_rec(vec[ty_field]); ty_fn(proto, vec[ty_arg], @ty); // TODO: effect ty_obj(vec[ty_method]); + ty_chan(@ty); + ty_port(@ty); ty_path(path, option.t[def]); ty_mutable(@ty); ty_type; |