context

package
v2.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PathSymbol         = "<path>"
	ContractSymbol     = "<contract>"
	AccountSymbol      = "<account>"
	AmountSymbol       = "<amount>"
	ContractArgsSymbol = "<contract_args>"
	ExpectedSymbol     = "<expected>"
	ExpectedErrSymbol  = "<expected_err>"
	FunctionSymbol     = "<function>"
	TimestampSymbol    = "<value_or_increment>"
	HardforkSymbol     = "<version>"
	CommandSymbol      = "[command]"
)
View Source
var Comment = "#"
View Source
var (
	GitHash = "?"
)
View Source
var Symbols = make(map[string]string)

reprenestation and description map of all symbols

Functions

func Close

func Close()

func Get

func Get() *vm_dummy.DummyChain

func IsCompleteCommand

func IsCompleteCommand(line string, line_no int, isOpen bool) (bool, error)

func LivePrefix

func LivePrefix() (string, bool)

func Open

func Open(private bool)

func ParseFirstWord

func ParseFirstWord(input string) (string, string)

func Reset

func Reset()

Types

type Chunk

type Chunk struct {
	Accent bool
	Text   string
}

func SplitSpaceAndAccent

func SplitSpaceAndAccent(input string, addLastInComplete bool) []Chunk

Jump to

Keyboard shortcuts

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