Daniel Grunwald
056a45df44
Fix a bug with type inference for nullables.
...
Simplify away the unnecessary portion of Mike's fix in df57e1d
, and add an additional test for it.
13 years ago
Daniel Grunwald
07fc74aaf4
Add special case for negative zero in CSharpOutputVisitor.
13 years ago
Daniel Grunwald
76f3da7ccf
[CodeDomConvertVisitor] fixed converting fully-qualified references to static members
13 years ago
Daniel Grunwald
16aa0c6c28
Rename IParsedFile -> IUnresolvedFile to make clear it belongs to the unresolved type system.
13 years ago
Daniel Grunwald
273178a141
Rename CompilationUnit to SyntaxTree.
13 years ago
Daniel Grunwald
8728c08c68
Add project configurations for .NET 4.5.
13 years ago
Daniel Grunwald
bf6217d038
Improved CodeDomConvertVisitor.
13 years ago
Siegfried Pammer
a9d876904b
Implemented CSharpResolver.ResolveConditionFalse() for resolving operator false() calls.
...
Add message to ErrorResolveResult.
Expose CSharpOutputVisitor.PrintPrimitiveValue and CSharpConversions.IsImplicitReferenceConversion/IsBoxingConversion.
13 years ago
Daniel Grunwald
76e3cb4389
Fixed output visitor inserting too many newlines in SwitchSection.
...
Don't indent the case body if the case contains a single BlockStatement.
13 years ago
Mike Krüger
063d0f569c
Renamed named expression identifier -> name.
13 years ago
Mike Krüger
5dbe3654f5
[Ast] Renamed named argument expression identifier -> name.
13 years ago
Mike Krüger
04f8720739
Added formatting factory - formatting options should be created with
...
that.
13 years ago
Mike Krüger
ca289f5fc5
Improved array initializer wrapping options.
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.
13 years ago
Mike Krüger
c7e1236c5a
Added NewLine ast node.
13 years ago
Mike Krüger
eb6a774ca0
Fixed some issues in the output visitor.
...
Note that the block statement newline should be done more elegant (new
lines should be done in the parent).
14 years ago
Mike Krüger
436eab7889
Corrected name token start/end node calls.
14 years ago
Mike Krüger
974879b3fa
Applied sharpdevelop formatting style.
14 years ago
mike
29da952623
Fixed some warnings.
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
Mike Krüger
90bf204c7f
Moved the roles class out of AstNode.
14 years ago
Daniel Grunwald
c6ae6c30ee
Script refactoring.
14 years ago
Daniel Grunwald
fe8e098a27
Fixed some FxCop warnings.
14 years ago
Daniel Grunwald
a353f23d70
Combine AttributedNode and MemberDeclaration into EntityDeclaration.
14 years ago
Daniel Grunwald
b416f38f78
CSharpAmbience: allow passing in a custom IOutputFormatter.
14 years ago
Daniel Grunwald
d6f3c841ce
Replace ConversionFlags.UseFullyQualifiedMemberNames with ConversionFlags.ShowDeclaringType.
14 years ago
mike
47d00e1cf9
Added banner style brace output format.
14 years ago
Daniel Grunwald
a993df9090
Use simpler IAstVisitor for InsertParenthesesVisitor and TypeSystemConvertVisitor.
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
Daniel Grunwald
e52e57e20a
Fixed crash in CSharpAmbience on delegate declarations.
14 years ago
Daniel Grunwald
2bebee46a1
C# XML documentation support.
14 years ago
Daniel Grunwald
b374e40758
Don't insert space in front of brace if the brace is the first token in the line.
14 years ago
Daniel Grunwald
9f809bc729
Use IOutputFormatter.StartNode() instead of OutputStarted event.
14 years ago
Daniel Grunwald
13ac45ebf7
Add AstType.ToTypeReference() method.
14 years ago
Mike Krüger
3b4abcceb3
Fixed ast node script positions.
14 years ago
Daniel Grunwald
54168d5c0f
Add nuspec.
...
Changed project settings to produce xml-doc and debug symbols in release configuration.
14 years ago
Daniel Grunwald
44b1c40e70
Remove some dead code.
14 years ago
Daniel Grunwald
3e8eb1e55d
Add NRefactory.ConsistencyCheck with round-tripping test.
...
Added parser unit tests for bugs discovered by the round-tripping test.
14 years ago
Daniel Grunwald
8007d25b00
Fix CSharpOutputVisitorTests.AssignmentInCollectionInitializer.
...
Ignore some failing parser unit tests.
14 years ago
Mike Krüger
77a75818d6
Fixed constraints parsing #2 .
14 years ago
Daniel Grunwald
a71670f2bc
Fixed some issues with code round-tripping; and added unit tests for some parser failures.
14 years ago
Daniel Grunwald
4db74d9da0
Fixed roundtripping of preprocessor directives.
14 years ago
Daniel Grunwald
bf88746a7a
Added some failing parser tests for bugs discovered trying to roundtrip NRefactory itself.
14 years ago
Daniel Grunwald
e2cb5467c2
Adjust CodeDomConvertVisitor and DefiniteAssignmentAnalysis to new type system.
14 years ago
Mike Krüger
7e5380551b
Updated mcs/fixed some code completion cases.
14 years ago
Daniel Grunwald
9d7c018fb2
Adjusted C# resolver to refactored type system.
14 years ago
Mike Krüger
ec82082a36
Handled pre processor directives as separate AST node.
14 years ago
Daniel Grunwald
f631199013
Type system refactoring: split unresolved/resolved type systems.
14 years ago