blark.transform.AccessDeclarations
- class blark.transform.AccessDeclarations(items: List[AccessDeclaration], meta: Meta | None = None)[source]
Bases:
VariableDeclarationBlock
A block of named, program access variable declarations (
VAR_ACCESS
).See also
Lark grammar
This class is used by the following grammar rules:
program_access_decls
program_access_decls: "VAR_ACCESS"i (program_access_decl ";"+)+ "END_VAR"i ";"*
Methods
__init__
(items[, meta])from_lark
(*items)Attributes
attribute_pragmas
Attribute pragmas associated with the variable declaration block.
- items: List[AccessDeclaration]
- static from_lark(*items: AccessDeclaration) AccessDeclarations [source]