Documentation ¶
Index ¶
- Variables
- type T
- func (t *T) AtEnd() bool
- func (t *T) Bytes() []byte
- func (t *T) EatComment()
- func (t *T) EatCommentsAndSpaces()
- func (t *T) EatSpace()
- func (t *T) NextRaw() ([]byte, bool)
- func (t *T) NextText() string
- func (t *T) ParseBinaryField() (content []byte, err error)
- func (t *T) ParseCollection() (geo geom.Collection, err error)
- func (t *T) ParseComment() (content []byte, err error)
- func (t *T) ParseExpectedField() (geo interface{}, err error)
- func (t *T) ParseFloat64() (float64, error)
- func (t *T) ParseLabel() (content []byte, err error)
- func (t *T) ParseLineComment() (content []byte, err error)
- func (t *T) ParseLineString() (pts geom.LineString, err error)
- func (t *T) ParseMultiLineString() (lns geom.MultiLineString, err error)
- func (t *T) ParseMultiPoint() (pts geom.MultiPoint, err error)
- func (t *T) ParseMultiPolygon() (pys geom.MultiPolygon, err error)
- func (t *T) ParsePoint() (pt geom.Point, err error)
- func (t *T) ParsePolygon() (lns geom.Polygon, err error)
- func (t *T) ParseTillEndIgnoreComments() (contents []byte)
- func (t *T) Peek() byte
- func (t *T) Scan() bool
- func (t *T) ScanTill(sym byte) (contents []byte)
- func (t *T) Symbol() byte
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidStartMarkerErr = fmt.Errorf("invalid start marker.")
Functions ¶
This section is empty.
Types ¶
type T ¶
func (*T) EatComment ¶
func (t *T) EatComment()
func (*T) EatCommentsAndSpaces ¶
func (t *T) EatCommentsAndSpaces()
func (*T) ParseBinaryField ¶
func (*T) ParseCollection ¶
func (t *T) ParseCollection() (geo geom.Collection, err error)
func (*T) ParseComment ¶
func (*T) ParseExpectedField ¶
func (*T) ParseFloat64 ¶
func (*T) ParseLabel ¶
We will ignore all starting spaces, and comments.
func (*T) ParseLineComment ¶
Assumes that the first token is going to be the symbol for a line comment.
func (*T) ParseLineString ¶
func (t *T) ParseLineString() (pts geom.LineString, err error)
func (*T) ParseMultiLineString ¶
func (t *T) ParseMultiLineString() (lns geom.MultiLineString, err error)
func (*T) ParseMultiPoint ¶
func (t *T) ParseMultiPoint() (pts geom.MultiPoint, err error)
func (*T) ParseMultiPolygon ¶
func (t *T) ParseMultiPolygon() (pys geom.MultiPolygon, err error)
func (*T) ParseTillEndIgnoreComments ¶
Click to show internal directories.
Click to hide internal directories.