view trunk/src/dil/ast/Expression.d @ 682:7541c64fc423

Renamed FunctionBody, CatchBody and FinallyBody. FunctionBody -> FuncBodyStatement, CatchBody -> CatchStatement, FinallyBody -> FinallyStatement.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sat, 19 Jan 2008 20:35:45 +0100
parents 89ee7802c978
children 10b314bf37e3
line wrap: on
line source

/++
  Author: Aziz Köksal
  License: GPL3
+/
module dil.ast.Expression;

import dil.ast.Node;
import dil.semantic.Types;
import common;

/// The root class of all expressions.
abstract class Expression : Node
{
  Type type; /// The type of this expression.

  this()
  {
    super(NodeCategory.Expression);
  }

  Expression evaluate()
  {
    return null;
  }
}