Changeset 1591 for cobra/trunk/Source/Attributes.cobra
- Timestamp:
- 08/28/08 04:00:40 (4 months ago)
- Files:
-
- 1 modified
-
cobra/trunk/Source/Attributes.cobra (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Source/Attributes.cobra
r1583 r1591 18 18 expr = PostCallExpr(expr.token, IdentifierExpr(expr.token, expr.name), List<of Expr>()) 19 19 _expr = expr to PostCallExpr 20 _expr.isForAttribute = true 20 21 21 22 get expr from var … … 35 36 if .compiler.symbolForName(name+'Attribute', true, false) 36 37 _expr = PostCallExpr(_expr.token, IdentifierExpr(_expr.token, name+'Attribute'), _expr.args) 38 _expr.isForAttribute = true # CC: use property set in initializer 37 39 _expr.bindImp 38 # TODO: check that the properties exist when using x=...39 40 40 41 get typeForIdentifier as IType is override
