Skip to main content

Module ast

Module ast 

Source
Expand description

§Powershell Ast

This module provides powershell ast functionality for the Oaks project.

Structs§

PowerShellArray
An array literal in PowerShell.
PowerShellAssignment
An assignment operation in PowerShell.
PowerShellAttribute
A PowerShell attribute (e.g., [CmdletBinding()]).
PowerShellBinaryOp
A binary operation in PowerShell.
PowerShellBlock
A PowerShell code block.
PowerShellBreak
A break statement in PowerShell.
PowerShellCatch
A catch clause in a PowerShell try statement.
PowerShellClass
A PowerShell class definition.
PowerShellCommand
A PowerShell command.
PowerShellConstructor
A constructor in a PowerShell class.
PowerShellContinue
A continue statement in PowerShell.
PowerShellElseIf
An elseif clause in a PowerShell if statement.
PowerShellExit
An exit statement in PowerShell.
PowerShellFor
A for statement in PowerShell.
PowerShellForEach
A foreach statement in PowerShell.
PowerShellFunction
A PowerShell function definition.
PowerShellHashtable
A hashtable literal in PowerShell.
PowerShellHashtableEntry
An entry in a PowerShell hashtable.
PowerShellIf
An if statement in PowerShell.
PowerShellIndexAccess
An index access in PowerShell (e.g., $arr[0]).
PowerShellMemberAccess
A member access in PowerShell (e.g., $obj.Prop).
PowerShellMethod
A method in a PowerShell class.
PowerShellParamBlock
A PowerShell parameter block (e.g., param(...)).
PowerShellParameter
A PowerShell parameter definition.
PowerShellPipeline
A PowerShell pipeline.
PowerShellProperty
A property in a PowerShell class.
PowerShellReturn
A return statement in PowerShell.
PowerShellRoot
Root node of the PowerShell AST.
PowerShellScriptBlock
A script block in PowerShell.
PowerShellSwitch
A switch statement in PowerShell.
PowerShellSwitchCase
A case clause in a PowerShell switch statement.
PowerShellThrow
A throw statement in PowerShell.
PowerShellTry
A try statement in PowerShell.
PowerShellUnaryOp
A unary operation in PowerShell.
PowerShellVariable
A PowerShell variable.
PowerShellWhile
A while statement in PowerShell.
PowerShellWorkflow
A PowerShell workflow definition.

Enums§

PowerShellArgument
A PowerShell command argument.
PowerShellAssignmentOperator
An assignment operator in PowerShell.
PowerShellBinaryOperator
A binary operator in PowerShell.
PowerShellClassMember
A member of a PowerShell class.
PowerShellExpression
A PowerShell expression.
PowerShellItem
A top-level item in a PowerShell script.
PowerShellLiteral
A PowerShell literal value.
PowerShellStatement
A PowerShell statement.
PowerShellUnaryOperator
A unary operator in PowerShell.