Common

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 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 TestTkType

type TestTkType int
const (

	// TkEof is the end of file token.
	TkEof TestTkType = iota

	// TkBinOp is a binary operator token.
	TkBinOp

	// TkUnaryOp is a unary operator token.
	TkUnaryOp

	// TkOpParen is an open parenthesis token.
	TkOpParen

	// TkClParen is a close parenthesis token.
	TkClParen

	// TkWs is a whitespace token.
	TkWs

	// TkNewline is a newline token.
	TkNewline

	// TkImmediate is an immediate token.
	TkImmediate

	// TkRightArrow is a right arrow token.
	TkRightArrow

	// TkRegister is a register token.
	TkRegister

	// TkUnaryInstruction is a unary instruction token.
	TkUnaryInstruction

	// TkLoadImmediate is a load immediate token.
	TkLoadImmediate

	// TkOperand is an operand token.
	TkOperand

	// TkSource is a source token.
	TkSource

	// TkSource1 is a source (I) token.
	TkSource1

	// TkStatement is a statement token.
	TkStatement

	// TkBinInstruction is a binary instruction token.
	TkBinInstruction
)

func (TestTkType) IsTerminal

func (t TestTkType) IsTerminal() bool

func (TestTkType) String

func (t TestTkType) String() string

Jump to

Keyboard shortcuts

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