setOptions applies the options to the parser.
(opts []Option)
| 24777 | |
| 24778 | // setOptions applies the options to the parser. |
| 24779 | func (p *parser) setOptions(opts []Option) { |
| 24780 | for _, opt := range opts { |
| 24781 | opt(p) |
| 24782 | } |
| 24783 | } |
| 24784 | |
| 24785 | type resultTuple struct { |
| 24786 | v any |