Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackslashEscapesNext ¶ added in v0.81.3
BackslashEscapesNext reports whether the current backslash consumes the following byte in a quoted string. Backtick strings are raw.
func CanStartQuote ¶
CanStartQuote reports whether a quote at position begins a quoted value within the source region starting at start.
func DecodeDoubleQuotedString ¶ added in v0.94.1
DecodeDoubleQuotedString decodes a complete double-quoted literal using the same grammar as expr-lang. Plain, valid literals return a source substring without allocation; escaped or unusual source is parsed by expr-lang.
func IsHeaderComment ¶
IsHeaderComment reports whether text begins with a supported whole-line comment marker.
Types ¶
This section is empty.