Daniel Grunwald
64971ec421
Implemented SD2-446: Support skipping method bodies in VB Lexer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1586 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
835c7dedbd
NRefactory: use Location structure instead of System.Drawing.Point for source positions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1581 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
a4894539d4
Some FxCop suggestions to NRefactory.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1579 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
89e34175cf
Fixed SD2-885: Folding breaks using 'ReferenceEquals()' method in VB (Parser error for member access on VB "Object")
...
Fixed SD2-884: Folding breaks on multi-dimensional array declaration in VB
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1498 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
80d967e240
Fixed parsing of the VB "Custom" keyword (it is valid variable identifier but not valid field identifier)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1486 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
79f22303b6
Fixed VB parser bug: Using statement can have multiple variable declaration expressions. (forum-8651)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1478 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
29b56d32d0
Fixed forum-8723: exception when loading designer for form containing enum TypeDeclarations.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1476 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
8d441d6f05
Fixed forum-8452: VB parser bug
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1465 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
df43c0eef7
Fixed SD2-816: Output visitor does not output implicit/explicit operators
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1419 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
dd4e5f9ea9
Fixed crash when parsing incomplete Imports statement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1353 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
db253755b8
Fixed SD2-571: Folding classes hides the declaration line
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1346 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
254bf37011
Fixed exception when parsing incomplete Select Case statement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1314 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
1538282335
C# <-> VB converter now converts P/Invoke declarations.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1018 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
8cd3f6d81c
Added generator application to generate the NRefactory AST.
...
This will allow us to automatically generate the IAstVisitor and a future AstTransformer and we don't have to worry about forgetting some AST nodes.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@975 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
77020dbcce
Fixed Visual Basic operator precedence and added unit tests for operator precedence.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@972 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
02d57c4611
Improved C# <-> VB conversion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@959 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
66a4289544
Fixed parser crash on incomplete ReDimStatement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@938 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
c24a108bb4
Improved C# lexer performance.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@907 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
e8a8828662
Fixed SD2-600 (Can't convert for loop). VB parser now accepts zero as lower array bound.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@871 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
10e90d3769
Fixed enumerations with base type in VB output visitor.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@829 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
b8720c2bac
Fixed SD2-564: Code always generated for c#.
...
Fixed VB parser bug ("Dim lDrives() As DriveInfo")
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@776 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
288234d0c4
Fixed some bugs in NRefactory.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@765 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
a6852502a4
The Boo AddIn now supports code completion for generics. The C# -> Boo converter now supports converting generic type references.
...
NRefactory now uses CastExpression for all cast types ("DirectCast", "CType", "TryCast"). TypeOfIsExpression now used by C# instead of BinaryOperatorType.TypeTest.
Updated to new Boo version that supports parsing and writing generic type references.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@763 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
91104f4152
Fixed SD2-559: Jagged arrays don't parse
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@747 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
7eabc20547
Fixed SD2-558 (Override as variable name) and the first half of SD2-559 (Jagged arrays don't parse)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@744 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
50a9f45f25
Fixed NullReferenceException when typing an OptionStatement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@725 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
2e819f05f1
Use List<SwitchSection> and List<CatchClause> instead of ArrayLists.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@722 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
d9df3a65dd
Fixed SD2-504: Explicit implementations of generic interfaces cause parser error
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@690 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
908db27ca2
- allow code completion bindings to handle ReturnEditAction by handling '\n'.
...
- add dummy token "?" to VB lexer.
- use IntegerLiteralResolveResult that doesn't do code completion instead of returning no ResolveResult at all when resolving an integer literal.
- Implemented SD2-501: type inference when typing for both C# and VB.NET.
You can now type "? name = expr;" or "Dim name as ? = expr" and SharpDevelop will fill in the type for you.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@603 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
51ee84424e
Fixed SD2-460: Parse error (inner classes in generic types)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@532 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
8afa7cc805
Allow references to unbound types in typeof/GetType expressions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@529 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
46038417a5
Fixed NRefactory bugs: VB partial class declarations and attributes with "Global." or "global::" caused parser errors.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@527 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
6af13353d5
Use InvariantCulture for string comparisons - fixes problems with Turkish locale settings.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@492 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
a3cca20f00
Renamed InvocationExpression.Parameters to InvocationExpression.Arguments.
...
Fixed bug that caused SharpDevelop to add byte order marks to plain ASCII files when UTF-8 was chosen as default encoding.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@473 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
b1bfc258c3
Fixed some NRefactory bugs (Generic method invocations in VB.NET and output visitor bugs)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@439 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
21af77e33d
Ported changes from Fidalgo rev 2038, ivokovacka.
...
Fixed more NRefactory bugs.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@373 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
e0676ea1c7
VB parser: Declarations in the form "Dim a(10) As Integer" were not recognized as array declarations.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@370 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
b3ec9593b8
NRefactory bugfixes (C#: For initializers added twice and VB: Custom event regions not stored in AST)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@368 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
0306c5af7e
Improved C# -> VB converter (For-Statement is converted to ForNextStatement).
...
Fixed VB parser (CSByte, CUShort, CUInt, CULng cast operators were missing).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@364 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
3d4f0a78f7
Fixed SD2-400: Importing classes (VB.NET).
...
Fixed code completion on "value" in property setters.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@353 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
20199d196a
Fixed SD2-401: Using aliases for classes.
...
Usings like "using StringCollection = System.Collections.Generic.List<string>" are now valid and code completion works correctly for them.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@329 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Markus Palme
0ca4a6c4be
inserted operator declartions into DOM. fixed locations of operator declarations, this enabled folding for them
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@285 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Markus Palme
8233ca63b0
unit tests for vb.net type level declarations
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@281 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Markus Palme
ed2a438995
correct positions of type members with modifiers
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@274 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Markus Palme
18a9bd0a26
work on custom events
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@272 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Markus Palme
94ae1cc253
added operator overload support to vb grammar
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@270 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Markus Palme
271e00448d
custom events support
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@262 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
b414c2c33a
Fixed some resolver bugs.
...
Added "bookmark" for classes.
Added support for finding references to classes and renaming classes.
Renamed the Erbauer/Auswerter classes.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@260 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
80c70338c7
Fixed code completion bugs regarding "global::"/"Global".
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@240 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
e7682346e9
Added generic methods to VB.Net grammar.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@228 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago