janus.language.mumps.patterns#
Attributes#
Classes#
A pattern for matching MUMPS labeled blocks. |
Module Contents#
- janus.language.mumps.patterns.log#
- janus.language.mumps.patterns.MUMPS_COMMANDS = ['break', 'b', 'close', 'c', 'database', 'do', 'd', 'else', 'e', 'for', 'f', 'goto', 'g',...#
- janus.language.mumps.patterns.comment = '[\\t ]*;.*\\n'#
- janus.language.mumps.patterns.optional_inline_comment = Multiline-String#
Show Value
"""[ ]+(?:;.*)? |[ ]* """
- janus.language.mumps.patterns.label_start = '[^ \\t;$]'#
- janus.language.mumps.patterns.routine_start#
- janus.language.mumps.patterns.routine_end#
- class janus.language.mumps.patterns.MumpsLabeledBlockPattern#
A pattern for matching MUMPS labeled blocks.
- start#
A regular expression pattern that matches the label at the beginning of a MUMPS block (typically a routine).
- end#
A regular expression pattern that matches the end of a MUMPS block.
- type#
The type of the functional code block (‘module’, ‘function’, etc.).
- start: re.Pattern#
- end: re.Pattern#