EnableIdentEscapeSyntax enables backtick (`) escaped field identifiers. This supports extended types of characters in identifiers, e.g. foo.`baz-bar`.
(enableIdentEscapeSyntax bool)
| 145 | // EnableIdentEscapeSyntax enables backtick (`) escaped field identifiers. This |
| 146 | // supports extended types of characters in identifiers, e.g. foo.`baz-bar`. |
| 147 | func EnableIdentEscapeSyntax(enableIdentEscapeSyntax bool) Option { |
| 148 | return func(opts *options) error { |
| 149 | opts.enableIdentEscapeSyntax = enableIdentEscapeSyntax |
| 150 | return nil |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | // EnableHiddenAccumulatorName uses an accumulator variable name that is not a |
| 155 | // normally accessible identifier in source for comprehension macros. Compatibility notes: |
no outgoing calls