Daniel Grunwald
5d2fee1b90
Add CompilerSettings class instead of using the one from Mono.CSharp.
...
Added ResolveResult-treeview to NR.Demo.
13 years ago
mike
4433ab1ff2
[Ast] Added IdentifierToken property to IdentifierExpression.
13 years ago
Daniel Grunwald
4d07b33b44
CSharpAstResolver now can resolve type members even when no parsedFile is specified.
...
This is useful for analyzing generated code that does not have accurate StartLocation/EndLocation assigned.
13 years ago
Daniel Grunwald
4fe7c72b16
Fixed context for determining accessibility of protected inner classes when resolving a base type reference (NameLookupTests.InheritFromProtectedInnerClassTest)
13 years ago
Mike Krüger
f7fb29804d
Implemented better solution for the array initializer workaround hack.
13 years ago
turbanoff
24f1637093
remove redundant check
13 years ago
Mike Krüger
cf9d360be7
[CodeActions] Worked on implement interface.
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
fa4f2e033e
Added chained method call wrapping option.
13 years ago
Mike Krüger
04f8720739
Added formatting factory - formatting options should be created with
...
that.
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
1bc751bd6d
Added end inclusive GetNodeAt to AstNode.
14 years ago
Mike Krüger
8444dffd81
Startet exctract method action.
14 years ago
Mike Krüger
c33d15e2de
Fixed bug where code actions could be null.
14 years ago
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