:py:mod:`raesl.compile.machine_files.groups`
============================================
.. py:module:: raesl.compile.machine_files.groups
.. autoapi-nested-parse::
Line matching state machines for groups.
Module Contents
---------------
Functions
~~~~~~~~~
.. autoapisummary::
raesl.compile.machine_files.groups._process_vargroup_header
raesl.compile.machine_files.groups._process_new_vargroup
raesl.compile.machine_files.groups._process_arguments
Attributes
~~~~~~~~~~
.. autoapisummary::
raesl.compile.machine_files.groups._GROUP_SECTION_HEADER_SPEC
raesl.compile.machine_files.groups._GROUP_START_SPEC
raesl.compile.machine_files.groups.MACHINES
.. py:data:: _GROUP_SECTION_HEADER_SPEC
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""
group_section_header:
start initial;
start -> s1 [VARIABLE_GROUP_KW] tag=vargroup;
end accept=group_section_header;
s1 -> end [NL_TK];
s1 -> end [EOF_TK];
"""
.. raw:: html
.. py:function:: _process_vargroup_header(tags: raesl.compile.machine_files.typing.TokensDict, _accept: str, builder: raesl.compile.typechecking.ast_builder.AstBuilder) -> None
.. py:data:: _GROUP_START_SPEC
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""
group_start:
start initial;
start -> s1 [NAME] tag=group_name;
s1 -> s2 [IS_KW];
s2 -> s3 [A_KW];
s3 -> s4 [GROUP_KW];
s4 -> s5 [OF_KW];
end accept=group_start;
s5 -> end [NL_TK];
s5 -> end [EOF_TK];
"""
.. raw:: html
.. py:function:: _process_new_vargroup(tags: raesl.compile.machine_files.typing.TokensDict, _accept: str, builder: raesl.compile.typechecking.ast_builder.AstBuilder) -> None
.. py:function:: _process_arguments(tags: raesl.compile.machine_files.typing.TokensDict, _accept: str, builder: raesl.compile.typechecking.ast_builder.AstBuilder) -> None
.. py:data:: MACHINES
:type: raesl.compile.machine_files.typing.MachineTripletList
:value: [('GROUP_SECTION_HEADER_MACHINE',), ('GROUP_START_MACHINE',), ('GROUP_ARGUMENT_LINE_MACHINE',)]