C# Class Microsoft.Cci.MutableCodeModel.LocalDeclarationStatement

An object that represents the declaration of a local variable, with optional initializer.
Inheritance: Statement, ILocalDeclarationStatement
显示文件 Open project: visualmutator/visualmutator Class Usage Examples

Public Methods

Method Description
Dispatch ( ICodeVisitor visitor ) : void

Calls visitor.Visit(ILocalDeclarationsStatement).

LocalDeclarationStatement ( ) : System

Initializes an object that represents the declaration of a local variable, with optional initializer.

LocalDeclarationStatement ( ILocalDeclarationStatement localDeclarationStatement ) : System

Initializes an object that represents the declaration of a local variable, with optional initializer.

Method Details

Dispatch() public method

Calls visitor.Visit(ILocalDeclarationsStatement).
public Dispatch ( ICodeVisitor visitor ) : void
visitor ICodeVisitor
return void

LocalDeclarationStatement() public method

Initializes an object that represents the declaration of a local variable, with optional initializer.
public LocalDeclarationStatement ( ) : System
return System

LocalDeclarationStatement() public method

Initializes an object that represents the declaration of a local variable, with optional initializer.
public LocalDeclarationStatement ( ILocalDeclarationStatement localDeclarationStatement ) : System
localDeclarationStatement ILocalDeclarationStatement The local declaration statement.
return System