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).

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.

block_header

meta

items

block_header: ClassVar[str] = 'VAR_ACCESS'
items: List[AccessDeclaration]
meta: Meta | None = None
static from_lark(*items: AccessDeclaration) AccessDeclarations[source]
__init__(items: List[AccessDeclaration], meta: Meta | None = None) None