view trunk/src/dil/ast/Expression.d @ 645:89ee7802c978

Moved semantic() methods of expressions to class SemanticPass1.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Mon, 14 Jan 2008 16:01:21 +0100
parents 2ac14bb6b84e
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;
  }
}