Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandTypes = []CommandType{ token.BACKSPACE, token.DELETE, token.INSERT, token.CTRL, token.ALT, token.DOWN, token.ENTER, token.ESCAPE, token.ILLEGAL, token.LEFT, token.PAGEUP, token.PAGEDOWN, token.RIGHT, token.SET, token.OUTPUT, token.SLEEP, token.SPACE, token.HIDE, token.REQUIRE, token.SHOW, token.TAB, token.TYPE, token.UP, token.WAIT, token.SOURCE, token.SCREENSHOT, token.COPY, token.PASTE, token.ENV, }
CommandTypes is a list of the available commands that can be executed.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Type CommandType Options string Args string }
Command represents a command with options and arguments.
type CommandType ¶
CommandType is a type that represents a command.
func (CommandType) String ¶
func (c CommandType) String() string
String returns the string representation of the command.
type Error ¶
Error represents an error with parsing a tape file. It tracks the token causing the error and a human readable error message.
Click to show internal directories.
Click to hide internal directories.