Skip to content

Commit a154a7d

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Namespaced Objects ( Fixes #797 )
1 parent d603e1f commit a154a7d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Transpilers/Syntax/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This directory and it's subdirectories contain syntax changes that enable common
55
|--------------------------------------------------------|------------------------------------------------------------------|
66
|[NamespacedAlias](NamespacedAlias.psx.ps1) |[Declares a namespaced alias](NamespacedAlias.psx.ps1) |
77
|[NamespacedFunction](NamespacedFunction.psx.ps1) |[Namespaced functions](NamespacedFunction.psx.ps1) |
8+
|[NamespacedObject](NamespacedObject.psx.ps1) |[Namespaced functions](NamespacedObject.psx.ps1) |
89
|[ArrowOperator](ArrowOperator.psx.ps1) |[Arrow Operator](ArrowOperator.psx.ps1) |
910
|[ConditionalKeyword](ConditionalKeyword.psx.ps1) |[Conditional Keyword Expansion](ConditionalKeyword.psx.ps1) |
1011
|[Dot](Dot.psx.ps1) |[Dot Notation](Dot.psx.ps1) |
@@ -91,6 +92,16 @@ This directory and it's subdirectories contain syntax changes that enable common
9192
}.Transpile()
9293
~~~
9394

95+
## NamespacedObject Example 1
96+
97+
98+
~~~PowerShell
99+
Invoke-PipeScript {
100+
My Object Precious { $IsARing = $true; $BindsThemAll = $true }
101+
My.Precious
102+
}
103+
~~~
104+
94105
## ArrowOperator Example 1
95106

96107

0 commit comments

Comments
 (0)