Mike Krüger
52350b3cb0
Fixed resolve at location failure.
...
Was caused by an invalid token location.
13 years ago
Mike Krüger
46f1a2ebff
Fixed qualified alias token location.
13 years ago
Mike Krüger
7a8d41e883
Updated mcs.
13 years ago
Mike Krüger
b3dee87537
Fixed event declaration assign token location.
13 years ago
Daniel Grunwald
911d47cb02
Indexer declaration: make "this" a token instead of an identifier
13 years ago
Daniel Grunwald
1b5b02e0a7
Use SyntaxTree.MemberRole for assembly attributes.
13 years ago
Daniel Grunwald
a3949addb5
C# parser: preserve order of constraints
13 years ago
Mike Krüger
b7b73a0907
Fixed orderby keyword.
13 years ago
Mike Krüger
8556833b4b
Took out debug code.
13 years ago
Mike Krüger
584eb443b7
[Completion] Fixed completion bug.
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
7d702dc862
Added work-around for unexpected parser behaviour.
13 years ago
Mike Krüger
17b0fe0e64
[Ast] 'where' keyword was missing in parsed query where clause.
13 years ago
Mike Krüger
5d20faf0c5
[Ast] Getting the end location of token nodes is now faster.
13 years ago
Daniel Grunwald
f558b300e7
Revert "[AST] Handled protected and/or internal on AST level."
...
"protected internal" and "internal protected" are the same thing in C#.
Both map to ProtectedOrInternal; the ProtectedAndInternal accessibility is
not usable from C#.
This reverts commit b5ad2882ca
.
13 years ago
Mike Krüger
b5ad2882ca
[AST] Handled protected and/or internal on AST level.
13 years ago
Mike Krüger
d2038a429d
[Completion] Added conditional symbols to the completion engine
...
context.
13 years ago
Simon Lindgren
7c19dfa4ef
[Parser] Set locations of AttributeSections correctly.
13 years ago
Erik Källén
32d43b2534
Fixed query orderings when ordering by more than one expression.
13 years ago
Mike Krüger
e97b6b22cd
[Parser] Fixed some optional comma bugs.
13 years ago
Daniel Grunwald
087aee7fe8
Simplify parser API.
13 years ago
Mike Krüger
f81ecd7e29
[Parser] Implemented own seekable stream reader.
13 years ago
Daniel Grunwald
eaba9798d3
Rename 'cu' to 'syntaxTree'.
13 years ago
Daniel Grunwald
273178a141
Rename CompilationUnit to SyntaxTree.
13 years ago
Daniel Grunwald
cc37a7179d
TypeSystemAstBuilder: do not specify accessibility on accessors unless necessary.
...
Ported some SD4 unit tests to NR5.
13 years ago
Daniel Grunwald
4717de986e
Optimized the AstNode.Descendants property.
...
Over 3 times faster than the previous implementation - but still slower than a visitor.
Fastest is a recursive function based on a for-loop ("for (AstNode child = node.FirstChild; child != null; child = child.NextSibling)").
13 years ago
Mike Krüger
99de4e1221
Updated mcs.
13 years ago
Daniel Grunwald
9e8487329a
Change "string[] Conditionals" to "IList<string> ConditionalSymbols"
13 years ago
Daniel Grunwald
b65637108b
Implemented C# cref parser.
13 years ago
Daniel Grunwald
dd07a77ce8
CSharpParser: when parsing part of a compilation unit, detach the resulting nodes from the dummy compilation.
13 years ago
Mike Krüger
8090455130
[Parser] Added conditional symbols to the compilation unit.
13 years ago
Daniel Grunwald
5d2fee1b90
Add CompilerSettings class instead of using the one from Mono.CSharp.
...
Added ResolveResult-treeview to NR.Demo.
13 years ago
Simon Lindgren
0c9704d216
[Parser] Give ExpressionStatements with an invalid expression a semicolon if there was one in the file.
13 years ago
Daniel Grunwald
bf6217d038
Improved CodeDomConvertVisitor.
13 years ago
Daniel Grunwald
050035186c
Simplify API for retrieving compiler errors/warnings.
13 years ago
Mike Krüger
c93aca4b91
Fixed failing unit test.
13 years ago
Mike Krüger
4b3bb7e8a7
Fixed completion bug.
13 years ago
Daniel Grunwald
282d3c3423
Fix icsharpcode/NRefactory#32 : ResolveResult for anonymous type creation
13 years ago
Mike Krüger
f7fb29804d
Implemented better solution for the array initializer workaround hack.
13 years ago
Mike Krüger
7a69c6544b
Fixed Issue #38 : Parser Regression in ObjectCreate initialization
13 years ago
Mike Krüger
6f1325dea7
Fixed Issue #44 : The ending TextLocation of an ArrayCreateExpression
...
is incorrect when the array is initialized with zero elements
13 years ago
Mike Krüger
e912bdf2ce
Fixed possible cast exception.
13 years ago
Alex Mizuki
658cb4b67b
patched up handling indexing issue
13 years ago
Alex Mizuki
aff71a5d53
try revert critical method
13 years ago
mike
29da952623
Fixed some warnings.
14 years ago
Mike Krüger
6f4a46c066
Fixed failing unit test.
14 years ago
mike
837d48d50a
Completion engine now works on freezed compilation units.
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
Mike Krüger
2c97bfacca
Added more location checks / added -verbose command line option for
...
the ast verifier.
14 years ago