:py:mod:`raesl.compile.machine_files.component_instances` ========================================================= .. py:module:: raesl.compile.machine_files.component_instances .. autoapi-nested-parse:: Line matchers for component instances within world or a component definition. Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: raesl.compile.machine_files.component_instances._process_component_header raesl.compile.machine_files.component_instances._process_instance_no_args raesl.compile.machine_files.component_instances._process_instance_with_args raesl.compile.machine_files.component_instances._process_instance_arguments Attributes ~~~~~~~~~~ .. autoapisummary:: raesl.compile.machine_files.component_instances._COMPONENT_HEADER_SPEC raesl.compile.machine_files.component_instances._COMPONENT_INSTANCE_NO_ARGS_SPEC raesl.compile.machine_files.component_instances._COMPONENT_INSTANCE_WITH_ARGS_SPEC raesl.compile.machine_files.component_instances.MACHINES .. py:data:: _COMPONENT_HEADER_SPEC :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ component_header: start initial; start -> s1 [COMPONENT_KW] tag=component; end accept=component_header; s1 -> end [NL_TK]; s1 -> end [EOF_TK]; """ .. raw:: html
.. py:function:: _process_component_header(tags: raesl.compile.machine_files.typing.TokensDict, _accept: str, builder: raesl.compile.typechecking.ast_builder.AstBuilder) -> None .. py:data:: _COMPONENT_INSTANCE_NO_ARGS_SPEC :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ component_instance: start initial; start -> s1 [NAME] tag=component_instance; s1 -> s2 [IS_KW]; s2 -> s3 [A_KW]; s3 -> s4 [NAME] tag=component_def; end accept=component_instance_no_arguments; s4 -> end [NL_TK]; s4 -> end [EOF_TK]; """ .. raw:: html
.. py:function:: _process_instance_no_args(tags: raesl.compile.machine_files.typing.TokensDict, _accept: str, builder: raesl.compile.typechecking.ast_builder.AstBuilder) -> None .. py:data:: _COMPONENT_INSTANCE_WITH_ARGS_SPEC :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ component_instance: start initial; start -> s1 [NAME] tag=component_instance; s1 -> s2 [IS_KW]; s2 -> s3 [A_KW]; s3 -> s4 [NAME] tag=component_def; s4 -> s5 [WITH_KW]; s5 -> s6 [ARGUMENT_KW]; end accept=component_instance_with_arguments; s6 -> end [NL_TK]; """ .. raw:: html
.. py:function:: _process_instance_with_args(tags: raesl.compile.machine_files.typing.TokensDict, _accept: str, builder: raesl.compile.typechecking.ast_builder.AstBuilder) -> None .. py:function:: _process_instance_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: [('COMPONENT_HEADER_MACHINE',), ('COMPONENT_INSTANCE_NO_ARGS_MACHINE',),...