Свойство | Type | Description | |
---|---|---|---|
program |
Méthode | Description | |
---|---|---|
Create ( CSharpSyntaxNode node, |
Factory method for class ProgramASTWalker.
|
|
ProgramASTWalker ( |
Copy initializes a new instance of the ProgramASTWalker class. For testability. |
|
VisitClassDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax node ) : void |
This will cause an AST walker to be created, thus we don't need to go further deeper in the tree by visiting the node. |
|
VisitInterfaceDeclaration ( InterfaceDeclarationSyntax node ) : void |
|
|
VisitNamespaceDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax node ) : void |
This will cause an AST walker to be created, thus we don't need to go further deeper in the tree by visiting the node. |
|
Walk ( ) : ITranslationUnit |
Walk the whole tree starting from specified CSharpSyntaxNode and build the translation unit tree necessary for generating TypeScript output.
|
Méthode | Description | |
---|---|---|
InvokeClassDeclarationVisited ( object sender, |
||
InvokeEnumDeclarationVisited ( object sender, |
||
InvokeInterfaceDeclarationVisited ( object sender, |
||
InvokeNamespaceDeclarationVisited ( object sender, |
||
ProgramASTWalker ( CSharpSyntaxNode node, |
Initializes a new instance of the ProgramASTWalker class.
|
Méthode | Description | |
---|---|---|
CreateWalkingContext ( ) : |
public static Create ( CSharpSyntaxNode node, |
||
node | CSharpSyntaxNode | |
context | The walking context. | |
semanticModel | Microsoft.CodeAnalysis.SemanticModel | The semantic model. |
Résultat |
protected InvokeClassDeclarationVisited ( object sender, |
||
sender | object | |
e | ||
Résultat | void |
protected InvokeEnumDeclarationVisited ( object sender, |
||
sender | object | |
e | ||
Résultat | void |
protected InvokeInterfaceDeclarationVisited ( object sender, |
||
sender | object | |
e | ||
Résultat | void |
protected InvokeNamespaceDeclarationVisited ( object sender, |
||
sender | object | |
e | ||
Résultat | void |
protected ProgramASTWalker ( CSharpSyntaxNode node, |
||
node | CSharpSyntaxNode | |
program | ||
semanticModel | Microsoft.CodeAnalysis.SemanticModel | The semantic model. |
Résultat | System |
public ProgramASTWalker ( |
||
other | ||
Résultat | System |
public VisitClassDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax node ) : void | ||
node | Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax | |
Résultat | void |
public VisitInterfaceDeclaration ( InterfaceDeclarationSyntax node ) : void | ||
node | InterfaceDeclarationSyntax | |
Résultat | void |
public VisitNamespaceDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax node ) : void | ||
node | Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax | |
Résultat | void |