Bylaw.psm1
|
#Requires -Version 7.2 # Bylaw 0.5.0. Generated by build/build.ps1; do not edit. # # Bylaw.Module.ps1 is parsed afresh on every import, never dot-sourced, so each runspace # defines its own copy of Bylaw's classes (ADR-0006). $tokens = $null $parseErrors = $null $path = Join-Path -Path $PSScriptRoot -ChildPath 'Bylaw.Module.ps1' $ast = [System.Management.Automation.Language.Parser]::ParseFile($path, [ref] $tokens, [ref] $parseErrors) if ($parseErrors) { throw "${path}: $($parseErrors[0])" } . $ast.GetScriptBlock() |