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