added TSwitch support
This commit is contained in:
@@ -66,6 +66,7 @@ enum Expr {
|
||||
ETry( e : Expr, v : String, t : Null<CType>, ecatch : Expr );
|
||||
EObject( fl : Array<{ name : String, e : Expr }> );
|
||||
ETernary( cond : Expr, e1 : Expr, e2 : Expr );
|
||||
ESwitch( e : Expr, cases : Array<{ values : Array<Expr>, expr : Expr }>, ?defaultExpr : Expr);
|
||||
}
|
||||
|
||||
enum CType {
|
||||
|
||||
Reference in New Issue
Block a user