parse

package
v0.0.0-...-1a98718 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListZipSGFfiles

func ListZipSGFfiles(fpath string) (fnames sort.StringSlice, err error)

func Parse

func Parse(input string) (games []*sgf.Game)

func ParseString

func ParseString(str string) (games []*sgf.Game, err error)

func ParseZipAllSGFfiles

func ParseZipAllSGFfiles(zippath string) (games []*sgf.Game, err error)

func ParseZipSGFfile

func ParseZipSGFfile(zippath, fname string) (games []*sgf.Game, err error)

Types

type Element

type Element struct {
	// contains filtered or unexported fields
}

type Pos

type Pos int

type Stack

type Stack struct {
	// contains filtered or unexported fields
}

func (*Stack) Len

func (s *Stack) Len() int

func (*Stack) Peek

func (s *Stack) Peek() (value interface{})

func (*Stack) Pop

func (s *Stack) Pop() (value interface{})

func (*Stack) Push

func (s *Stack) Push(value interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL