Expression parsing class for parameter values.
|
__init__(self,
opts={ } ,
steering=Steering(),
cache=False,
noeval=False) |
source code
|
|
|
|
|
|
|
|
|
sprintf(self,
pstring,
args)
Format string using the arguments in args |
source code
|
|
|
|
|
|
|
safe_eval(self,
pstring)
Evalualte Python expression after verifying that it does not contain
potentially harmful or exploitable expressions. |
source code
|
|
|
_getarg(self,
pstring)
Retrieve argument from dictionary of commandline arguments/options |
source code
|
|
|
|
|
|
|
|
|
|
|
call(self,
func,
args)
Parse a function call in the form $func(args) |
source code
|
|
|
match(self,
ochar,
s)
Parse string until finding the matching closing character for ochar
(),[],{} |
source code
|
|
|
complement(self,
ochar)
return complent of char or matching opening and closing symbols
(),[],{} |
source code
|
|
|
format_string(self,
pstring,
args)
Format string using the arguments in args |
source code
|
|
|
|