gonum: gonum.org/v1/gonum/graph/formats/dot/internal/token Index | Files

package token

import "gonum.org/v1/gonum/graph/formats/dot/internal/token"

Package token provides generated internal tokenizing functions for DOT parsing.

Index

Package Files

doc.go token.go

Variables

var TokMap = TokenMap{
    // contains filtered or unexported fields
}

type Pos Uses

type Pos struct {
    Offset int
    Line   int
    Column int
}

func (Pos) String Uses

func (p Pos) String() string

type Token Uses

type Token struct {
    Type
    Lit []byte
    Pos
}

type TokenMap Uses

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

func (TokenMap) Id Uses

func (m TokenMap) Id(tok Type) string

func (TokenMap) StringType Uses

func (m TokenMap) StringType(typ Type) string

func (TokenMap) TokenString Uses

func (m TokenMap) TokenString(tok *Token) string

func (TokenMap) Type Uses

func (m TokenMap) Type(tok string) Type

type Type Uses

type Type int
const (
    INVALID Type = iota
    EOF
)

Package token imports 1 packages (graph) and is imported by 4 packages. Updated 2019-01-30. Refresh now. Tools for package owners.