class documentation
class ContractSolver(recipe.ClassInstanceBuilder): (source)
Undocumented
Method | __init__ |
Undocumented |
Method | post |
Undocumented |
Method | pre |
Undocumented |
Method | process |
from a function arguments, query the args from the z3 model, and use `model.eval(model_completion=True) for argument not part of constraint. |
Method | solve |
Undocumented |
Method | solve |
Undocumented |
Method | visit |
Undocumented |
Instance Variable | as |
Undocumented |
Instance Variable | cfg |
Undocumented |
Instance Variable | file |
Undocumented |
Instance Variable | functions |
Undocumented |
Instance Variable | id |
Undocumented |
Method | _gather |
Call `decorator` with `args`, gather Prm nodes and convert to z3 expr |
Method | _parse |
Return list of arg in function_args, order by decorator args. If decorator arg is in replace map, use the value of the map instead of the function :Raise: ValueError if arg in decorator doesn't exist in function... |
Inherited from ClassInstanceBuilder
:
Method | visit |
Undocumented |
Instance Variable | class |
Undocumented |
Instance Variable | context |
Undocumented |
Inherited from AstVisitor
(via ClassInstanceBuilder
):
Method | generic |
Undocumented |
Method | visit |
Undocumented |
from a function arguments, query the args from the z3 model, and use `model.eval(model_completion=True) for argument not part of constraint. For argument that contain defaults, if it's in the model, the arg will have the model's value. If it's not in the model, the defaults will be used.
Parameters | |
func:nodes.FunctionDef | Undocumented |
z3 | Undocumented |
Returns | |
List[ | Undocumented |