Kevin Glynn
|
69643b72ee
|
whoops, can't count
|
2011-03-17 12:18:44 +01:00 |
|
Kevin Glynn
|
2f08d9c236
|
Add non-breaking space to Whitespace lexer rules
|
2011-03-17 12:18:32 +01:00 |
|
Kevin Glynn
|
4fdcf95d6a
|
Support interface prefix on indexer declarations (not that we actually support these atm ....)
|
2011-03-17 09:48:56 +01:00 |
|
Kevin Glynn
|
d3872ee2b7
|
pass yield statements through as [unsupported] comments
|
2011-03-16 14:48:56 +01:00 |
|
Kevin Glynn
|
7e74699021
|
conditional expressions have full expressions (e.g. assignments) as arguments
|
2011-03-16 12:44:52 +01:00 |
|
Kevin Glynn
|
82a57ca0a0
|
don't crash if enum is empty
|
2011-03-16 12:44:44 +01:00 |
|
Kevin Glynn
|
893cc08278
|
Just pick out the rewritten elements from interface_indexer translation
|
2011-03-16 12:38:30 +01:00 |
|
Kevin Glynn
|
58d0405edc
|
strip U characters from integer literal suffixes
|
2011-03-15 10:48:46 +01:00 |
|
Kevin Glynn
|
7ca153b7bc
|
There are no commas between multiple where clauses in a type parameter constraint
|
2011-03-15 10:48:23 +01:00 |
|
Kevin Glynn
|
50bee76c4d
|
Do not transform block if we are in backtracking mode
|
2011-03-14 17:02:42 +01:00 |
|
Kevin Glynn
|
40d260d2a0
|
Print warning if we have two classes with different numbers of generic arguments (we only spot this if they come from the same file)
|
2011-03-14 17:01:40 +01:00 |
|
Kevin Glynn
|
9c627e98ab
|
Put braces around switch -> if-then-else transformation
|
2011-03-14 17:00:54 +01:00 |
|
Kevin Glynn
|
f92d26412d
|
NEW -> NEW, NEW_ARRAY, NEW_DELEGATE, NEW_ANON_OBJECT
replace var and dynamic by imaginary nodes TYPE_VAR and TYPE_DYNAMIC
|
2011-03-14 17:00:08 +01:00 |
|
Kevin Glynn
|
2b87e38000
|
allow type parameters on method declarations in interfaces
|
2011-03-13 15:18:48 +01:00 |
|
Kevin Glynn
|
d4e7da95ca
|
fix >>= token
|
2011-03-13 13:46:00 +01:00 |
|
Kevin Glynn
|
85e2e6a663
|
do not generate dummy enums if the size would be greater than 500
|
2011-03-13 13:01:57 +01:00 |
|
Kevin Glynn
|
9a1febb5a9
|
(Closes GH-8): In switch statements the default can appear anywhere (doesn't have to be last, who knew?). This was breaking the conversion to if..then..else. Added code to save away the default section separately.
|
2011-03-13 10:42:34 +01:00 |
|
Kevin Glynn
|
1c7101207d
|
collecting stars was broken
|
2011-03-13 10:40:03 +01:00 |
|
Kevin Glynn
|
cd739b9ab7
|
distinguish new array with a special token. fix broken new object[0].GetEnumerator() type expressions
|
2011-03-11 15:50:32 +01:00 |
|
Kevin Glynn
|
9c6356c773
|
fixes needed to stop seg faults on monodevelop
|
2011-03-11 11:13:27 +01:00 |
|
Kevin Glynn
|
409084a283
|
some csharp parser fixes
|
2011-03-11 11:10:11 +01:00 |
|
Kevin Glynn
|
77ea92d5d6
|
some support for events
|
2011-03-11 11:08:36 +01:00 |
|
Kevin Glynn
|
156c3bd866
|
(failed) attempt to detect empty file
|
2011-03-11 11:08:08 +01:00 |
|
Kevin Glynn
|
2f3d8fdce9
|
keys
|
2011-03-11 11:07:41 +01:00 |
|
Kevin Glynn
|
3fe67bac2d
|
update filestream support, unfinished
|
2011-03-11 11:04:08 +01:00 |
|
Kevin Glynn
|
61c7200264
|
transform events in interface declarations
|
2011-03-09 08:40:30 +01:00 |
|
Kevin Glynn
|
32d01889f2
|
update translations
|
2011-03-04 18:46:29 +01:00 |
|
Kevin Glynn
|
caaf13f4d3
|
Add Generic classes
|
2011-03-04 18:10:28 +01:00 |
|
Kevin Glynn
|
01a5d58bd1
|
Fix up InstantiatedTypes during substituion pass, not as side effect of mkTypeMap
|
2011-03-04 18:10:13 +01:00 |
|
Kevin Glynn
|
a39ab27081
|
Don't cache FormattedTypeName. We have at least two representations using this routine. Move to callers if necessary
|
2011-03-04 18:08:30 +01:00 |
|
Kevin Glynn
|
d20d2c689e
|
do not freak out if we get an args of null
|
2011-03-04 12:51:39 +01:00 |
|
Kevin Glynn
|
41dc072776
|
Support for Random class
|
2011-03-04 11:30:16 +01:00 |
|
Kevin Glynn
|
7295a5df93
|
(Closes GH-5): If we are in the context of a generic type argument then generate Object Type equivalents, instead of primitive types
|
2011-03-04 11:29:53 +01:00 |
|
Kevin Glynn
|
f1b125aa6f
|
fix for new layout
Syntel-Devel-1
|
2011-03-03 08:44:11 +01:00 |
|
Kevin Glynn
|
45bf365e9f
|
Add a tranlsation for dictionaries
|
2011-03-02 21:42:53 +01:00 |
|
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
|
90a3461a27
|
add a split option for splitting on an array of strings
|
2011-03-02 19:25:18 +01:00 |
|
Kevin Glynn
|
c0187d15da
|
add iterable definitions
|
2011-03-02 19:24:42 +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
|
52d9b3b5a7
|
We want to be able to pass ints where long is expected. Adding Int64 to inherits had some unpleasant side effects
|
2011-02-28 20:27:14 +01:00 |
|