C# Class Rosetta.AST.PropertyASTWalker

Walks a property AST node.
Inheritance: ASTWalker, IASTWalker
Afficher le fichier Open project: andry-tino/Rosetta Class Usage Examples

Protected Properties

Свойство Type Description
propertyDeclaration Rosetta.Translation.PropertyDeclarationTranslationUnit

Méthodes publiques

Méthode Description
Create ( CSharpSyntaxNode node, ASTWalkerContext context = null, Microsoft.CodeAnalysis.SemanticModel semanticModel = null ) : PropertyASTWalker

Factory method for class PropertyASTWalker.

PropertyASTWalker ( PropertyASTWalker other ) : System

Copy initializes a new instance of the PropertyASTWalker class.

For testability.

Walk ( ) : ITranslationUnit

Walk the whole tree starting from specified CSharpSyntaxNode and build the translation unit tree necessary for generating TypeScript output.

Méthodes protégées

Méthode Description
PropertyASTWalker ( CSharpSyntaxNode node, PropertyDeclarationTranslationUnit propertyDeclaration, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System

Initializes a new instance of the PropertyASTWalker class.

Private Methods

Méthode Description
InvokeGetAccessorVisited ( object sender, WalkerEventArgs e ) : void
InvokeSetAccessorVisited ( object sender, WalkerEventArgs e ) : void
VisitNode ( Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax node ) : void

Method Details

Create() public static méthode

Factory method for class PropertyASTWalker.
public static Create ( CSharpSyntaxNode node, ASTWalkerContext context = null, Microsoft.CodeAnalysis.SemanticModel semanticModel = null ) : PropertyASTWalker
node CSharpSyntaxNode Used to initialize the walker.
context ASTWalkerContext The walking context.
semanticModel Microsoft.CodeAnalysis.SemanticModel The semantic model.
Résultat PropertyASTWalker

PropertyASTWalker() protected méthode

Initializes a new instance of the PropertyASTWalker class.
protected PropertyASTWalker ( CSharpSyntaxNode node, PropertyDeclarationTranslationUnit propertyDeclaration, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System
node CSharpSyntaxNode
propertyDeclaration Rosetta.Translation.PropertyDeclarationTranslationUnit
semanticModel Microsoft.CodeAnalysis.SemanticModel The semantic model.
Résultat System

PropertyASTWalker() public méthode

Copy initializes a new instance of the PropertyASTWalker class.
For testability.
public PropertyASTWalker ( PropertyASTWalker other ) : System
other PropertyASTWalker
Résultat System

Walk() public méthode

Walk the whole tree starting from specified CSharpSyntaxNode and build the translation unit tree necessary for generating TypeScript output.
public Walk ( ) : ITranslationUnit
Résultat ITranslationUnit

Property Details

propertyDeclaration protected_oe property

protected PropertyDeclarationTranslationUnit,Rosetta.Translation propertyDeclaration
Résultat Rosetta.Translation.PropertyDeclarationTranslationUnit