Mercurial > projects > dil
comparison src/dil/ast/Declarations.d @ 821:09a64d96967a
Started the interpreter. Made a couple changes in other parts -- CharExpression now has an IntExpression of a character type as its value member and its type is set accordingly.
author | Jarrett Billingsley <jarrett.billingsley@gmail.com> |
---|---|
date | Fri, 14 Mar 2008 11:01:05 -0400 |
parents | bcb74c9b895c |
children |
comparison
equal
deleted
inserted
replaced
819:438ed3a72c9d | 821:09a64d96967a |
---|---|
392 Identifier* name; | 392 Identifier* name; |
393 // TemplateParameters tparams; | 393 // TemplateParameters tparams; |
394 Parameters params; | 394 Parameters params; |
395 FuncBodyStatement funcBody; | 395 FuncBodyStatement funcBody; |
396 LinkageType linkageType; | 396 LinkageType linkageType; |
397 bool cantInterpret = false; | |
397 this(TypeNode returnType, Identifier* name,/+ TemplateParameters tparams,+/ | 398 this(TypeNode returnType, Identifier* name,/+ TemplateParameters tparams,+/ |
398 Parameters params, FuncBodyStatement funcBody) | 399 Parameters params, FuncBodyStatement funcBody) |
399 { | 400 { |
400 super.hasBody = funcBody.funcBody !is null; | 401 super.hasBody = funcBody.funcBody !is null; |
401 mixin(set_kind); | 402 mixin(set_kind); |