Mercurial > projects > dil
view src/dil/ast/Expression.d @ 839:4063da6f3edd default tip
Refactored the config file and how it is loaded.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Thu, 21 Aug 2008 17:51:04 +0200 |
parents | 1ecf05e680ba |
children |
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 semantic type of this expression. this() { super(NodeCategory.Expression); } /// Returns true if the member 'type' is not null. bool hasType() { return type !is null; } override abstract Expression copy(); }