Mercurial > projects > dil
changeset 705:d75aad38d1b2
Removed modules dil.parser.Factory and dil.parser.ExpressionParser.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Mon, 28 Jan 2008 18:53:04 +0100 |
parents | ff4643a4a97c |
children | 684ec5932b2e |
files | trunk/src/dil/parser/ExpressionParser.d trunk/src/dil/parser/Factory.d trunk/src/main.d |
diffstat | 3 files changed, 0 insertions(+), 50 deletions(-) [+] |
line wrap: on
line diff
--- a/trunk/src/dil/parser/ExpressionParser.d Mon Jan 28 18:48:02 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -/++ - Author: Aziz Köksal - License: GPL3 -+/ -module dil.parser.ExpressionParser; - -import dil.ast.Expression; -import dil.Information; -import common; - -interface ExpressionParser -{ - Expression parse(); -} - -ExpressionParser function(char[] srcText, - string filePath, - InfoManager infoMan = null) - new_ExpressionParser;
--- a/trunk/src/dil/parser/Factory.d Mon Jan 28 18:48:02 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -/++ - Author: Aziz Köksal - License: GPL3 -+/ -module dil.parser.Factory; - -import dil.parser.ExpressionParser; -import dil.parser.Parser; -import dil.ast.Expression; -import dil.Information; -import common; - -static this() -{ - dil.parser.ExpressionParser.new_ExpressionParser = - function ExpressionParser(char[] srcText, string filePath, InfoManager infoMan = null) - { - class ExpressionParser_ : Parser, ExpressionParser - { - this(char[] srcText, string filePath, InfoManager infoMan = null) - { super(srcText, filePath, infoMan); } - - Expression parse() - { - return Parser.start2(); - } - } - return new ExpressionParser_(srcText, filePath, infoMan); - }; -}