Mercurial > projects > dil
diff src/dil/ast/Expression.d @ 838:1ecf05e680ba
Changed build configuration.
From now on, the executable will be placed in bin/.
The postbuild.* scripts for Linux and Windows will place important files in
bin/ and bin/data/.
Added hasType() to class Expression.
Added search() to class Scope.
Added DontKnowYet to struct Types.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Wed, 20 Aug 2008 20:39:16 +0200 |
parents | bcb74c9b895c |
children |
line wrap: on
line diff
--- a/src/dil/ast/Expression.d Thu Aug 14 03:14:43 2008 +0200 +++ b/src/dil/ast/Expression.d Wed Aug 20 20:39:16 2008 +0200 @@ -18,5 +18,11 @@ super(NodeCategory.Expression); } + /// Returns true if the member 'type' is not null. + bool hasType() + { + return type !is null; + } + override abstract Expression copy(); }