Mike Krüger
5d20faf0c5
[Ast] Getting the end location of token nodes is now faster.
13 years ago
Daniel Grunwald
07fc74aaf4
Add special case for negative zero in CSharpOutputVisitor.
13 years ago
Daniel Grunwald
273178a141
Rename CompilationUnit to SyntaxTree.
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
04f8720739
Added formatting factory - formatting options should be created with
...
that.
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
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
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
90bf204c7f
Moved the roles class out of AstNode.
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
a71670f2bc
Fixed some issues with code round-tripping; and added unit tests for some parser failures.
14 years ago
Daniel Grunwald
bf88746a7a
Added some failing parser tests for bugs discovered trying to roundtrip NRefactory itself.
14 years ago
Daniel Grunwald
7ff012f1a5
Fixed some issues in the CodeDomConvertVisitor.
14 years ago
Daniel Grunwald
e4d1f545fd
Add CodeDomConvertVisitor.
14 years ago
Daniel Grunwald
12d7961e39
Add SerializationBinder-support to FastSerializer.
14 years ago
Daniel Grunwald
769c0ae2e0
Allow CecilProjectContent to be serialized. Add FastSerializer to NRefactory.Utils.
14 years ago
Daniel Grunwald
5c585e110b
Apply license header to unit tests.
...
Add parser unit tests for ObjectCreateExpression.
14 years ago
Daniel Grunwald
344476efbb
Fix contracts.
14 years ago