blark.transform.ExtendedSourceCode
- class blark.transform.ExtendedSourceCode(items: List[DataTypeDeclaration | Function | FunctionBlock | Action | Method | Program | Property | GlobalVariableDeclarations | StatementList], filename: Path | None = None, raw_source: str | None = None, line_map: Dict[int, int] | None = None, meta: Meta | None = None)[source]
Bases:
SourceCodeTop-level source code item - extended to include the possibility of standalone implementation details (i.e., statement lists).
See also
SourceCodeItemStatementList
Methods
__init__(items[, filename, raw_source, ...])Attributes
filenameline_mapmetaraw_source- items: List[DataTypeDeclaration | Function | FunctionBlock | Action | Method | Program | Property | GlobalVariableDeclarations | StatementList]