alias

package
v0.0.0-...-ae9e989 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2016 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Table = map[string]Callable{}

Functions

func Init

func Init()

Types

type AliasFunc

type AliasFunc struct {
	BaseStr string
}

func New

func New(baseStr string) *AliasFunc

func (*AliasFunc) Call

func (this *AliasFunc) Call(cmd *interpreter.Interpreter) (next interpreter.ErrorLevel, err error)

func (*AliasFunc) String

func (this *AliasFunc) String() string

type Callable

type Callable interface {
	String() string
	Call(cmd *interpreter.Interpreter) (interpreter.ErrorLevel, error)
}

Jump to

Keyboard shortcuts

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