token

package
v0.0.0-...-b78bf2c Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Position

type Position struct {
	Line   uint
	Column uint
}

func NewPosition

func NewPosition(line, column uint) Position

func (Position) String

func (p Position) String() string

type Token

type Token struct {
	Kind int
	Lit  string
	Position
}

func (Token) String

func (t Token) String() string

Jump to

Keyboard shortcuts

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