Свойство | Type | Description | |
---|---|---|---|
module | Rosetta.Translation.ModuleTranslationUnit |
Méthode | Description | |
---|---|---|
Create ( CSharpSyntaxNode node, |
Factory method for class NamespaceASTWalker.
|
|
NamespaceASTWalker ( |
Copy initializes a new instance of the NamespaceASTWalker 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 |
|
|
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, |
||
NamespaceASTWalker ( CSharpSyntaxNode node, Rosetta.Translation.ModuleTranslationUnit module, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System |
Initializes a new instance of the NamespaceASTWalker 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 NamespaceASTWalker ( CSharpSyntaxNode node, Rosetta.Translation.ModuleTranslationUnit module, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System | ||
node | CSharpSyntaxNode | |
module | Rosetta.Translation.ModuleTranslationUnit | |
semanticModel | Microsoft.CodeAnalysis.SemanticModel | The semantic model. |
Résultat | System |
public NamespaceASTWalker ( |
||
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 |