/** * Function VisitLiteralExpr * Param : literal expression to evaluate * Return : value of the expression */ public Value VisitLiteralExpr(Expr.Literal expr) { return(expr.Value); }
/** * Function VisitLiteralExpr * Param : literal expression to ckeck * Return : type of the value of the literal expression */ public VALTYPE VisitLiteralExpr(Expr.Literal expr) { return(expr.Value.Type); }