|
|
| context |
| |
|
| context_mark |
| |
|
| problem |
| |
|
| problem_mark |
| |
◆ __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
◆ 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:
- docs/help/help-venv/lib/python3.12/site-packages/myst_parser/parsers/options.py