token

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsXName

func IsXName(s string) bool

Types

type Token

type Token struct {
	Type  Type
	Value string
}

type Type added in v0.0.2

type Type string
const (
	ILLEGAL   Type = "ILLEGAL"
	EOF       Type = "EOF"
	IDENT     Type = "IDENT"
	STRING    Type = "STRING"
	ASSIGN    Type = "="
	COMMA     Type = ","
	SEMICOLON Type = ";"
	COLON     Type = ":"
)

Jump to

Keyboard shortcuts

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