Robot Framework
robot.output.console.highlighting.AnsiHighlighter Class Reference
Inheritance diagram for robot.output.console.highlighting.AnsiHighlighter:
robot.output.console.highlighting.NoHighlighting

Public Member Functions

def __init__ (self, stream)
 
def green (self)
 
def red (self)
 
def reset (self)
 
def yellow (self)
 

Private Member Functions

def _set_color (self, color)
 

Private Attributes

 _stream
 

Static Private Attributes

string _ANSI_GREEN
 
string _ANSI_RED
 
string _ANSI_RESET
 
string _ANSI_YELLOW
 

Detailed Description

Definition at line 121 of file highlighting.py.

Constructor & Destructor Documentation

◆ __init__()

def robot.output.console.highlighting.AnsiHighlighter.__init__ (   self,
  stream 
)

Definition at line 139 of file highlighting.py.

Member Function Documentation

◆ _set_color()

def robot.output.console.highlighting.AnsiHighlighter._set_color (   self,
  color 
)
private

Reimplemented in robot.output.console.highlighting.NoHighlighting.

Definition at line 154 of file highlighting.py.

◆ green()

def robot.output.console.highlighting.AnsiHighlighter.green (   self)

Definition at line 142 of file highlighting.py.

◆ red()

def robot.output.console.highlighting.AnsiHighlighter.red (   self)

Definition at line 145 of file highlighting.py.

◆ reset()

def robot.output.console.highlighting.AnsiHighlighter.reset (   self)

Definition at line 151 of file highlighting.py.

◆ yellow()

def robot.output.console.highlighting.AnsiHighlighter.yellow (   self)

Definition at line 148 of file highlighting.py.

Member Data Documentation

◆ _ANSI_GREEN

robot.output.console.highlighting.AnsiHighlighter._ANSI_GREEN
staticprivate

Definition at line 125 of file highlighting.py.

◆ _ANSI_RED

robot.output.console.highlighting.AnsiHighlighter._ANSI_RED
staticprivate

Definition at line 129 of file highlighting.py.

◆ _ANSI_RESET

robot.output.console.highlighting.AnsiHighlighter._ANSI_RESET
staticprivate

Definition at line 137 of file highlighting.py.

◆ _ANSI_YELLOW

robot.output.console.highlighting.AnsiHighlighter._ANSI_YELLOW
staticprivate

Definition at line 133 of file highlighting.py.

◆ _stream

robot.output.console.highlighting.AnsiHighlighter._stream
private

Definition at line 140 of file highlighting.py.


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