PipelineOptions
- class PipelineOptions
Description
Options for
Pipelineconstruction.Inheritance:
Members defined in
PipelineOptions(5 members)RWStandard library cache used to resolve elements for semantic constraints.
RWIndex used to check access to globally accessible names.
RWLint options for the validation stage.
RWIndex used to resolve globally accessible names.
Constructor for pipeline options.
Attributes
- property lib: syside.Stdlib
Standard library cache used to resolve elements for semantic constraints.
Note that the accessible elements must either be in the set of documents that are scheduled, or be accessible through the
static_index. Missing elements will result in incomplete semantic constraints and a lot of errors being reported.
- property library_index: syside.LibraryIndex
Index used to check access to globally accessible names.
While names will be picked up from
static_index, thislibrary_indexwill be used to skip names that are not direct dependencies on the active project.
- property lint: syside.conf.Lint | None
Lint options for the validation stage.
- property static_index: syside.StaticIndex
Index used to resolve globally accessible names.
Names in the index will only be used if the name resolution fails to resolve a name in any ancestor scopes, including inherited and imported names.
Methods
- __init__(static_index: syside.StaticIndex | None = None, lib: syside.Stdlib | None = None, library_index: syside.LibraryIndex | None = None, lint: syside.conf.Lint | None = None) None
Constructor for pipeline options.
static_indexandlibare optional, and empty containers will be constructed if not provided. On each run, the pipeline will update the boundstatic_indexandlibon every execution.library_indexis required to check dependent name accessibility in the global namespace during name resolution.lintcontrols the options passed to the validation stage.
Used by