- Description:
This key defines the parser type for repeating literal parser configurations.
The value must be
repeating_literal. This specifies that the parameter uses the repeating literal parser, which matches a literal string that can appear multiple times.- Appears in:
└── Snippet └── params └── * └── Repeating Literal Parser Config └── parser- Type:
"repeating_literal"Required- Examples:
In this example, we have configured a repeating literal parser for a snippet parameter.
Copied to clipboard_snippets: example: snippet: <<example [[literal_param]]>> params: literal_param: parser: repeating_literal options: literal: separator default: 1{ "_snippets": { "example": { "snippet": "<<example [[literal_param]]>>", "params": { "literal_param": { "parser": "repeating_literal", "options": { "literal": "separator", "default": 1 } } } } } }