|
@@ -35,9 +35,6 @@ using Lambda;
|
|
|
**/
|
|
|
class ExprTools {
|
|
|
|
|
|
- static public function asIdent( s : String, p:Position ) : Expr
|
|
|
- return { expr : EConst(CIdent(s)), pos : p }
|
|
|
-
|
|
|
static public function toFieldExpr ( sl : Array<String> ) : Expr
|
|
|
return sl.fold(function(s, e) return e == null ? (macro $i{s}) : (macro $e.$s), null);
|
|
|
|