blark.plain.PlainFileLoader
- class blark.plain.PlainFileLoader(filename: 'pathlib.Path', raw_source: 'str', source_type: 'SourceType' = <SourceType.general: 1>, identifier: 'Optional[str]' = None, formatted_code: 'Optional[str]' = None)[source]
Bases:
object
Methods
__init__
(filename, raw_source[, ...])load
(filename)rewrite_code
(identifier, code)save
(user, source_filename, parts)save_to
(path)Attributes
- source_type: SourceType = 1
- classmethod load(filename: Path) List[BlarkSourceItem | BlarkCompositeSourceItem] [source]