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

Static Public Attributes

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

Properties

 errors = property
 Errors got from the underlying ERROR and FATAL_ERROR tokens. More...
 
- 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 errors (self)
 
def errors (self, errors)
 

Private Attributes

 _errors
 

Static Private Attributes

tuple _errors
 

Additional Inherited Members

- 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)
 
def validate (self, context)
 
- Public Attributes inherited from robot.parsing.model.statements.Statement
 errors
 
 tokens
 

Detailed Description

Definition at line 1176 of file statements.py.

Member Function Documentation

◆ errors() [1/2]

def robot.parsing.model.statements.Error.errors (   self)
private

Definition at line 1192 of file statements.py.

◆ errors() [2/2]

def robot.parsing.model.statements.Error.errors (   self,
  errors 
)
private

Definition at line 1198 of file statements.py.

Member Data Documentation

◆ _errors [1/2]

robot.parsing.model.statements.Error._errors
staticprivate

Definition at line 1182 of file statements.py.

◆ _errors [2/2]

robot.parsing.model.statements.Error._errors
private

Definition at line 1199 of file statements.py.

◆ handles_types

tuple robot.parsing.model.statements.Error.handles_types = (Token.ERROR, Token.FATAL_ERROR)
static

Definition at line 1178 of file statements.py.

◆ type

robot.parsing.model.statements.Error.type = Token.ERROR
static

Definition at line 1177 of file statements.py.

Property Documentation

◆ errors

robot.parsing.model.statements.Error.errors = property
static

Errors got from the underlying ERROR and FATAL_ERROR tokens.

    Errors can be set also explicitly. When accessing errors, they are returned
    along with errors got from tokens.

Definition at line 1190 of file statements.py.


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