context

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PathSymbol         = "<path>"
	ContractSymbol     = "<contract>"
	AccountSymbol      = "<account>"
	AmountSymbol       = "<amount>"
	ContractArgsSymbol = "<contract_args>"
	ExpectedSymbol     = "<expected>"
	FunctionSymbol     = "<function>"
	CommandSymbol      = "[command]"
)
View Source
var Comment = "#"
View Source
var CurrentCtx *context
View Source
var GitHash = "?"
View Source
var Symbols = make(map[string]string)

reprenestation and description map of all symbols

Functions

func Get

func Get() *contract.DummyChain

func LivePrefix

func LivePrefix() (string, 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