File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed
Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ This directory and it's subdirectories contain additional language keywords within PipeScript.
2+
3+ Most keywords will be implemented as a Transpiler that tranforms a CommandAST.
4+
5+
6+ | DisplayName | Synopsis |
7+ | ------------------| ----------------------------|
8+ | [ New] ( New.psx.ps1 ) | [ 'new' keyword] ( New.psx.ps1 ) |
9+
10+
11+
12+
13+ ## New Example 1
14+
15+
16+ ~~~ PowerShell
17+ .> { new DateTime }
18+ ~~~
19+
20+ ## New Example 2
21+
22+
23+ ~~~ PowerShell
24+ .> { new byte 1 }
25+ ~~~
26+
27+ ## New Example 3
28+
29+
30+ ~~~ PowerShell
31+ .> { new int[] 5 }
32+ ~~~
33+
34+ ## New Example 4
35+
36+
37+ ~~~ PowerShell
38+ .> { new datetime 12/31/1999 }
39+ ~~~
40+
41+ ## New Example 5
42+
43+
44+ ~~~ PowerShell
45+ .> { new @{RandomNumber = Get-Random; A ='b'}}
46+ ~~~
47+
48+ ## New Example 6
49+
50+
51+ ~~~ PowerShell
52+ .> { new Diagnostics.ProcessStartInfo @{FileName='f'} }
53+ ~~~
54+
You can’t perform that action at this time.
0 commit comments