Daniel Grunwald
7615720130
ResolveVisitor: Handle type arguments on IdentifierExpression and MemberReferenceExpression.
...
Add support for PointerReferenceExpression.
14 years ago
Daniel Grunwald
3435eec015
Add ResolveVisitor.GetResolverStateBefore(AstNode).
14 years ago
Daniel Grunwald
5b92717241
Add GetMembers() to IType; add ParsedFiles to IProjectContent.
14 years ago
Daniel Grunwald
c9238339a5
Fix build errors.
14 years ago
Mike Krüger
1037d562ff
fixed some errors.
14 years ago
Daniel Grunwald
7fb7783d22
Make AbstractAnnotatable implement IAnnotatable.
14 years ago
Daniel Grunwald
c9d4a5d0c9
Rename ITypeResolveContext extension methods to be consistent with the new names of the ITypeResolveContext methods.
14 years ago
Daniel Grunwald
350ebaad8c
Fixed NullReferenceException in type inference when passing a "string[]" for a parameter of type "IEnumerable<T>".
14 years ago
Daniel Grunwald
823471ebc3
Make the end offset of SegmentExtensions.Contains inclusive.
14 years ago
Daniel Grunwald
b40610dcb6
Simplify nested synchronization of CompositeTypeResolveContext.
14 years ago
Mike Krüger
991bea4b72
Added IsVerbatim property again.
14 years ago
Mike Krüger
484c586706
Added easy accessible acceess members.
14 years ago
Mike Krüger
a883a3ddf6
Added constructors that take an error location/added file header.
14 years ago
Mike Krüger
77d54ee040
added some constructors.
14 years ago
Mike Krüger
e8153e0a69
reduced comment insertion time from O(m log n) to O (m).
14 years ago
Mike Krüger
44e796a198
Reduced the memory consumption of identifiers a bit by saving the
...
'isverbatim' bool.
Note: Don't introduce that as virtual property, otherwise the memory
saving is lost.
14 years ago
Mike Krüger
0afc1c6b2d
Updated mcs / included code completion expression lookup.
14 years ago
Mike Krüger
33d588b371
Added the ability to specify parser arguments & provided a compiler
...
callback (for getting pre processor directives etc).
TODO: Move pre processor directives in the AST.
14 years ago
Mike Krüger
93b3ebf41a
Implemented type system -> cecil object table.
14 years ago
Mike Krüger
6a85f0c50c
Renamed GetClass-> GetTypeDefinition;
14 years ago
Mike Krüger
abec11857e
fix build.
14 years ago
Mike Krüger
c6aa05d35d
Addded GetSubTypeDefinitions method.
...
That's like a routine we had in the old MD dom - it's used for example
for finding all exceptions in an assembly.
14 years ago
Mike Krüger
b7fc89cb97
added header.
14 years ago
Mike Krüger
0cb2388538
Separated the annotations from the ast node & added annotations to the
...
project content.
14 years ago
Daniel Grunwald
41578d426e
Merge branch '1.0'
14 years ago
Alex Lyman
016987427b
- Reverted changes to display decimal.MinValue and decimal.MaxValue - Altered InitializerTests to use constant literals instead of decimal.MinValue and decimal.MaxValue
14 years ago
Alex Lyman
5c3be8f4cc
- Modified the InitializerPeepholeTransforms' Array Initializers to do a forward scan of the block instead of just checking the next instruction. The next-instruction thing breaks down under the case where you have an array-of-arrays (int[][]) - Added to the InitializerPeepholeTransforms' Array Initializers to detect the creation of a multi-dimensional array (int[,]) - Modified the ILCode.InitArray contract to take an ArrayType instead of just the element type, and passing with the ArrayType.Dimensions set accordingly. - AstMethodBodyBuilder now used the ArrayType.Dimensions info to build a tree of ArrayInitializerExpressions from the raw, element-by-element list. - Fixed OutputVisitor not calling StartNode for EmptyExpressions
...
Known issues:
- ArrayCreateExpression outputs extra space in the array specifier when using EmptyExpressions, ala: "new int[][, ]"
- The tree of ArrayInitializerExpressions outputs with blank lines before and after each block.
14 years ago
Alex Lyman
c1d27c7770
- Made the InitializerTests pass, through three changes: * Added new-lines as needed to make the source formatting match what the actual output was. * Added code to CodeAssert to make it ignore #regions * Added code to output decimal.MinValue and decimal.MaxValue as appropriate
14 years ago
Mike Krüger
af5e2c6b0e
Added extension method GetMembers on IType.
14 years ago
Mike Krüger
7e29f61da6
Fix build (however formatting tests will fail).
14 years ago
Mike Krüger
9d21d1c705
Renamed GetClasses -> GetTypes. (GetClasess can give enums, structs &
...
delegates too).
14 years ago
Mike Krüger
51f924f752
Renamed ITypeDefinition.InnerClasses -> NestedTypes (for more
...
consistency with IType.GetNestedTypes
14 years ago
Mike Krüger
224f97373a
Revert "Moved class type to IType / added type parameter class type for type"
...
This reverts commit ba335edeb6
.
14 years ago
Mike Krüger
ba335edeb6
Moved class type to IType / added type parameter class type for type
...
parameters.
14 years ago
Mike Krüger
aa42b1b74b
Added error storage to IParsedFile.
14 years ago
Mike Krüger
bae8765cad
Added AstLocation Begin/End properties.
14 years ago
Mike Krüger
9bc76cf08d
Added naive remove type definition.
...
This won't work for partial types.
14 years ago
Mike Krüger
bd4fb10522
Added cenecllationtoken work around.
...
Mono crashes on default cancellation token.
14 years ago
Mike Krüger
40147bc84f
Changed CreateShortType implementation a bit.
14 years ago
Mike Krüger
1ae1b17ea5
Added gettype/member extension methods that are working on a
...
line/column pair.
14 years ago
Mike Krüger
c744d2f523
Worked on the way nrefactory contexct actions use the resolver.
14 years ago
Daniel Grunwald
1836aa8a00
Merge branch 'master' of github.com:icsharpcode/NRefactory
14 years ago
Mike Krüger
1b7906ae68
Worked on context actions.
14 years ago
Daniel Grunwald
94b4130aa9
Add IParsedFile to type system.
14 years ago
Mike Krüger
be5139a776
Added more context actions.
14 years ago
Daniel Grunwald
62988d631e
Add TypeSystemAstBuilder: IType --> AstType conversion.
14 years ago
Mike Krüger
530cb0bb7b
mhutch: [NRefactory] Fix const modifier on fields
14 years ago
Mike Krüger
2b5569dd47
use faster string comparer.
14 years ago
Mike Krüger
0f5f4740fa
worked on context actions.
14 years ago
Mike Krüger
c337048cc3
added missing file.
14 years ago