ScriptHandler

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(ParseTree t)
Undocumented in source.
this
this(ParseTree t, File[] files)
Undocumented in source.

Alias This

variables

Members

Functions

handleBlock
void handleBlock(ParseTree block, Expect e)
Undocumented in source. Be warned that the author may not have intended to support it.
handleEnclosedBlock
void handleEnclosedBlock(ParseTree block, Expect e)
Undocumented in source. Be warned that the author may not have intended to support it.
handleExpect
void handleExpect(ParseTree expect, Expect e)
Undocumented in source. Be warned that the author may not have intended to support it.
handleScript
void handleScript(ParseTree script)

Handles the script, delegating the work down to it's helper functions

handleSend
void handleSend(ParseTree send, Expect e)
Undocumented in source. Be warned that the author may not have intended to support it.
handleSet
void handleSet(ParseTree set)
Undocumented in source. Be warned that the author may not have intended to support it.
handleSpawn
void handleSpawn(ParseTree spawn, Expect e)
Undocumented in source. Be warned that the author may not have intended to support it.
handleStatement
void handleStatement(ParseTree statement, Expect e)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
string opIndex(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(string value, string name)

Overloads the index operators so when "timeout" is set, it is propogated to the Expect variable

run
bool run()

Runs this script. Returns true if the script succeeds

Variables

expect
Expect expect;
Undocumented in source.
outFiles
File[] outFiles;
Undocumented in source.
theScript
ParseTree theScript;
Undocumented in source.
variables
string[string] variables;
Undocumented in source.

Meta