-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
335 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Modifiers printer | ||
|
||
Prints modifiers with their usages. | ||
|
||
## Example | ||
|
||
<div> | ||
--8<-- "docs/static-analysis/printers/modifiers.svg" | ||
</div> | ||
|
||
## Parameters | ||
|
||
| Command-line name | TOML name | Type | Default value | Description | | ||
|---------------------------------------------------------------------------|--------------------------------|-------------|---------------|-----------------------------------------------------------------| | ||
| `--name` (multiple) | <nobr>`names`</nobr> | `List[str]` | `[]` | Modifier names. | | ||
| <nobr>`--canonical-names`</nobr>/<br/><nobr>`--no-canonical-names`</nobr> | <nobr>`canonical_names`</nobr> | `bool` | `True` | Whether to print (full) canonical names instead of local names. | | ||
| <nobr>`--code-snippets`</nobr>/<br/><nobr>`--no-code-snippets`</nobr> | <nobr>`code_snippets`</nobr> | `bool` | `True` | Whether to print modifier source code snippets. | |
Oops, something went wrong.