Statement Ast Class
The ast that represents an assignment statement, e.g.
$x = 42.
public ref class AssignmentStatementAst : System::Management::Automation::Language::PipelineBaseAst
public class AssignmentStatementAst : System.Management.Automation.Language.PipelineBaseAst
type AssignmentStatementAst = class inherit PipelineBaseAst
Public Class AssignmentStatementAst Inherits PipelineBaseAst
|AssignmentStatementAst(IScriptExtent, ExpressionAst, TokenKind, StatementAst, IScriptExtent)||
Construct an assignement statement.
The position to report at runtime if there is an error during assignment. This property is never null.
The extent in the source this ast represents.(Inherited from Ast)
The ast for the location being assigned. This property is never null.
The operator for token assignment (such as =, +=, -=, etc.). The value is always some assignment operator.
The parent tree for this node.(Inherited from Ast)
The ast for the value to assign. This property is never null.
Copy the AssignmentStatementAst instance
Traverse the entire Ast, returning the first node in the tree for which
Traverse the entire Ast, returning all nodes in the tree for which
If the pipeline represents a pure expression, the expression is returned, otherwise null is returned.(Inherited from PipelineBaseAst)
Constructs the resultant object from the AST and returns it if it is safe.(Inherited from Ast)
Formats the ast and returns a string.(Inherited from Ast)
Visit each node in the Ast, calling the methods in
Visit the Ast using a visitor that can choose how the tree traversal is performed. This visit method is for advanced uses of the visitor pattern where an AstVisitor is insufficient.(Inherited from Ast)