-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Add @@ syntax for inline splatting as hashtable as new experimental feature PSGeneralizedSplatting #10073
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
bergmeister
wants to merge
39
commits into
PowerShell:master
from
bergmeister:InlineSplatting_AtAtCurly
Closed
Add @@ syntax for inline splatting as hashtable as new experimental feature PSGeneralizedSplatting #10073
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
879bf02
Add AtAtCurly token and allow parsing of it. TODO: return command ele…
bergmeister 600baed
Add Splatted property to hashtable to be able to tell compiler that h…
bergmeister 7460e22
Add tests for existing and new splatting functionality.
bergmeister bef1af6
restart-ci due to sporadic mac failure
bergmeister b63df9d
Fix the 2 CodeFactor warning (XML comments of properties must start w…
bergmeister 0c9c50c
Add CI tag to Pester tests to fix build and fix indentation
bergmeister 30a705e
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister eb75a44
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister cad3ef5
Convert if statement to switch expression to address first PR comment
bergmeister 44da128
Merge branch 'master' into InlineSplatting_AtAtCurly
bergmeister c258636
Merge branch 'master' of http://github.com/powershell/powershell into…
bergmeister 1121d86
Perform lookahead in tokenizer to correctly detect @@{ in all cases. …
bergmeister 36c7c88
Make Splatted property readonly but injecting it in the constructor.
bergmeister a90ea6b
Merge branch 'master' into InlineSplatting_AtAtCurly
f412369
Add experimental feature PSGeneralizedSplatting. Due to compiler issu…
b7dbef8
Resolve merge conflict
1146ef9
undo one accidental local change in last commit
7cb6496
Use semantic check to restrict usage to command arguments and add mor…
bergmeister 60f89dd
Rename AtAtCurly to AtAt to better represent what it is
bergmeister 9326a0a
Cleanup using statement and whitespace
bergmeister 40c860e
Merge branch 'master' of http://github.com/powershell/powershell into…
bergmeister 7b4a1c7
Do not use lookahead in tokenizer so that the token is @@{
bergmeister 6ac6fb3
Update src/System.Management.Automation/engine/parser/ast.cs
bergmeister 82d8ed8
Merge branch 'master' of http://github.com/powershell/powershell into…
bergmeister 9ec1837
Change AtAtCurly token to At token
bergmeister 4d6870b
Resolve merge conflicts - Merge branch 'master' of http://github.com/…
bergmeister 0416bf6
Merge branch 'master' of http://github.com/powershell/powershell into…
bergmeister 5c78cc3
Reduce lookahead to only @@ to return @ already after having detected @
bergmeister 96f1fae
Do not lookahead for @@. Just return At token at the end.
bergmeister aa59eb9
Enhance semantic check to require more than 1 element in the hashtabl…
bergmeister 0a81afb
tweak semantic check
bergmeister 3242c9f
Merge branch 'master' of http://github.com/powershell/powershell into…
bergmeister 0020155
Merge branch 'master' of http://github.com/powershell/powershell into…
bergmeister a8359e3
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister 9b0c1a9
Merge branch 'master' of http://github.com/powershell/powershell into…
bergmeister 95417ff
Merge branch 'InlineSplatting_AtAtCurly' of http://github.com/bergmei…
bergmeister 61dbd40
Fix merge error in 9b0c1a93be5a7a1ccff4e039137a9165014bc61d
bergmeister aefbf49
empty commit to rerun ci
bergmeister c58ab8b
empty commit to rerun ci
bergmeister File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.