Public Member Functions | |
| def | __init__ (self, type=BodyItem.IF, condition=None, parent=None) |
| def | __str__ (self) |
| def | body (self, body) |
| def | visit (self, visitor) |
Public Member Functions inherited from robot.model.modelobject.ModelObject | |
| def | __repr__ (self) |
| def | config (self, **attributes) |
| Configure model object with given attributes. More... | |
| def | copy (self, **attributes) |
| Return shallow copy of this object. More... | |
| def | deepcopy (self, **attributes) |
| Return deep copy of this object. More... | |
Public Attributes | |
| body | |
| condition | |
| parent | |
| type | |
Static Public Attributes | |
| body_class = Body | |
| tuple | repr_args = ('type', 'condition') |
Static Public Attributes inherited from robot.model.body.BodyItem | |
| string | BREAK = 'BREAK' |
| string | CONTINUE = 'CONTINUE' |
| string | ELSE = 'ELSE' |
| string | ELSE_IF = 'ELSE IF' |
| string | EXCEPT = 'EXCEPT' |
| string | FINALLY = 'FINALLY' |
| string | FOR = 'FOR' |
| string | IF = 'IF' |
| string | IF_ELSE_ROOT = 'IF/ELSE ROOT' |
| string | ITERATION = 'ITERATION' |
| string | KEYWORD = 'KEYWORD' |
| string | MESSAGE = 'MESSAGE' |
| string | RETURN = 'RETURN' |
| string | SETUP = 'SETUP' |
| string | TEARDOWN = 'TEARDOWN' |
| string | TRY = 'TRY' |
| string | TRY_EXCEPT_ROOT = 'TRY/EXCEPT ROOT' |
| type = None | |
| string | WHILE = 'WHILE' |
Static Public Attributes inherited from robot.model.modelobject.ModelObject | |
| tuple | repr_args = () |
Properties | |
| id = property | |
| Branch id omits IF/ELSE root from the parent id part. More... | |
Properties inherited from robot.model.body.BodyItem | |
| has_setup = property | |
| has_teardown = property | |
| id = property | |
Item id in format like s1-t3-k1. More... | |
Private Member Functions | |
| def | id (self) |
Static Private Attributes | |
| list | __slots__ = ['type', 'condition'] |
Definition at line 85 of file control.py.
| def robot.model.control.IfBranch.__init__ | ( | self, | |
type = BodyItem.IF, |
|||
condition = None, |
|||
parent = None |
|||
| ) |
Definition at line 90 of file control.py.
| def robot.model.control.IfBranch.__str__ | ( | self | ) |
Definition at line 111 of file control.py.
| def robot.model.control.IfBranch.body | ( | self, | |
| body | |||
| ) |
Definition at line 97 of file control.py.
|
private |
Reimplemented from robot.model.body.BodyItem.
Definition at line 104 of file control.py.
| def robot.model.control.IfBranch.visit | ( | self, | |
| visitor | |||
| ) |
Definition at line 118 of file control.py.
Definition at line 88 of file control.py.
| robot.model.control.IfBranch.body |
Definition at line 94 of file control.py.
|
static |
Definition at line 86 of file control.py.
| robot.model.control.IfBranch.condition |
Definition at line 92 of file control.py.
| robot.model.control.IfBranch.parent |
Definition at line 93 of file control.py.
Definition at line 87 of file control.py.
| robot.model.control.IfBranch.type |
Definition at line 91 of file control.py.
|
static |
Branch id omits IF/ELSE root from the parent id part.
Definition at line 102 of file control.py.