aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/ast.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/front/ast.rs')
-rw-r--r--src/comp/front/ast.rs5
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;