|
| CSParser (string filename) |
| constructor, parse the given file More...
|
|
CompilationUnit | ParseFile (string fileName) |
| parse a c# file More...
|
|
List< NamespaceDeclaration > | GetNamespaces () |
| get all namespaces in the current file More...
|
|
List< TypeDeclaration > | GetClasses () |
| overload that just uses the compilationunit of the current file More...
|
|
TypeDeclaration | GetType (ref string ANamespace, string ATypeName, ClassType AClassType) |
| get a specific interface More...
|
|
TypeDeclaration | GetInterface (string ANamespace, string AInterfaceName) |
| get a specific interface More...
|
|
TypeDeclaration | GetClass (string AClassName) |
| get a specific class More...
|
|
string | GetFullClassNameWithNamespace (TypeDeclaration AClassNode) |
| get the full name of a class with namespace separated by a dot More...
|
|
|
static List< TypeDeclaration > | GetClassesInNamespace (List< CSParser >ACSFiles, string ANamespace) |
| get all classes in that namespace More...
|
|
static List< NamespaceDeclaration > | GetNamespaces (CompilationUnit cu) |
| get all the namespaces from the file More...
|
|
static List< TypeDeclaration > | GetClasses (CompilationUnit cu) |
| get all classes defined in this file More...
|
|
static List< TypeDeclaration > | GetClasses (NamespaceDeclaration nd) |
| get all classes defined in this namespace More...
|
|
static StringCollection | GetFields (TypeDeclaration cnode) |
|
static List< PropertyDeclaration > | GetProperties (TypeDeclaration cnode) |
|
static List< MethodDeclaration > | GetMethods (TypeDeclaration AClass) |
| get all methods of the class More...
|
|
static string | GetImplementedInterface (TypeDeclaration AClass) |
| get the first interface that this class implements More...
|
|
static List< ConstructorDeclaration > | GetConstructors (TypeDeclaration AClass) |
| get all constructors of the class More...
|
|
static MethodDeclaration | GetMethod (TypeDeclaration cnode, string AMethodName) |
|
static TypeDeclaration | FindClass (List< CSParser >ACSFiles, string AClassName) |
| find a class in a list of csharp files More...
|
|
static TypeDeclaration | FindInterface (List< CSParser >ACSFiles, string ANamespace, string AInterfaceName) |
| find an interface in a list of csharp files More...
|
|
static string | GetSourceDirectory (string ns) |
| Reads the nsmap generated from GenerateNamespaceMap and get the directory that includes this namespace More...
|
|
static List< CSParser > | GetCSFilesForDirectory (string dir, SearchOption option) |
| Returns CSParser instances for the cs files in the given directory. If you get the list more then one time, then you will get a cached copy More...
|
|
static List< TypeDeclaration > | GetWebConnectorClasses (string AServerNamespace) |
| get the web connector classes that fit the server namespace More...
|
|
static MethodDeclaration | GetWebConnectorMethod (List< TypeDeclaration >AWebConnectorClasses, string AWebFunction, string ATablename, out TypeDeclaration AClassOfFoundMethod) |
| check if there is a webconnector method for that table and function, eg CreateNew + AApDocument More...
|
|
A wrapper for NRefactory from SharpDevelop