optionalstring

package
v0.0.1-alpha3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Normal valueType = iota
	SingleQuoteEscaped
	SlashEscaped
)

Variables

This section is empty.

Functions

func EnumerateOptionalString

func EnumerateOptionalString(optionalString string) (enumerated []string, err error)

Types

type RawString

type RawString []textNode

func EnumerateOptionalStringRaw

func EnumerateOptionalStringRaw(optionalString string) (enumerated []RawString, err error)

func (RawString) String

func (rs RawString) String() string

String returns rs's raw internal value.

func (RawString) Unescaped

func (rs RawString) Unescaped() string

Unescaped returns rs's internal value unescaped.

type SyntaxError

type SyntaxError struct {
	Input    string
	ParsedAs string
}

func (SyntaxError) Error

func (e SyntaxError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL