EnableIdentEscapeSyntax enables backtick (`) escaped field identifiers. This supports extended types of characters in identifiers, e.g. foo.`baz-bar`.
(enableIdentEscapeSyntax bool)
| 132 | // EnableIdentEscapeSyntax enables backtick (`) escaped field identifiers. This |
| 133 | // supports extended types of characters in identifiers, e.g. foo.`baz-bar`. |
| 134 | func EnableIdentEscapeSyntax(enableIdentEscapeSyntax bool) Option { |
| 135 | return func(opts *options) error { |
| 136 | opts.enableIdentEscapeSyntax = enableIdentEscapeSyntax |
| 137 | return nil |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | // EnableHiddenAccumulatorName uses an accumulator variable name that is not a |
| 142 | // normally accessible identifier in source for comprehension macros. Compatibility notes: |
no outgoing calls