[][src]Crate sgf_parse

Data structures and utilities for parsing SGF FF[4] files.

For most purposes your starting point will likely be the parse function. The main interface to the sgf is the SgfNode struct and the associated SgfProp values.

Structs

Point

An SGF Point value for the Game of Go.

SgfNode

A node in an SGF Game Tree.

SimpleText

An SGF SimpleText value.

Text

An SGF Text value.

Enums

Double

An SGF Double value.

Move

An SGF Move value for the Game of Go.

PropertyType

An SGF Property Type.

SgfParseError

Error type for all sgf parsing errors.

SgfProp

An SGF Property with identifier and value.

Functions

parse

Returns a Vector of the root SgfNodes parsed from the provided text.