Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
myst_parser.parsers.options.TokenizeError Class Reference
Inheritance diagram for myst_parser.parsers.options.TokenizeError:
Inheritance graph
[legend]
Collaboration diagram for myst_parser.parsers.options.TokenizeError:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, str problem, Position problem_mark, str|None context=None, Position|None context_mark=None)
 
TokenizeError clone (self, int line_offset, int column_offset)
 
str __str__ (self)
 

Public Attributes

 context
 
 context_mark
 
 problem
 
 problem_mark
 

Constructor & Destructor Documentation

◆ __init__()

myst_parser.parsers.options.TokenizeError.__init__ (   self,
str  problem,
Position  problem_mark,
str | None   context = None,
Position | None   context_mark = None 
)
A YAML error with optional context.

:param problem: The problem encountered
:param problem_mark: The position of the problem
:param context: The context of the error, e.g. the parent being scanned
:param context_mark: The position of the context

Member Function Documentation

◆ clone()

TokenizeError myst_parser.parsers.options.TokenizeError.clone (   self,
int  line_offset,
int  column_offset 
)
Clone the error with the given line and column offsets.

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