Robot Framework
robot.parsing.lexer.context.FileContext Class Reference
Inheritance diagram for robot.parsing.lexer.context.FileContext:
robot.parsing.lexer.context.LexingContext robot.parsing.lexer.context.InitFileContext robot.parsing.lexer.context.ResourceFileContext robot.parsing.lexer.context.TestCaseFileContext

Public Member Functions

def __init__ (self, settings=None, lang=None)
 
def add_language (self, lang)
 
def comment_section (self, statement)
 
def keyword_context (self)
 
def keyword_section (self, statement)
 
def lex_invalid_section (self, statement)
 
def setting_section (self, statement)
 
def task_section (self, statement)
 
def test_case_section (self, statement)
 
def variable_section (self, statement)
 
- Public Member Functions inherited from robot.parsing.lexer.context.LexingContext
def lex_setting (self, statement)
 

Private Member Functions

def _get_invalid_section_error (self, header)
 
def _handles_section (self, statement, header)
 
def _normalize (self, marker)
 

Additional Inherited Members

- Public Attributes inherited from robot.parsing.lexer.context.LexingContext
 languages
 
 settings
 
- Static Public Attributes inherited from robot.parsing.lexer.context.LexingContext
 settings_class = None
 

Detailed Description

Definition at line 39 of file context.py.

Constructor & Destructor Documentation

◆ __init__()

def robot.parsing.lexer.context.FileContext.__init__ (   self,
  settings = None,
  lang = None 
)

Reimplemented from robot.parsing.lexer.context.LexingContext.

Definition at line 41 of file context.py.

Member Function Documentation

◆ _get_invalid_section_error()

def robot.parsing.lexer.context.FileContext._get_invalid_section_error (   self,
  header 
)
private

◆ _handles_section()

def robot.parsing.lexer.context.FileContext._handles_section (   self,
  statement,
  header 
)
private

Definition at line 77 of file context.py.

◆ _normalize()

def robot.parsing.lexer.context.FileContext._normalize (   self,
  marker 
)
private

Definition at line 82 of file context.py.

◆ add_language()

def robot.parsing.lexer.context.FileContext.add_language (   self,
  lang 
)

Definition at line 44 of file context.py.

◆ comment_section()

def robot.parsing.lexer.context.FileContext.comment_section (   self,
  statement 
)

Definition at line 65 of file context.py.

◆ keyword_context()

def robot.parsing.lexer.context.FileContext.keyword_context (   self)

Definition at line 47 of file context.py.

◆ keyword_section()

def robot.parsing.lexer.context.FileContext.keyword_section (   self,
  statement 
)

Definition at line 62 of file context.py.

◆ lex_invalid_section()

def robot.parsing.lexer.context.FileContext.lex_invalid_section (   self,
  statement 
)

Definition at line 68 of file context.py.

◆ setting_section()

def robot.parsing.lexer.context.FileContext.setting_section (   self,
  statement 
)

Definition at line 50 of file context.py.

◆ task_section()

def robot.parsing.lexer.context.FileContext.task_section (   self,
  statement 
)

Reimplemented in robot.parsing.lexer.context.TestCaseFileContext.

Definition at line 59 of file context.py.

◆ test_case_section()

def robot.parsing.lexer.context.FileContext.test_case_section (   self,
  statement 
)

Reimplemented in robot.parsing.lexer.context.TestCaseFileContext.

Definition at line 56 of file context.py.

◆ variable_section()

def robot.parsing.lexer.context.FileContext.variable_section (   self,
  statement 
)

Definition at line 53 of file context.py.


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