We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description Handle parameters using both option value and option=value syntax or chose a unified syntax and use only that
option value
option=value
Use case or motivation behind the feature request Some options require use of = while others only accept without it.
=
For example in file COMMAND_TERAGREP_MODE.g4 both are present
COMMAND_TERAGREP_MODE.g4
COMMAND_TERAGREP_MODE_OUTPUT: 'output' -> pushMode(GET_FIELD); COMMAND_TERAGREP_MODE_REGEX: 'regex' -> pushMode(GET_STRING); COMMAND_TERAGREP_MODE_ESTIMATES: 'estimates' -> pushMode(GET_FIELD); COMMAND_TERAGREP_MODE_HEADER: 'header=' -> pushMode(GET_BOOLEAN); COMMAND_TERAGREP_MODE_SCHEMA: 'schema=' -> pushMode(GET_STRING);
Additional context allow for both possibly like: COMMAND_EXAMPLE_MODE: 'value' '='? -> pushMode(GET_STRING)
COMMAND_EXAMPLE_MODE: 'value' '='? -> pushMode(GET_STRING)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Handle parameters using both
option value
andoption=value
syntax or chose a unified syntax and use only thatUse case or motivation behind the feature request
Some options require use of
=
while others only accept without it.For example in file
COMMAND_TERAGREP_MODE.g4
both are presentAdditional context
allow for both possibly like:
COMMAND_EXAMPLE_MODE: 'value' '='? -> pushMode(GET_STRING)
The text was updated successfully, but these errors were encountered: