共用方式為


BaseCtorInvokeMemberExpressionAst Class

Definition

The ast that represents the invocation of a base ctor method from PS class instance ctor, e.g. class B : A{ B() : base() {} }.

public ref class BaseCtorInvokeMemberExpressionAst : System::Management::Automation::Language::InvokeMemberExpressionAst
public class BaseCtorInvokeMemberExpressionAst : System.Management.Automation.Language.InvokeMemberExpressionAst
type BaseCtorInvokeMemberExpressionAst = class
    inherit InvokeMemberExpressionAst
Public Class BaseCtorInvokeMemberExpressionAst
Inherits InvokeMemberExpressionAst
Inheritance

Constructors

BaseCtorInvokeMemberExpressionAst(IScriptExtent, IScriptExtent, IEnumerable<ExpressionAst>)

Construct an instance of a base ctor invocation expression.

Properties

Arguments

The non-empty collection of arguments to pass when invoking the method, or null if no arguments were specified.

(Inherited from InvokeMemberExpressionAst)
Expression

The expression that produces the value to retrieve the member from. This property is never null.

(Inherited from MemberExpressionAst)
Extent

The extent in the source this ast represents.

(Inherited from Ast)
GenericTypeArguments

Gets a list of generic type arguments passed to this method invocation.

(Inherited from InvokeMemberExpressionAst)
Member

The name of the member to retrieve. This property is never null.

(Inherited from MemberExpressionAst)
NullConditional

Gets a value indicating true if the operator used is ?. or ?[].

(Inherited from MemberExpressionAst)
Parent

The parent tree for this node.

(Inherited from Ast)
Static

True if the member to return is static, false if the member is an instance member.

(Inherited from MemberExpressionAst)
StaticType

By default, the static type of an expression is unknown and hence we assume typeof(object).

(Inherited from ExpressionAst)

Methods

Copy()

Copy the InvokeMemberExpressionAst instance.

(Inherited from InvokeMemberExpressionAst)
Find(Func<Ast,Boolean>, Boolean)

Traverse the entire Ast, returning the first node in the tree for which predicate returns true.

(Inherited from Ast)
FindAll(Func<Ast,Boolean>, Boolean)

Traverse the entire Ast, returning all nodes in the tree for which predicate returns true.

(Inherited from Ast)
SafeGetValue()

Constructs the resultant object from the AST and returns it if it is safe.

(Inherited from Ast)
SafeGetValue(Boolean)

Constructs the resultant object from the AST and returns it if it is safe.

(Inherited from Ast)
ToString()

Formats the ast and returns a string.

(Inherited from Ast)
Visit(AstVisitor)

Visit each node in the Ast, calling the methods in astVisitor for each node in the ast.

(Inherited from Ast)
Visit(ICustomAstVisitor)

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)

Applies to