PopulateMacroCalls ensures that the original call signatures replaced by expanded macros are preserved in the `SourceInfo` of parse result.
(populateMacroCalls bool)
| 115 | // PopulateMacroCalls ensures that the original call signatures replaced by expanded macros |
| 116 | // are preserved in the `SourceInfo` of parse result. |
| 117 | func PopulateMacroCalls(populateMacroCalls bool) Option { |
| 118 | return func(opts *options) error { |
| 119 | opts.populateMacroCalls = populateMacroCalls |
| 120 | return nil |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | // EnableOptionalSyntax enables syntax for optional field and index selection. |
| 125 | func EnableOptionalSyntax(optionalSyntax bool) Option { |
no outgoing calls