Robot Framework
robot.parsing.model.statements.WhileHeader Class Reference
Inheritance diagram for robot.parsing.model.statements.WhileHeader:
robot.parsing.model.statements.Statement

Public Member Functions

def from_params (cls, condition, limit=None, indent=FOUR_SPACES, separator=FOUR_SPACES, eol=EOL)
 
def validate (self, context)
 
- Public Member Functions inherited from robot.parsing.model.statements.Statement
def __getitem__ (self, item)
 
def __init__ (self, tokens, errors=())
 
def __iter__ (self)
 
def __len__ (self)
 
def __repr__ (self)
 
def from_params (cls, *args, **kwargs)
 Create statement from passed parameters. More...
 
def from_tokens (cls, tokens)
 
def get_token (self, *types)
 Return a token with the given type. More...
 
def get_tokens (self, *types)
 Return tokens having any of the given types. More...
 
def get_value (self, type, default=None)
 Return value of a token with the given type. More...
 
def get_values (self, *types)
 Return values of tokens having any of the given types. More...
 
def register (cls, subcls)
 

Static Public Attributes

 type = Token.WHILE
 
- Static Public Attributes inherited from robot.parsing.model.statements.Statement
tuple handles_types = ()
 
 type = None
 

Properties

 condition = property
 
 limit = property
 
- Properties inherited from robot.parsing.model.statements.Statement
 col_offset = property
 
 data_tokens = property
 
 end_col_offset = property
 
 end_lineno = property
 
 lineno = property
 
 lines = property
 

Private Member Functions

def condition (self)
 
def limit (self)
 

Additional Inherited Members

- Public Attributes inherited from robot.parsing.model.statements.Statement
 errors
 
 tokens
 

Detailed Description

Definition at line 1056 of file statements.py.

Member Function Documentation

◆ condition()

def robot.parsing.model.statements.WhileHeader.condition (   self)
private

Definition at line 1075 of file statements.py.

◆ from_params()

def robot.parsing.model.statements.WhileHeader.from_params (   cls,
  condition,
  limit = None,
  indent = FOUR_SPACES,
  separator = FOUR_SPACES,
  eol = EOL 
)

Definition at line 1060 of file statements.py.

◆ limit()

def robot.parsing.model.statements.WhileHeader.limit (   self)
private

Definition at line 1081 of file statements.py.

◆ validate()

def robot.parsing.model.statements.WhileHeader.validate (   self,
  context 
)

Reimplemented from robot.parsing.model.statements.Statement.

Definition at line 1085 of file statements.py.

Member Data Documentation

◆ type

robot.parsing.model.statements.WhileHeader.type = Token.WHILE
static

Definition at line 1057 of file statements.py.

Property Documentation

◆ condition

robot.parsing.model.statements.WhileHeader.condition = property
static

Definition at line 1073 of file statements.py.

◆ limit

robot.parsing.model.statements.WhileHeader.limit = property
static

Definition at line 1079 of file statements.py.


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