raesl.compile.machine_files.argument_list#

Line matcher for argument lists.

Note this file is imported from other machine files rather than providing argument list processing itself.

Module Contents#

Functions#

process_argument_list_line(...)

Extract the argument names from the collected tags.

Attributes#

ARGUMENT_LINE_SPEC

raesl.compile.machine_files.argument_list.ARGUMENT_LINE_SPEC = Multiline-String#
Show Value
"""
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];
"""
raesl.compile.machine_files.argument_list.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.