(ofRule: Rule | string)
| 13 | |
| 14 | // An optional rule. |
| 15 | export function opt(ofRule: Rule | string): Rule { |
| 16 | return { ofRule }; |
| 17 | } |
| 18 | |
| 19 | // A list of another rule. |
| 20 | export function list(ofRule: Rule | string, separator?: string | Rule): Rule { |
no outgoing calls
no test coverage detected