Daniel Grunwald
dac867d9ed
Fix pattern matching for ComposedType.BaseType.
13 years ago
Daniel Grunwald
6d0f3fb02e
Add "add using" context action.
...
The unit tests are based on pull request #104 by Adam Connelly
13 years ago
Mike Krüger
0a95901c43
The parser is now able to emit new lines in the AST. However the output visitor needs to be adjusted. (otherwise too many new lines may be inserted)
13 years ago
Mike Krüger
76c38c94ef
[Ast] Added missing where keyword property to constraints.
13 years ago
Daniel Grunwald
273178a141
Rename CompilationUnit to SyntaxTree.
13 years ago
Mike Krüger
cf9d360be7
[CodeActions] Worked on implement interface.
13 years ago
Mike Krüger
0cbca24882
Added whitespace and text node.
...
They are needed anyways, now the ast should be theretically round-trip
complete.
14 years ago
Mike Krüger
c7e1236c5a
Added NewLine ast node.
14 years ago
Mike Krüger
c33d15e2de
Fixed bug where code actions could be null.
14 years ago
mike
11b8c3bca6
Removed IRelocatable infrastructure - the start line could now be
...
altered in the lexer directly.
14 years ago
Daniel Grunwald
ab024b9ddc
Fix icsharpcode/NRefactory#28 : Identity of lambda parameters
...
Revert change regarding TypeDeclaration.ClassType; using derived nested classes / factory methods is inconsistent API with all other AST nodes.
If we want to save that bit of memory, we could store ClassType in the flags instead (there's about 20 bits free), although I think it won't matter since TypeDeclaration is a relatively rare node.
14 years ago
Daniel Grunwald
f74bf908bc
Make AstNode freezable.
14 years ago
Mike Krüger
4ea7ebc517
Moved more roles to the Roles class/Changed TypeDeclaration
...
representation (saves some memory and class type is now always
defined).
14 years ago
Mike Krüger
6a0a96ce31
Moved some roles to the Roles class.
14 years ago
Daniel Grunwald
c6ae6c30ee
Script refactoring.
14 years ago
Daniel Grunwald
a353f23d70
Combine AttributedNode and MemberDeclaration into EntityDeclaration.
14 years ago
mike
338bedcb45
Used simpler Identifier.Create calls.
14 years ago
Daniel Grunwald
3eee3466a4
CSharpOutputVisitor is now using the IAstVisitor with void return type.
...
Removed default value for 'data' on AcceptVisitor() methods.
14 years ago
Mike Krüger
3ffbaa278a
Refactored c# token representation, it's now more consistent with the
...
other nodes and takes up a bit less memory.
14 years ago
Mike Krüger
72d1381995
Provided IAstVisitor and IAstVisitor<T> visitor patterns.
14 years ago
Daniel Grunwald
18c96e089d
Add support for multiline XML documentation comments.
14 years ago
Mike Krüger
77a75818d6
Fixed constraints parsing #2 .
14 years ago
Daniel Grunwald
4db74d9da0
Fixed roundtripping of preprocessor directives.
14 years ago
Daniel Grunwald
4ccc313d46
Normalize newlines
14 years ago
Mike Krüger
ec82082a36
Handled pre processor directives as separate AST node.
14 years ago
Daniel Grunwald
b7fcc55308
Re-enable resolver unit tests that failed due to the parser returning incorrect positions.
...
Fixed a bug that caused array initializers to fail to resolve when the parent variable initializer was not being resolved.
14 years ago
Daniel Grunwald
e4d1f545fd
Add CodeDomConvertVisitor.
14 years ago
Mike Krüger
0fb1105d05
Fixed attribute section locations.
14 years ago
Daniel Grunwald
b5b2408cbc
Move NRefactory.CSharp to separate assembly.
14 years ago