Method | Description | |
---|---|---|
EvaluateAst ( Ast expressionAst ) : object | ||
EvaluateAst ( Ast expressionAst, bool writeSideEffectsToPipeline ) : object | ||
EvaluateLoopBodyAst ( Ast expressionAst, string loopLabel ) : bool | ||
ExecutionVisitor ( |
||
VisitArrayExpression ( System.Management.Automation.Language.ArrayExpressionAst arrayExpressionAst ) : AstVisitAction | ||
VisitArrayLiteral ( System.Management.Automation.Language.ArrayLiteralAst arrayLiteralAst ) : AstVisitAction | ||
VisitAssignmentStatement ( System.Management.Automation.Language.AssignmentStatementAst assignmentStatementAst ) : AstVisitAction | ||
VisitAttribute ( System.Management.Automation.Language.AttributeAst attributeAst ) : AstVisitAction | ||
VisitAttributedExpression ( System.Management.Automation.Language.AttributedExpressionAst attributedExpressionAst ) : AstVisitAction | ||
VisitBinaryExpression ( System.Management.Automation.Language.BinaryExpressionAst binaryExpressionAst ) : AstVisitAction | ||
VisitBreakStatement ( System.Management.Automation.Language.BreakStatementAst breakStatementAst ) : AstVisitAction | ||
VisitCatchClause ( System.Management.Automation.Language.CatchClauseAst catchClauseAst ) : AstVisitAction | ||
VisitCommand ( System.Management.Automation.Language.CommandAst commandAst ) : AstVisitAction | ||
VisitCommandExpression ( System.Management.Automation.Language.CommandExpressionAst commandExpressionAst ) : AstVisitAction | ||
VisitCommandParameter ( System.Management.Automation.Language.CommandParameterAst commandParameterAst ) : AstVisitAction | ||
VisitConstantExpression ( System.Management.Automation.Language.ConstantExpressionAst constantExpressionAst ) : AstVisitAction | ||
VisitContinueStatement ( System.Management.Automation.Language.ContinueStatementAst continueStatementAst ) : AstVisitAction | ||
VisitConvertExpression ( System.Management.Automation.Language.ConvertExpressionAst convertExpressionAst ) : AstVisitAction | ||
VisitDataStatement ( System.Management.Automation.Language.DataStatementAst dataStatementAst ) : AstVisitAction | ||
VisitDoUntilStatement ( System.Management.Automation.Language.DoUntilStatementAst doUntilStatementAst ) : AstVisitAction | ||
VisitDoWhileStatement ( System.Management.Automation.Language.DoWhileStatementAst doWhileStatementAst ) : AstVisitAction | ||
VisitExitStatement ( System.Management.Automation.Language.ExitStatementAst exitStatementAst ) : AstVisitAction | ||
VisitExpandableStringExpression ( System.Management.Automation.Language.ExpandableStringExpressionAst expandableStringExpressionAst ) : AstVisitAction | ||
VisitFileRedirection ( System.Management.Automation.Language.FileRedirectionAst redirectionAst ) : AstVisitAction | ||
VisitForEachStatement ( System.Management.Automation.Language.ForEachStatementAst forEachStatementAst ) : AstVisitAction | ||
VisitForStatement ( System.Management.Automation.Language.ForStatementAst forStatementAst ) : AstVisitAction | ||
VisitFunctionDefinition ( System.Management.Automation.Language.FunctionDefinitionAst functionDefinitionAst ) : AstVisitAction | ||
VisitHashtable ( System.Management.Automation.Language.HashtableAst hashtableAst ) : AstVisitAction | ||
VisitIfStatement ( System.Management.Automation.Language.IfStatementAst ifStatementAst ) : AstVisitAction | ||
VisitIndexExpression ( System.Management.Automation.Language.IndexExpressionAst indexExpressionAst ) : AstVisitAction | ||
VisitInvokeMemberExpression ( System.Management.Automation.Language.InvokeMemberExpressionAst methodCallAst ) : AstVisitAction | ||
VisitMemberExpression ( System.Management.Automation.Language.MemberExpressionAst memberExpressionAst ) : AstVisitAction | ||
VisitMergingRedirection ( System.Management.Automation.Language.MergingRedirectionAst redirectionAst ) : AstVisitAction | ||
VisitNamedAttributeArgument ( System.Management.Automation.Language.NamedAttributeArgumentAst namedAttributeArgumentAst ) : AstVisitAction | ||
VisitNamedBlock ( System.Management.Automation.Language.NamedBlockAst namedBlockAst ) : AstVisitAction | ||
VisitParamBlock ( System.Management.Automation.Language.ParamBlockAst paramBlockAst ) : AstVisitAction | ||
VisitParameter ( System.Management.Automation.Language.ParameterAst parameterAst ) : AstVisitAction | ||
VisitParenExpression ( System.Management.Automation.Language.ParenExpressionAst parenExpressionAst ) : AstVisitAction | ||
VisitPipeline ( System.Management.Automation.Language.PipelineAst pipelineAst ) : AstVisitAction | ||
VisitReturnStatement ( System.Management.Automation.Language.ReturnStatementAst returnStatementAst ) : AstVisitAction | ||
VisitScriptBlock ( System.Management.Automation.Language.ScriptBlockAst scriptBlockAst ) : AstVisitAction | ||
VisitScriptBlockExpression ( System.Management.Automation.Language.ScriptBlockExpressionAst scriptBlockExpressionAst ) : AstVisitAction | ||
VisitStatementBlock ( System.Management.Automation.Language.StatementBlockAst statementBlockAst ) : AstVisitAction | ||
VisitStringConstantExpression ( System.Management.Automation.Language.StringConstantExpressionAst stringConstantExpressionAst ) : AstVisitAction | ||
VisitSubExpression ( System.Management.Automation.Language.SubExpressionAst subExpressionAst ) : AstVisitAction | ||
VisitSwitchStatement ( System.Management.Automation.Language.SwitchStatementAst switchStatementAst ) : AstVisitAction | ||
VisitThrowStatement ( System.Management.Automation.Language.ThrowStatementAst throwStatementAst ) : AstVisitAction | ||
VisitTrap ( System.Management.Automation.Language.TrapStatementAst trapStatementAst ) : AstVisitAction | ||
VisitTryStatement ( System.Management.Automation.Language.TryStatementAst tryStatementAst ) : AstVisitAction | ||
VisitTypeConstraint ( System.Management.Automation.Language.TypeConstraintAst typeConstraintAst ) : AstVisitAction | ||
VisitTypeExpression ( System.Management.Automation.Language.TypeExpressionAst typeExpressionAst ) : AstVisitAction | ||
VisitUnaryExpression ( System.Management.Automation.Language.UnaryExpressionAst unaryExpressionAst ) : AstVisitAction | ||
VisitUsingExpression ( System.Management.Automation.Language.UsingExpressionAst usingExpressionAst ) : AstVisitAction | ||
VisitVariableExpression ( System.Management.Automation.Language.VariableExpressionAst variableExpressionAst ) : AstVisitAction | ||
VisitWhileStatement ( System.Management.Automation.Language.WhileStatementAst whileStatementAst ) : AstVisitAction |
Method | Description | |
---|---|---|
CloneSub ( bool writeSideEffectsToPipeline ) : |
||
ConvertCommandElementToCommandParameter ( System.Management.Automation.Language.CommandElementAst commandElement ) : System.Management.Automation.Runspaces.CommandParameter | ||
EvaluateBinaryExpression ( System.Management.Automation.Language.BinaryExpressionAst binaryExpressionAst ) : object | ||
FindMatchingTrapStatement ( ReadOnlyCollection |
||
GetCommand ( System.Management.Automation.Language.CommandAst commandAst ) : System.Management.Automation.Runspaces.Command | ||
GetErrorMessageForThrowStatement ( object targetObject ) : string | ||
GetTargetObject ( System.Management.Automation.Language.ThrowStatementAst throwStatementAst ) : object | ||
IsExactMatch ( System.Management.Automation.Language.TypeConstraintAst typeConstraintAst, |
||
IsInheritedMatch ( System.Management.Automation.Language.TypeConstraintAst typeConstraintAst, |
||
Match ( object leftOperand, object rightOperand, RegexOptions regexOptions ) : bool | ||
NotMatch ( object leftOperand, object rightOperand, RegexOptions regexOptions ) : bool | ||
Range ( int start, int end ) : IEnumerable |
||
SetMatchesVariable ( Regex regex, Match match ) : void | ||
SetUnderscoreVariable ( |
||
VisitIncrementDecrementExpression ( System.Management.Automation.Language.UnaryExpressionAst unaryExpressionAst ) : void | ||
VisitNamedBlockWithTraps ( System.Management.Automation.Language.NamedBlockAst namedBlockAst ) : AstVisitAction | ||
VisitRedirections ( System.Management.Automation.Language.CommandBaseAst commandAst ) : void | ||
VisitSimpleLoopStatement ( System.Management.Automation.Language.StatementBlockAst body, System.Management.Automation.Language.PipelineBaseAst condition, bool preExecuteBody, bool invertCond ) : AstVisitAction | ||
VisitStatement ( System.Management.Automation.Language.StatementAst statementAst ) : AstVisitAction | ||
VisitTrapBody ( System.Management.Automation.Language.TrapStatementAst trapStatement ) : AstVisitAction | ||
WriteErrorRecord ( ) : void |
public EvaluateAst ( Ast expressionAst ) : object | ||
expressionAst | Ast | |
return | object |
public EvaluateAst ( Ast expressionAst, bool writeSideEffectsToPipeline ) : object | ||
expressionAst | Ast | |
writeSideEffectsToPipeline | bool | |
return | object |
public EvaluateLoopBodyAst ( Ast expressionAst, string loopLabel ) : bool | ||
expressionAst | Ast | |
loopLabel | string | |
return | bool |
public ExecutionVisitor ( |
||
context | ||
pipelineCommandRuntime | System.Management.Automation.PipelineCommandRuntime | |
writeSideEffectsToPipeline | bool | |
return | System |
public VisitArrayExpression ( System.Management.Automation.Language.ArrayExpressionAst arrayExpressionAst ) : AstVisitAction | ||
arrayExpressionAst | System.Management.Automation.Language.ArrayExpressionAst | |
return | AstVisitAction |
public VisitArrayLiteral ( System.Management.Automation.Language.ArrayLiteralAst arrayLiteralAst ) : AstVisitAction | ||
arrayLiteralAst | System.Management.Automation.Language.ArrayLiteralAst | |
return | AstVisitAction |
public VisitAssignmentStatement ( System.Management.Automation.Language.AssignmentStatementAst assignmentStatementAst ) : AstVisitAction | ||
assignmentStatementAst | System.Management.Automation.Language.AssignmentStatementAst | |
return | AstVisitAction |
public VisitAttribute ( System.Management.Automation.Language.AttributeAst attributeAst ) : AstVisitAction | ||
attributeAst | System.Management.Automation.Language.AttributeAst | |
return | AstVisitAction |
public VisitAttributedExpression ( System.Management.Automation.Language.AttributedExpressionAst attributedExpressionAst ) : AstVisitAction | ||
attributedExpressionAst | System.Management.Automation.Language.AttributedExpressionAst | |
return | AstVisitAction |
public VisitBinaryExpression ( System.Management.Automation.Language.BinaryExpressionAst binaryExpressionAst ) : AstVisitAction | ||
binaryExpressionAst | System.Management.Automation.Language.BinaryExpressionAst | |
return | AstVisitAction |
public VisitBreakStatement ( System.Management.Automation.Language.BreakStatementAst breakStatementAst ) : AstVisitAction | ||
breakStatementAst | System.Management.Automation.Language.BreakStatementAst | |
return | AstVisitAction |
public VisitCatchClause ( System.Management.Automation.Language.CatchClauseAst catchClauseAst ) : AstVisitAction | ||
catchClauseAst | System.Management.Automation.Language.CatchClauseAst | |
return | AstVisitAction |
public VisitCommand ( System.Management.Automation.Language.CommandAst commandAst ) : AstVisitAction | ||
commandAst | System.Management.Automation.Language.CommandAst | |
return | AstVisitAction |
public VisitCommandExpression ( System.Management.Automation.Language.CommandExpressionAst commandExpressionAst ) : AstVisitAction | ||
commandExpressionAst | System.Management.Automation.Language.CommandExpressionAst | |
return | AstVisitAction |
public VisitCommandParameter ( System.Management.Automation.Language.CommandParameterAst commandParameterAst ) : AstVisitAction | ||
commandParameterAst | System.Management.Automation.Language.CommandParameterAst | |
return | AstVisitAction |
public VisitConstantExpression ( System.Management.Automation.Language.ConstantExpressionAst constantExpressionAst ) : AstVisitAction | ||
constantExpressionAst | System.Management.Automation.Language.ConstantExpressionAst | |
return | AstVisitAction |
public VisitContinueStatement ( System.Management.Automation.Language.ContinueStatementAst continueStatementAst ) : AstVisitAction | ||
continueStatementAst | System.Management.Automation.Language.ContinueStatementAst | |
return | AstVisitAction |
public VisitConvertExpression ( System.Management.Automation.Language.ConvertExpressionAst convertExpressionAst ) : AstVisitAction | ||
convertExpressionAst | System.Management.Automation.Language.ConvertExpressionAst | |
return | AstVisitAction |
public VisitDataStatement ( System.Management.Automation.Language.DataStatementAst dataStatementAst ) : AstVisitAction | ||
dataStatementAst | System.Management.Automation.Language.DataStatementAst | |
return | AstVisitAction |
public VisitDoUntilStatement ( System.Management.Automation.Language.DoUntilStatementAst doUntilStatementAst ) : AstVisitAction | ||
doUntilStatementAst | System.Management.Automation.Language.DoUntilStatementAst | |
return | AstVisitAction |
public VisitDoWhileStatement ( System.Management.Automation.Language.DoWhileStatementAst doWhileStatementAst ) : AstVisitAction | ||
doWhileStatementAst | System.Management.Automation.Language.DoWhileStatementAst | |
return | AstVisitAction |
public VisitExitStatement ( System.Management.Automation.Language.ExitStatementAst exitStatementAst ) : AstVisitAction | ||
exitStatementAst | System.Management.Automation.Language.ExitStatementAst | |
return | AstVisitAction |
public VisitExpandableStringExpression ( System.Management.Automation.Language.ExpandableStringExpressionAst expandableStringExpressionAst ) : AstVisitAction | ||
expandableStringExpressionAst | System.Management.Automation.Language.ExpandableStringExpressionAst | |
return | AstVisitAction |
public VisitFileRedirection ( System.Management.Automation.Language.FileRedirectionAst redirectionAst ) : AstVisitAction | ||
redirectionAst | System.Management.Automation.Language.FileRedirectionAst | |
return | AstVisitAction |
public VisitForEachStatement ( System.Management.Automation.Language.ForEachStatementAst forEachStatementAst ) : AstVisitAction | ||
forEachStatementAst | System.Management.Automation.Language.ForEachStatementAst | |
return | AstVisitAction |
public VisitForStatement ( System.Management.Automation.Language.ForStatementAst forStatementAst ) : AstVisitAction | ||
forStatementAst | System.Management.Automation.Language.ForStatementAst | |
return | AstVisitAction |
public VisitFunctionDefinition ( System.Management.Automation.Language.FunctionDefinitionAst functionDefinitionAst ) : AstVisitAction | ||
functionDefinitionAst | System.Management.Automation.Language.FunctionDefinitionAst | |
return | AstVisitAction |
public VisitHashtable ( System.Management.Automation.Language.HashtableAst hashtableAst ) : AstVisitAction | ||
hashtableAst | System.Management.Automation.Language.HashtableAst | |
return | AstVisitAction |
public VisitIfStatement ( System.Management.Automation.Language.IfStatementAst ifStatementAst ) : AstVisitAction | ||
ifStatementAst | System.Management.Automation.Language.IfStatementAst | |
return | AstVisitAction |
public VisitIndexExpression ( System.Management.Automation.Language.IndexExpressionAst indexExpressionAst ) : AstVisitAction | ||
indexExpressionAst | System.Management.Automation.Language.IndexExpressionAst | |
return | AstVisitAction |
public VisitInvokeMemberExpression ( System.Management.Automation.Language.InvokeMemberExpressionAst methodCallAst ) : AstVisitAction | ||
methodCallAst | System.Management.Automation.Language.InvokeMemberExpressionAst | |
return | AstVisitAction |
public VisitMemberExpression ( System.Management.Automation.Language.MemberExpressionAst memberExpressionAst ) : AstVisitAction | ||
memberExpressionAst | System.Management.Automation.Language.MemberExpressionAst | |
return | AstVisitAction |
public VisitMergingRedirection ( System.Management.Automation.Language.MergingRedirectionAst redirectionAst ) : AstVisitAction | ||
redirectionAst | System.Management.Automation.Language.MergingRedirectionAst | |
return | AstVisitAction |
public VisitNamedAttributeArgument ( System.Management.Automation.Language.NamedAttributeArgumentAst namedAttributeArgumentAst ) : AstVisitAction | ||
namedAttributeArgumentAst | System.Management.Automation.Language.NamedAttributeArgumentAst | |
return | AstVisitAction |
public VisitNamedBlock ( System.Management.Automation.Language.NamedBlockAst namedBlockAst ) : AstVisitAction | ||
namedBlockAst | System.Management.Automation.Language.NamedBlockAst | |
return | AstVisitAction |
public VisitParamBlock ( System.Management.Automation.Language.ParamBlockAst paramBlockAst ) : AstVisitAction | ||
paramBlockAst | System.Management.Automation.Language.ParamBlockAst | |
return | AstVisitAction |
public VisitParameter ( System.Management.Automation.Language.ParameterAst parameterAst ) : AstVisitAction | ||
parameterAst | System.Management.Automation.Language.ParameterAst | |
return | AstVisitAction |
public VisitParenExpression ( System.Management.Automation.Language.ParenExpressionAst parenExpressionAst ) : AstVisitAction | ||
parenExpressionAst | System.Management.Automation.Language.ParenExpressionAst | |
return | AstVisitAction |
public VisitPipeline ( System.Management.Automation.Language.PipelineAst pipelineAst ) : AstVisitAction | ||
pipelineAst | System.Management.Automation.Language.PipelineAst | |
return | AstVisitAction |
public VisitReturnStatement ( System.Management.Automation.Language.ReturnStatementAst returnStatementAst ) : AstVisitAction | ||
returnStatementAst | System.Management.Automation.Language.ReturnStatementAst | |
return | AstVisitAction |
public VisitScriptBlock ( System.Management.Automation.Language.ScriptBlockAst scriptBlockAst ) : AstVisitAction | ||
scriptBlockAst | System.Management.Automation.Language.ScriptBlockAst | |
return | AstVisitAction |
public VisitScriptBlockExpression ( System.Management.Automation.Language.ScriptBlockExpressionAst scriptBlockExpressionAst ) : AstVisitAction | ||
scriptBlockExpressionAst | System.Management.Automation.Language.ScriptBlockExpressionAst | |
return | AstVisitAction |
public VisitStatementBlock ( System.Management.Automation.Language.StatementBlockAst statementBlockAst ) : AstVisitAction | ||
statementBlockAst | System.Management.Automation.Language.StatementBlockAst | |
return | AstVisitAction |
public VisitStringConstantExpression ( System.Management.Automation.Language.StringConstantExpressionAst stringConstantExpressionAst ) : AstVisitAction | ||
stringConstantExpressionAst | System.Management.Automation.Language.StringConstantExpressionAst | |
return | AstVisitAction |
public VisitSubExpression ( System.Management.Automation.Language.SubExpressionAst subExpressionAst ) : AstVisitAction | ||
subExpressionAst | System.Management.Automation.Language.SubExpressionAst | |
return | AstVisitAction |
public VisitSwitchStatement ( System.Management.Automation.Language.SwitchStatementAst switchStatementAst ) : AstVisitAction | ||
switchStatementAst | System.Management.Automation.Language.SwitchStatementAst | |
return | AstVisitAction |
public VisitThrowStatement ( System.Management.Automation.Language.ThrowStatementAst throwStatementAst ) : AstVisitAction | ||
throwStatementAst | System.Management.Automation.Language.ThrowStatementAst | |
return | AstVisitAction |
public VisitTrap ( System.Management.Automation.Language.TrapStatementAst trapStatementAst ) : AstVisitAction | ||
trapStatementAst | System.Management.Automation.Language.TrapStatementAst | |
return | AstVisitAction |
public VisitTryStatement ( System.Management.Automation.Language.TryStatementAst tryStatementAst ) : AstVisitAction | ||
tryStatementAst | System.Management.Automation.Language.TryStatementAst | |
return | AstVisitAction |
public VisitTypeConstraint ( System.Management.Automation.Language.TypeConstraintAst typeConstraintAst ) : AstVisitAction | ||
typeConstraintAst | System.Management.Automation.Language.TypeConstraintAst | |
return | AstVisitAction |
public VisitTypeExpression ( System.Management.Automation.Language.TypeExpressionAst typeExpressionAst ) : AstVisitAction | ||
typeExpressionAst | System.Management.Automation.Language.TypeExpressionAst | |
return | AstVisitAction |
public VisitUnaryExpression ( System.Management.Automation.Language.UnaryExpressionAst unaryExpressionAst ) : AstVisitAction | ||
unaryExpressionAst | System.Management.Automation.Language.UnaryExpressionAst | |
return | AstVisitAction |
public VisitUsingExpression ( System.Management.Automation.Language.UsingExpressionAst usingExpressionAst ) : AstVisitAction | ||
usingExpressionAst | System.Management.Automation.Language.UsingExpressionAst | |
return | AstVisitAction |
public VisitVariableExpression ( System.Management.Automation.Language.VariableExpressionAst variableExpressionAst ) : AstVisitAction | ||
variableExpressionAst | System.Management.Automation.Language.VariableExpressionAst | |
return | AstVisitAction |
public VisitWhileStatement ( System.Management.Automation.Language.WhileStatementAst whileStatementAst ) : AstVisitAction | ||
whileStatementAst | System.Management.Automation.Language.WhileStatementAst | |
return | AstVisitAction |