Robot Framework
robot.model.control.While Class Reference
Inheritance diagram for robot.model.control.While:
robot.model.body.BodyItem robot.model.modelobject.ModelObject metaclass robot.result.model.While robot.running.model.While

Public Member Functions

def __init__ (self, condition=None, limit=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
 
 limit
 
 parent
 

Static Public Attributes

 body_class = Body
 
tuple repr_args = ('condition', 'limit')
 
 type = BodyItem.WHILE
 
- 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 = ()
 

Static Private Attributes

list __slots__ = ['condition', 'limit']
 

Additional Inherited Members

- Properties inherited from robot.model.body.BodyItem
 has_setup = property
 
 has_teardown = property
 
 id = property
 Item id in format like s1-t3-k1. More...
 

Detailed Description

Definition at line 62 of file control.py.

Constructor & Destructor Documentation

◆ __init__()

def robot.model.control.While.__init__ (   self,
  condition = None,
  limit = None,
  parent = None 
)

Definition at line 68 of file control.py.

Member Function Documentation

◆ __str__()

def robot.model.control.While.__str__ (   self)

Definition at line 81 of file control.py.

◆ body()

def robot.model.control.While.body (   self,
  body 
)

Reimplemented in robot.result.model.While.

Definition at line 75 of file control.py.

◆ visit()

def robot.model.control.While.visit (   self,
  visitor 
)

Definition at line 78 of file control.py.

Member Data Documentation

◆ __slots__

list robot.model.control.While.__slots__ = ['condition', 'limit']
staticprivate

Definition at line 66 of file control.py.

◆ body

robot.model.control.While.body

Definition at line 72 of file control.py.

◆ body_class

robot.model.control.While.body_class = Body
static

Definition at line 64 of file control.py.

◆ condition

robot.model.control.While.condition

Definition at line 69 of file control.py.

◆ limit

robot.model.control.While.limit

Definition at line 70 of file control.py.

◆ parent

robot.model.control.While.parent

Definition at line 71 of file control.py.

◆ repr_args

tuple robot.model.control.While.repr_args = ('condition', 'limit')
static

Definition at line 65 of file control.py.

◆ type

robot.model.control.While.type = BodyItem.WHILE
static

Definition at line 63 of file control.py.


The documentation for this class was generated from the following file: