ast

package
v0.0.0-...-c1efc2f Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

type Token struct {
	Type  TokenType
	Value string
}

func Tokenizer

func Tokenizer(inputs []rune) []Token

type <T,U>, type <interface{},*U> NumValue<int, string>, AnotherNumValue<int, interface{}> => ["NumValue","<", "int", ",", "string", ">", ",", "AnotherNumValue", "<", "int", ",", "interface{}", ">"]

type TokenType

type TokenType int
const (
	TokenTypeParen TokenType = iota
	TokenTypeName
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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