Robot Framework
robot.running.bodyrunner.IfRunner Class Reference

Public Member Functions

def __init__ (self, context, run=True, templated=False)
 
def run (self, data)
 

Private Member Functions

def _dry_run_recursion_detection (self, data)
 
def _run_if_branch (self, branch, recursive_dry_run=False, syntax_error=None)
 
def _should_run_branch (self, branch, context, recursive_dry_run=False)
 

Private Attributes

 _context
 
 _run
 
 _templated
 

Static Private Attributes

list _dry_run_stack
 

Detailed Description

Definition at line 400 of file bodyrunner.py.

Constructor & Destructor Documentation

◆ __init__()

def robot.running.bodyrunner.IfRunner.__init__ (   self,
  context,
  run = True,
  templated = False 
)

Definition at line 406 of file bodyrunner.py.

Member Function Documentation

◆ _dry_run_recursion_detection()

def robot.running.bodyrunner.IfRunner._dry_run_recursion_detection (   self,
  data 
)
private

Definition at line 426 of file bodyrunner.py.

◆ _run_if_branch()

def robot.running.bodyrunner.IfRunner._run_if_branch (   self,
  branch,
  recursive_dry_run = False,
  syntax_error = None 
)
private

Definition at line 439 of file bodyrunner.py.

◆ _should_run_branch()

def robot.running.bodyrunner.IfRunner._should_run_branch (   self,
  branch,
  context,
  recursive_dry_run = False 
)
private

Definition at line 460 of file bodyrunner.py.

◆ run()

def robot.running.bodyrunner.IfRunner.run (   self,
  data 
)

Definition at line 411 of file bodyrunner.py.

Member Data Documentation

◆ _context

robot.running.bodyrunner.IfRunner._context
private

Definition at line 407 of file bodyrunner.py.

◆ _dry_run_stack

robot.running.bodyrunner.IfRunner._dry_run_stack
staticprivate

Definition at line 404 of file bodyrunner.py.

◆ _run

robot.running.bodyrunner.IfRunner._run
private

Definition at line 408 of file bodyrunner.py.

◆ _templated

robot.running.bodyrunner.IfRunner._templated
private

Definition at line 409 of file bodyrunner.py.


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