|
|
|
compiler(self,
**compileParameters)
This method will parse the openspeak file and will write to a python
module with the equivalent translations. |
source code
|
|
|
|
|
translate_repeat(self,
**repeatStatement)
this will transalte the repeat statement into a python equivalen
while loop |
source code
|
|
|
|
|
|
|
interpret(self,
**interpetParameters)
This method will accept the OpenSpeak syntax into a string and will
return a python equivalent translations statement |
source code
|
|
|
translate_logs(self,
**logStatement)
This will translate the OpenSpeak log message statements into python
equivalent to resultString and returns resultString |
source code
|
|
|
translate_log_message(self,
**messageStatement)
This API will translate log messages if it is a string or Variable or
combination of string and variable. |
source code
|
|
|
translate_assertion(self,
**assertStatement)
This will translate the ASSERT <value1> <COMPARISON
OPERATOR> <value2> into python equivalent to resultString
and returns resultString |
source code
|
|
|
|
|
|
|
|
|
translate_store(self,
**storeStatement)
This will translate the STORE <variable> IN <value> or
<variable> = <value> into python equivalent to
resultString and returns resultString |
source code
|
|
|
translate_disconnect(self,
**disconnectStatement)
This will translate the DISCONNECT <component_name> into python
equivalent to resultString and returns resultString |
source code
|
|
|
translate_onDOAs(self,
**onDoStatement)
This will translate the ON <component> DO <action> USING
<arg1> AS <value1>,<arg2> AS <value2> into
python equivalent to resultString and returns resultString |
source code
|
|
|
handle_conjuction(self,
**conjuctStatement)
This will handle the conjuctions |
source code
|
|
|
|
|
translate_connect(self,
**connectStatement)
This will translate the CONNECT <component_name> USING1
<arg1> AS <value1>, <arg2> AS <value2> into
python equivalent to resultString and returns resultString |
source code
|
|
|
translate_parameters(self,
**parameterStatement)
This will translate the OpenSpeak Case and Params parameters into
python equivalent to resultString and returns resultString |
source code
|
|
|
_argsCheck(self,
**args)
This API will check if given argument is varibale reference or String
and will translate accordingly. |
source code
|
|
|
translate_step(self,
**stepStatement)
This will translate the STEP "DO SOMETHING HERE" into
python equivalent to resultString and returns resultString |
source code
|
|
|
translate_comment(self,
**commentStatement)
This will translate the COMMENT "DO SOMETHING HERE" into
python equivalent to resultString and returns resultString |
source code
|
|
|
translate_testcase_name(self,
**nameStatement)
This method will convert NAME "<Testcase_name>" into
python equivalent statement to resultString and returns resultString |
source code
|
|
|
|
|
|
|
translate_conjuction(self,
conjuctionStatement)
This will translate the AND conjuction statements into python
equivalent to resultString and returns resultString |
source code
|
|
|
parse_args(self,
args,
**kwargs)
It will accept the (key,value) pair and will return the (key,value)
pairs with keys in uppercase. |
source code
|
|