:py:mod:`raesl.compile.machine_files.comments` ============================================== .. py:module:: raesl.compile.machine_files.comments .. autoapi-nested-parse:: Line matcher state machines for comments. Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: raesl.compile.machine_files.comments._process_comment_header raesl.compile.machine_files.comments._process_comment_name Attributes ~~~~~~~~~~ .. autoapisummary:: raesl.compile.machine_files.comments._COMMENT_HEADER_SPEC raesl.compile.machine_files.comments._COMMENT_LINE_SPEC raesl.compile.machine_files.comments.MACHINES .. py:data:: _COMMENT_HEADER_SPEC :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ comment_header: start initial; start -> s1 [COMMENT_KW] tag=comment; end accept=comment_header; s1 -> end [NL_TK]; s1 -> end [EOF_TK]; """ .. raw:: html
.. py:function:: _process_comment_header(tags: raesl.compile.machine_files.typing.TokensDict, _accept: str, builder: raesl.compile.typechecking.ast_builder.AstBuilder) -> None .. py:data:: _COMMENT_LINE_SPEC :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ comment_line: start initial; start -> s1 [DOTTEDNAME] tag=name; end accept=comment_name; s1 -> end [NL_TK]; s1 -> end [EOF_TK]; """ .. raw:: html
.. py:function:: _process_comment_name(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: [('COMMENT_HEADER_MACHINE',), ('COMMENT_LINE_MACHINE',)]