Øystein Krog
|
d3e963ff19
|
Move helper methods in Type out from class and into extension class TypeExtensions
|
11 years ago |
Dimitar Dobrev
|
9d1687dbc4
|
Improved the property generation by matching with an "is" prefix for read-write properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
ae1351d2b5
|
Improved the property generation by matching with an "is" prefix for read-write properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
ee1c53b5b0
|
Simplified the comparisons used in the advanced pass for properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
7ecafc9858
|
Prevented renaming of methods when a base class has a property of the same name. Made the delegates used in abstract implementations prefixed with an underscore and internal.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
501f123277
|
Removed a check for const-ness because of a parser bug. Added tests for properties of complex types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
ff14f39ed4
|
Fixed the generation of properties by considering value and read-only pointer types the same for complex types. Fixed the counting of parameters to consider indirect ones.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
ab548cb6da
|
Fixed the generation of properties to take indirect return types into account. Added "return" as a verb.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
f348a80c32
|
Moved the improved property pass to a new class. Added the list of verbs as a resource in premake.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
f086dd9051
|
Commented newly created properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
27f8e28036
|
Fixed the generation of v-table calls to property setters. Ignored methods that are only named "get" and similar, as properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
fcb1ab67ca
|
Added tests for properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
824d8b5f30
|
Rewrote the generating of properties to additionaly handle property overrides and read-only properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
287dd7bf7c
|
Fixed getter/setter properties to inherit the access from their methods.
This is not ideal though, this won't deal properly with a getter and setter with different access specifiers.
|
12 years ago |
triton
|
7d1bf939f5
|
Remove unused usings.
|
12 years ago |
marcos henrich
|
57ce9d449d
|
Removed class parameter from CheckIgnoreFunction, CheckIgnoreMethod and CheckIgnoreField.
|
12 years ago |
marcos henrich
|
06aba88fbb
|
Modified GetterSetterToPropertyPass more complex properties are supported. Now even if we only have a getter or a setter a property is created. Trying to convert multiple setter with same name and different types is an issue, so we check before creating a setter for a matching getter or the non existence of more setters.
|
12 years ago |
triton
|
252af32318
|
Added first pass at a pass for transforming compatible getters/setters into properties.
|
12 years ago |