AST.TypeCast.GetExpr C# (CSharp) 메소드

GetExpr() 공개 메소드

public GetExpr ( ABT env ) : ABT.Expr
env ABT
리턴 ABT.Expr
        public override ABT.Expr GetExpr(ABT.Env env) {
            ABT.ExprType type = Semant(this.TypeName.GetExprType, ref env);
            ABT.Expr expr = this.Expr.GetExpr(env);
            return ABT.TypeCast.MakeCast(expr, type);
        }
    }