Browse Source

Add properties to CSharpAstResolver.

newNRvisualizers
Daniel Grunwald 14 years ago
parent
commit
7622629ea7
  1. 22
      src/Libraries/NRefactory/ICSharpCode.NRefactory.CSharp/Resolver/CSharpAstResolver.cs

22
src/Libraries/NRefactory/ICSharpCode.NRefactory.CSharp/Resolver/CSharpAstResolver.cs

@ -87,6 +87,28 @@ namespace ICSharpCode.NRefactory.CSharp.Resolver @@ -87,6 +87,28 @@ namespace ICSharpCode.NRefactory.CSharp.Resolver
get { return initialResolverState.CurrentTypeResolveContext; }
}
/// <summary>
/// Gets the compilation for this resolver.
/// </summary>
public ICompilation Compilation {
get { return initialResolverState.Compilation; }
}
/// <summary>
/// Gets the root node for which this CSharpAstResolver was created.
/// </summary>
public AstNode RootNode {
get { return rootNode; }
}
/// <summary>
/// Gets the parsed file used by this CSharpAstResolver.
/// Can return null.
/// </summary>
public CSharpParsedFile ParsedFile {
get { return parsedFile; }
}
/// <summary>
/// Applies a resolver navigator. This will resolve the nodes requested by the navigator, and will inform the
/// navigator of the results.

Loading…
Cancel
Save