:py:mod:`raesl.compile.machine_files.argument_list` =================================================== .. py:module:: raesl.compile.machine_files.argument_list .. autoapi-nested-parse:: Line matcher for argument lists. Note this file is imported from other machine files rather than providing argument list processing itself. Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: raesl.compile.machine_files.argument_list.process_argument_list_line Attributes ~~~~~~~~~~ .. autoapisummary:: raesl.compile.machine_files.argument_list.ARGUMENT_LINE_SPEC .. py:data:: ARGUMENT_LINE_SPEC :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ argument_line: start initial; start -> s1 [STAR_TK]; s1 -> s2 [DOTTEDNAME] tag=argument; s2 -> s1 [COMMA_TK]; end accept=argument_line; s2 -> end [NL_TK]; s2 -> end [EOF_TK]; """ .. raw:: html
.. py:function:: process_argument_list_line(tags: Dict[str, List[raesl.compile.scanner.Token]]) -> List[raesl.compile.scanner.Token] Extract the argument names from the collected tags.