Mike Krüger
2d808842ea
Fixed failing unit tests.
14 years ago
Mike Krüger
41d5b50008
Worked on inconsistent naming issue.
14 years ago
Mike Krüger
c51a5f6222
Fixed stub mechanic.
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
4465839e98
Fixed error caused by Root role.
...
Ok now I know why it needs to be there :)
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
0b3b290614
Fixed case label indentation.
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
mike
e93009afee
Fixed context action unit tests.
14 years ago
Daniel Grunwald
c6ae6c30ee
Script refactoring.
14 years ago
Daniel Grunwald
fe8e098a27
Fixed some FxCop warnings.
14 years ago
Mike Krüger
11ab326cc3
Readded the 'IsInside' function that checks the position inclusive the
...
end location.
14 years ago
mike
a55cbb43f7
Semantic change: Contains now excludes the end location.
14 years ago
Daniel Grunwald
a353f23d70
Combine AttributedNode and MemberDeclaration into EntityDeclaration.
14 years ago
mike
ab7a24e2f7
Removed code duplication.
...
btw. was the worst case of duplication - the methods should do the
same but had slightly different semantics.
14 years ago
mike
338bedcb45
Used simpler Identifier.Create calls.
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
5bef6f2ffc
Added some comments for the token classes.
14 years ago
Mike Krüger
47bd60c9b0
Removed debug message.
14 years ago
Mike Krüger
24f5bc937d
Fixed bug in operator declaration getrole function.
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
73e63ddca1
Added GetText function to AstNode.
14 years ago
Mike Krüger
196e6184d6
Added some Parse methods to the compilation unit.
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
Daniel Grunwald
d62f36694e
Add null node for VariableInitializer.
14 years ago
Daniel Grunwald
2bebee46a1
C# XML documentation support.
14 years ago
Mike Krüger
b0332c6d9d
Added IsInside methods to the AstNode.
14 years ago
Daniel Grunwald
77ea4dae30
Report more types of invalid equality comparisons as errors.
...
Mark an anonymous function conversion as invalid if there are compiler errors in the implicitly typed lambda.
14 years ago
Daniel Grunwald
bb822e94d4
Allow using AstType.ToTypeReference().Resolve(compilation.TypeResolveContext) - this will now resolve in the global namespace.
...
Fixed increment operator on System.Char.
14 years ago
Daniel Grunwald
0f2b0c380e
Fixed lambda type inference in delegate creation expressions. ("new Func<int, int>(a => a)")
14 years ago
Daniel Grunwald
aa2e97f564
When copying type parameters into inner classes, re-use the same ITypeParameter instance.
14 years ago
Mike Krüger
6054ed469a
Added unattached attributes to the AST.
14 years ago
Daniel Grunwald
c5c5192f38
Add documentation to methods for creating type references that describe the expected ITypeResolveContext for resolving those type references.
14 years ago
Daniel Grunwald
6d7abd9b0f
Use AstType.ToTypeReference() instead of TypeSystemConvertVisitor.ConvertType().
14 years ago
Daniel Grunwald
13ac45ebf7
Add AstType.ToTypeReference() method.
14 years ago
Daniel Grunwald
3d21a80e7d
Fixed the ResolveVisitor scanning logic and several related issues.
14 years ago
Mike Krüger
eb5f2577eb
Fixed constructor this/base unit test.
14 years ago
Daniel Grunwald
9af3c040f2
Fixed resolving compound assignment operators.
14 years ago
Mike Krüger
41f458960e
Fixed unit test.
14 years ago
Mike Krüger
77a75818d6
Fixed constraints parsing #2 .
14 years ago
Mike Krüger
3b486325c2
Fixed bug in constraints parsing.
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
4ccc313d46
Normalize newlines
14 years ago
Daniel Grunwald
73438b7288
Make CSharpResolveVisitor internal and expose CSharpAstResolver instead.
14 years ago