Documentation
¶
Index ¶
- type AutoItVM
- func (vm *AutoItVM) AddHandle(value interface{}) string
- func (vm *AutoItVM) DestroyHandle(handleId string)
- func (vm *AutoItVM) Error(format string, params ...interface{}) error
- func (vm *AutoItVM) ExtendVM(tokens []*Token) (*AutoItVM, error)
- func (vm *AutoItVM) GetError() int
- func (vm *AutoItVM) GetExtended() int
- func (vm *AutoItVM) GetHandle(handleId string) interface{}
- func (vm *AutoItVM) GetMacro(macro string) (*Token, error)
- func (vm *AutoItVM) GetReturnValue() *Token
- func (vm *AutoItVM) GetVariable(variableName string) *Token
- func (vm *AutoItVM) HandleFunc(funcName string, args []*Token) (*Token, error)
- func (vm *AutoItVM) Log(format string, params ...interface{})
- func (vm *AutoItVM) Move(pos int)
- func (vm *AutoItVM) Preprocess() error
- func (vm *AutoItVM) PreprocessFunc() (string, *Function, error)
- func (vm *AutoItVM) ReadToken() *Token
- func (vm *AutoItVM) Resume()
- func (vm *AutoItVM) Run() error
- func (vm *AutoItVM) Running() bool
- func (vm *AutoItVM) SetError(error int)
- func (vm *AutoItVM) SetExtended(extended int)
- func (vm *AutoItVM) SetReturnValue(returnValue *Token)
- func (vm *AutoItVM) SetVariable(variableName string, token *Token)
- func (vm *AutoItVM) Stderr() string
- func (vm *AutoItVM) Stdout() string
- func (vm *AutoItVM) Step() error
- func (vm *AutoItVM) Stop()
- func (vm *AutoItVM) Suspend()
- func (vm *AutoItVM) Suspended() bool
- func (vm *AutoItVM) Token() *Token
- func (vm *AutoItVM) Tokens() []*Token
- type Evaluator
- type Function
- type FunctionArg
- type Lexer
- func (l *Lexer) GetTokens() ([]*Token, error)
- func (l *Lexer) Move(pos int)
- func (l *Lexer) ReadBinary() (string, error)
- func (l *Lexer) ReadFlag() string
- func (l *Lexer) ReadIdent() string
- func (l *Lexer) ReadNumber() (string, error)
- func (l *Lexer) ReadRune() (rune, error)
- func (l *Lexer) ReadToken() (*Token, error)
- func (l *Lexer) ReadUntil(r rune, escapable bool) string
- type Token
- type TokenType
- type Var
- type VarType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoItVM ¶
type AutoItVM struct { //Runtime configuration Logger bool // contains filtered or unexported fields }
func NewAutoItScriptVM ¶
func NewAutoItTokenVM ¶
func (*AutoItVM) AddHandle ¶
AddHandle creates a handle from the given token and returns the handle id
func (*AutoItVM) DestroyHandle ¶
DestroyHandle destroys the given handle id
func (*AutoItVM) GetExtended ¶
func (*AutoItVM) GetHandle ¶
GetHandle returns the token for the specified handle or nil if it doesn't exist
func (*AutoItVM) GetReturnValue ¶
func (*AutoItVM) GetVariable ¶
GetVariable returns the token for the specified variable or nil if it doesn't exist
func (*AutoItVM) HandleFunc ¶
func (*AutoItVM) Preprocess ¶
Preprocess steps through the script and prepares it for execution
func (*AutoItVM) PreprocessFunc ¶
PreprocessFunc reads and processes a function
func (*AutoItVM) SetExtended ¶
func (*AutoItVM) SetReturnValue ¶
func (*AutoItVM) SetVariable ¶
SetVariable sets the specified variable to the given token
type Evaluator ¶
type Evaluator struct {
// contains filtered or unexported fields
}
func NewEvaluator ¶
type FunctionArg ¶
type Lexer ¶
type Lexer struct {
// contains filtered or unexported fields
}
func NewLexerFromFile ¶
func (*Lexer) ReadBinary ¶
func (*Lexer) ReadNumber ¶
Click to show internal directories.
Click to hide internal directories.