C# Class Rosetta.AST.EnumDefinitionASTWalker

Walks an interface AST node.
Inheritance: EnumASTWalker, IASTWalker
Exibir arquivo Open project: andry-tino/Rosetta Class Usage Examples

Private Properties

Property Type Description
ApplyContextDependenciesToTranslationUnit void

Public Methods

Method Description
Create ( CSharpSyntaxNode node, ASTWalkerContext context = null, Microsoft.CodeAnalysis.SemanticModel semanticModel = null ) : EnumDefinitionASTWalker

Factory method for class EnumDefinitionASTWalker.

EnumDefinitionASTWalker ( EnumDefinitionASTWalker other ) : System

Copy initializes a new instance of the EnumDefinitionASTWalker class.

For testability.

Protected Methods

Method Description
EnumDefinitionASTWalker ( CSharpSyntaxNode node, EnumDefinitionTranslationUnit enumDefinition, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System

Initializes a new instance of the EnumDefinitionASTWalker class.

OnContextChanged ( ) : void

Private Methods

Method Description
ApplyContextDependenciesToTranslationUnit ( ) : void

Method Details

Create() public static method

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

EnumDefinitionASTWalker() protected method

Initializes a new instance of the EnumDefinitionASTWalker class.
protected EnumDefinitionASTWalker ( CSharpSyntaxNode node, EnumDefinitionTranslationUnit enumDefinition, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System
node CSharpSyntaxNode
enumDefinition Rosetta.ScriptSharp.Definition.Translation.EnumDefinitionTranslationUnit
semanticModel Microsoft.CodeAnalysis.SemanticModel The semantic model.
return System

EnumDefinitionASTWalker() public method

Copy initializes a new instance of the EnumDefinitionASTWalker class.
For testability.
public EnumDefinitionASTWalker ( EnumDefinitionASTWalker other ) : System
other EnumDefinitionASTWalker
return System

OnContextChanged() protected method

protected OnContextChanged ( ) : void
return void