lexeme

package
v0.0.0-...-6aa2a36 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Type ItemType
	Val  string
}

func (Item) CompareItem

func (i Item) CompareItem(b Item) bool

type ItemType

type ItemType int
const (
	Eof ItemType = iota
	Error
	TextLiteral
	Hash
	ListItemPrefix
	OpenCodeFence
	CloseCodeFence
	OpenInlineCode
	CloseInlineCode
	LineBreak
	OpenCurlyBrace
	CloseCurlyBrace
	OpenSquareBrace
	CloseSquareBrace
	OpenParen
	CloseParen
	Comma
	Semicolon
	Symbol
	Boolean
	Number
	String
	Null
	IfLiteral
	ElseLiteral
	WhileLiteral
	GotoLiteral
	Plus
	Minus
	Star
	Slash
	Percent
	Gt
	Lt
	Gte
	Lte
	Eq
	Neq
	DoubleEq
	Inc
	Dec
	Dot
	And
	Or
	Not
	Type
	ExternKeyword
)

Jump to

Keyboard shortcuts

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