Kevin Glynn
|
a272b8105d
|
Don't return null - return UnknownRepType
|
2011-03-02 21:42:19 +01:00 |
|
Kevin Glynn
|
8faedcd10a
|
comment out broken IsA definition, rely on working version in base. Be explicit that typevars can ac like Object.
|
2011-03-02 19:36:48 +01:00 |
|
Kevin Glynn
|
52e51613cc
|
improved BuildType, should work for generic types now
|
2011-03-02 19:35:29 +01:00 |
|
Kevin Glynn
|
df2798a3a1
|
replace SurroundingTypeName by SurroundingType, so that components have access to all the features of their type, in particular the type parameters. Allows for better mkJava code
|
2011-03-02 19:34:32 +01:00 |
|
Kevin Glynn
|
792836217a
|
for pretty printing we use <> around type arguments, but otherwise we use *[..]*
|
2011-03-02 19:31:41 +01:00 |
|
Kevin Glynn
|
e8b59d4fdb
|
simplify SubstituteInType, just try all strings that match [\w|\.]+
|
2011-03-02 19:29:07 +01:00 |
|
Kevin Glynn
|
eb6b494fb8
|
bug fix: C# already specifies that parameter array arguments are arrays
|
2011-03-02 19:26:50 +01:00 |
|
Kevin Glynn
|
69315e9b54
|
support for do ..while
|
2011-03-02 19:25:41 +01:00 |
|
Kevin Glynn
|
8e788fbb46
|
Make Iterable translation work in generic types
|
2011-03-01 11:42:09 +01:00 |
|
Kevin Glynn
|
b4f8818196
|
When looking for properties we need to specify read or write because they may appear in different parent classes
|
2011-03-01 11:00:29 +01:00 |
|
Kevin Glynn
|
895b538ba0
|
be more careful about collecting the components of a qualified type. Do it via thedottedtext return value instead of relying on passing it via UnknownRepTemplate (that meant we would be looking for qualified type names when we shouldn't be)
|
2011-02-28 20:30:29 +01:00 |
|
Kevin Glynn
|
922f535dcc
|
generate static constructors in the NetMaker phase, mainly to stop a failed resolve error from the introduced exception constructors which are Java
|
2011-02-28 20:29:00 +01:00 |
|
Kevin Glynn
|
e4600b7885
|
Support for Generic Types (to be continued ....).
|
2011-02-28 12:34:49 +01:00 |
|
Kevin Glynn
|
c0cfaf00c0
|
Avoid generating some unused dummyCatchVars
|
2011-02-28 11:25:00 +01:00 |
|
Kevin Glynn
|
590efcda26
|
New option: warning-resolve-failures for when we can't find a translation. Off by default because it can be very noisy
|
2011-02-25 14:07:31 +01:00 |
|
Kevin Glynn
|
f1db436236
|
fix up indentation, its not perfect but its close and consistent
|
2011-02-21 16:40:42 +01:00 |
|
Kevin Glynn
|
b6d57d4bd2
|
identify typevars in findType. TypeVarRepTemplate derives from ClassRepTemplate so that we don't try to initialise variables of type T
|
2011-02-18 17:05:00 +01:00 |
|
Kevin Glynn
|
94fa86d57e
|
Retain complete unknown types in final source
|
2011-02-18 16:25:15 +01:00 |
|
Kevin Glynn
|
adb34dffbe
|
Change to create instantiated generic types. For the moment we probably just have arrays working(ish)
|
2011-02-18 15:26:30 +01:00 |
|
Kevin Glynn
|
0b380e063d
|
Add TypeVarRepTemplates, keep track of type var instantiations
|
2011-02-18 15:24:41 +01:00 |
|
Kevin Glynn
|
f82c7c8627
|
fix up key in type environment for types with generic arguments
|
2011-02-18 13:51:52 +01:00 |
|
Kevin Glynn
|
85b5e57e3c
|
move mkGenericTypeAlias and NSPrefix into CommonWalker and start using them consistently
|
2011-02-17 11:15:47 +01:00 |
|
Kevin Glynn
|
f87cf09735
|
fix up templategenerator project after move of TypeHelper
|
2011-02-17 11:11:59 +01:00 |
|
Kevin Glynn
|
07cfecff4e
|
error if we can't find class name in the environment
|
2011-02-14 11:49:55 +01:00 |
|
Kevin Glynn
|
19ec2e3478
|
Move utility class into TemplateGenerator project (only user ....)
|
2011-02-14 11:46:24 +01:00 |
|
Kevin Glynn
|
7c5b7b02bb
|
set output path
|
2011-02-14 09:50:18 +01:00 |
|
Kevin Glynn
|
91dad6410f
|
monodevelop changes
|
2011-02-14 09:33:05 +01:00 |
|
Kevin Glynn
|
b0e224d9ec
|
give up, let executable go to Debug\!
|
2011-02-13 09:20:54 +01:00 |
|
Kevin Glynn
|
852de1adae
|
remove app.config
|
2011-02-13 09:20:23 +01:00 |
|
Kevin Glynn
|
87296d6562
|
Big Code Reorg
|
2011-02-12 19:48:16 +01:00 |
|