Lines Matching defs:textParser
79 type textParser struct { struct
80 s string // remaining input
81 done bool // whether the parsing is finished (success or error)
82 backed bool // whether back() was called
83 offset, line int
84 cur token
95 func (p *textParser) errorf(format string, a ...interface{}) *ParseError {
133 func (p *textParser) skipWhitespace() {
157 func (p *textParser) advance() {
322 func (p *textParser) back() { p.backed = true }
325 func (p *textParser) next() *token {
355 func (p *textParser) consumeToken(s string) error {
368 func (p *textParser) missingRequiredFieldError(sv reflect.Value) *RequiredNotSetError {
395 func (p *textParser) checkForColon(props *Properties, typ reflect.Type) *ParseError {
435 func (p *textParser) readStruct(sv reflect.Value, terminator string) error {
694 func (p *textParser) consumeExtName() (string, error) {
726 func (p *textParser) consumeOptionalSeparator() error {
737 func (p *textParser) readAny(v reflect.Value, props *Properties) error {