Method | Description | |
---|---|---|
GetInitializer ( ) : AstNode |
Returns the initial value, or
|
|
GetTarget ( ) : AstNode |
Returns the variable name or destructuring form
|
|
IsDestructuring ( ) : bool |
Returns true if this is a destructuring assignment. Returns true if this is a destructuring assignment. If so, the initializer must be non- |
|
SetInitializer ( AstNode initializer ) : void |
Sets the initial value expression, and sets its parent to this node. Sets the initial value expression, and sets its parent to this node. |
|
SetNodeType ( int nodeType ) : void |
Sets the node type. Sets the node type. |
|
SetTarget ( AstNode target ) : void |
Sets the variable name or destructuring form, and sets its parent to this node. Sets the variable name or destructuring form, and sets its parent to this node. |
|
ToSource ( int depth ) : string | ||
VariableInitializer ( ) : System | ||
VariableInitializer ( int pos ) : System | ||
VariableInitializer ( int pos, int len ) : System | ||
Visit ( NodeVisitor v ) : void |
Visits this node, then the target expression, then the initializer expression if present. Visits this node, then the target expression, then the initializer expression if present. |
public SetInitializer ( AstNode initializer ) : void | ||
initializer | AstNode |
/// the initial value. May be
/// null
/// .
/// |
return | void |
public VariableInitializer ( int pos ) : System | ||
pos | int | |
return | System |
public VariableInitializer ( int pos, int len ) : System | ||
pos | int | |
len | int | |
return | System |