AstEditor
0.1.0
Edits PowerShell source using immutable ASTs and validated text overlays.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2026 Riverheart. All rights reserved.
Package Details
Author(s)
- Riverheart
Tags
Functions
ConvertFrom-PowerShellData Format-AstText Format-AstTree Add-AstTextEdit Add-WpfDslLoadedHandler Edit-PSFunction Expand-AstTokenTree Find-AstNode Find-AstScriptExtent Find-AstToken Get-AstChildren Get-AstExtractedFunction New-AstDocument New-AstCollectionEdit New-AstScriptExtent New-AstTextEdit Resolve-AstDocument Save-AstDocument Set-AstFunction Show-AstDiff Split-PSFunction
PSEditions
Dependencies
This module has no dependencies.
FileList
- Languages\en-US\AstEditor.psd1
- package\services\
- package\services\metadata\
- Private\Get-AstFileSnapshot.ps1
- Private\Get-AstSourceFingerprint.ps1
- Private\Get-AstTextLine.ps1
- Private\Get-LocalizedString.ps1
- Private\Get-ScriptBlockStatementText.ps1
- Private\Invoke-AstFileReplacement.ps1
- Private\Invoke-AstFunctionRewritePlan.ps1
- Private\New-AstFunctionRewritePlan.ps1
- Private\Should-Process.ps1
- Private\Test-ScriptBlockStatementTextEquivalent.ps1
- Private\AstDiffing\Add-AstDiffContext.ps1
- Private\AstDiffing\Add-AstDiffLine.ps1
- Private\AstDiffing\Format-AstDiff.ps1
- Private\AstDiffing\Get-AstDiffHunk.ps1
- Private\AstDiffing\Get-AstLineIndexFromOffset.ps1
- Public\Add-AstTextEdit.ps1
- Public\Find-AstNode.ps1
- Public\Find-AstScriptExtent.ps1
- Public\New-AstCollectionEdit.ps1
- Public\New-AstDocument.ps1
- Public\New-AstScriptExtent.ps1
- Public\New-AstTextEdit.ps1
- Public\Resolve-AstDocument.ps1
- Public\Save-AstDocument.ps1
- Public\Set-AstFunction.ps1
- Public\Show-AstDiff.ps1
- Public\Formatting\Format-AstText.ps1
- Public\Formatting\Format-AstTree.ps1
- Public\PowerShellData\ConvertFrom-PowerShellData.ps1
- Public\StructuredFileEditing\Edit-PSFunction.ps1
- Public\StructuredFileEditing\Extract-AstFunction.ps1
- Public\StructuredFileEditing\Split-PSFunction.ps1
- AstEditor.nuspec
- AstEditor.psd1
- AstEditor.psm1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.1.0 (current version) | 10 | 11/28/2026 |