Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotASCII = errors.New("only ASCII encoding supported") ErrParseUnacceptableWhitespace = errors.New("unacceptable whitespace char") ErrUnexpectedChar = errors.New("unexpected character") ErrInvalidLengthPrefix = errors.New("invalid length prefix") ErrInvalidTokenChar = errors.New("invalid token character") )
View Source
var FullParser = parser{/* contains filtered or unexported fields */}
View Source
var FullProducer = producer{/* contains filtered or unexported fields */}
View Source
var LimitedParser = parser{/* contains filtered or unexported fields */}
View Source
var LimitedProducer = producer{/* contains filtered or unexported fields */}
Functions ¶
This section is empty.
Types ¶
type LengthHint ¶
type Parser ¶
type Parser interface { ParseNode(s io.RuneScanner) (n *Node, err error) ParseList(s io.RuneScanner) (n *Node, err error) ParseToken(s io.RuneScanner) (n *Node, err error) ParseHexadecimal(s io.RuneScanner, h LengthHint) (n *Node, err error) ParseBase64(s io.RuneScanner, h LengthHint) (n *Node, err error) }
Click to show internal directories.
Click to hide internal directories.