Represents IF structures in the model. More...
Public Member Functions | |
| def | __init__ (self, header, body=None, orelse=None, end=None, errors=()) |
| def | validate (self, context) |
Public Member Functions inherited from robot.parsing.model.blocks.Block | |
| def | validate_model (self) |
Public Attributes | |
| body | |
| end | |
| errors | |
| header | |
| orelse | |
Properties | |
| assign = property | |
| condition = property | |
| type = property | |
Properties inherited from robot.parsing.model.blocks.Block | |
| col_offset = property | |
| end_col_offset = property | |
| end_lineno = property | |
| lineno = property | |
Private Member Functions | |
| def | _validate_body (self) |
| def | _validate_end (self) |
| def | _validate_inline_if (self) |
| def | _validate_structure (self) |
| def | assign (self) |
| def | condition (self) |
| def | type (self) |
Static Private Attributes | |
| tuple | _fields |
Additional Inherited Members | |
Static Public Attributes inherited from robot.parsing.model.blocks.Block | |
| tuple | errors = () |
Represents IF structures in the model.
Used with IF, Inline IF, ELSE IF and ELSE nodes. The :attr:`type` attribute specifies the type.
| def robot.parsing.model.blocks.If.__init__ | ( | self, | |
| header, | |||
body = None, |
|||
orelse = None, |
|||
end = None, |
|||
errors = () |
|||
| ) |
|
private |
|
private |
|
private |
|
private |
|
private |
| def robot.parsing.model.blocks.If.validate | ( | self, | |
| context | |||
| ) |
Reimplemented from robot.parsing.model.blocks.Block.