Documentation ¶
Index ¶
Constants ¶
View Source
const ( B_DOUBLE_UNQUOTE = 0 B_UNICODE_REPLACE = 1 B_VALIDATE_STRING = 5 )
View Source
const ( F_DOUBLE_UNQUOTE = 1 << B_DOUBLE_UNQUOTE F_UNICODE_REPLACE = 1 << B_UNICODE_REPLACE F_VALIDATE_STRING = 1 << B_VALIDATE_STRING )
View Source
const (
MAX_RECURSE = 4096
)
View Source
const (
SPACE_MASK = (1 << ' ') | (1 << '\t') | (1 << '\r') | (1 << '\n')
)
Variables ¶
This section is empty.
Functions ¶
func FreeStateMachine ¶ added in v1.1.0
func FreeStateMachine(fsm *StateMachine)
Types ¶
type ParsingError ¶
type ParsingError uint
const ( ERR_EOF ParsingError = 1 ERR_INVALID_CHAR ParsingError = 2 ERR_INVALID_ESCAPE ParsingError = 3 ERR_INVALID_UNICODE ParsingError = 4 ERR_INTEGER_OVERFLOW ParsingError = 5 ERR_INVALID_NUMBER_FMT ParsingError = 6 ERR_RECURSE_EXCEED_MAX ParsingError = 7 ERR_FLOAT_INFINITY ParsingError = 8 ERR_MISMATCH ParsingError = 9 ERR_INVALID_UTF8 ParsingError = 10 )
func (ParsingError) Error ¶
func (self ParsingError) Error() string
func (ParsingError) Message ¶
func (self ParsingError) Message() string
type SearchingError ¶
type SearchingError uint
type StateMachine ¶
type StateMachine struct { Sp int Vt [MAX_RECURSE]int }
func NewStateMachine ¶ added in v1.1.0
func NewStateMachine() *StateMachine
Click to show internal directories.
Click to hide internal directories.