Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
dotnet
/
command-line-api
Public
Notifications
You must be signed in to change notification settings
Fork
431
Star
3.7k
Code
Issues
443
Pull requests
41
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
More parsing improvements
- #2016
#2016
Merged
adamsitnik
merged 12 commits into
dotnet:main
dotnet/command-line-api:main
from
adamsitnik:moreParsingImprovements
adamsitnik/command-line-api:moreParsingImprovements
Copy head branch name to clipboard
Jan 12, 2023
Conversation
Commits
12
(12)
Checks
Files changed
Merged
More parsing improvements
#2016
adamsitnik
merged 12 commits into
dotnet:main
dotnet/command-line-api:main
from
adamsitnik:moreParsingImprovements
adamsitnik/command-line-api:moreParsingImprovements
Copy head branch name to clipboard
Commits
Commits on Jan 11, 2023
remove Parent property from SyntaxNode as it's used only in one place
adamsitnik
committed
7340170
View commit details
Copy full SHA for 7340170
Browse repository at this point
make NonterminalSyntaxNode.Children nullable to reduce number of JIT compilations
adamsitnik
committed
23b324a
View commit details
Copy full SHA for 23b324a
Browse repository at this point
don't store a dedicated list of OptionResults, re-use data present in symbolResults dictionary
adamsitnik
committed
0c43b20
View commit details
Copy full SHA for 0c43b20
Browse repository at this point
Commits on Jan 12, 2023
avoid unnecessary casting:
Show description for eea506b
adamsitnik
committed
eea506b
View commit details
Copy full SHA for eea506b
Browse repository at this point
We own Symbol->SymbolResult dictionary and we know that for each Argument key the value can be only ArgumentResult etc
adamsitnik
committed
675396f
View commit details
Copy full SHA for 675396f
Browse repository at this point
seal ArgumentResult, OptionResult and RootCommandResult
adamsitnik
committed
6d4c898
View commit details
Copy full SHA for 6d4c898
Browse repository at this point
remove unused internal type (SymbolResultVisitor)
adamsitnik
committed
13ae067
View commit details
Copy full SHA for 13ae067
Browse repository at this point
remove Root property, we already have Parent property and can get the Root very quickly
adamsitnik
committed
e728796
View commit details
Copy full SHA for e728796
Browse repository at this point
don't use SymbolResult.Symbol property when more specific information is available
adamsitnik
committed
271bc39
View commit details
Copy full SHA for 271bc39
Browse repository at this point
seal more internal derived types
adamsitnik
committed
26396dc
View commit details
Copy full SHA for 26396dc
Browse repository at this point
only CommandResult can have Children of OptionResult type
Show description for 603ccf7
adamsitnik
committed
603ccf7
View commit details
Copy full SHA for 603ccf7
Browse repository at this point
don't allocate an array if all we care about is the last element
adamsitnik
committed
75989fd
View commit details
Copy full SHA for 75989fd
Browse repository at this point
You can’t perform that action at this time.