kr.motd.maven.sphinx.dist.pygments.lexers.modula2$py.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphinx-maven-plugin Show documentation
Show all versions of sphinx-maven-plugin Show documentation
Maven plugin that creates the site with Sphinx
???? 1: f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; __doc__ ?
pygments.lexers.modula2
~~~~~~~~~~~~~~~~~~~~~~~
Multi-Dialect Lexer for Modula-2.
:copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
org/python/core/PyString fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString;
org/python/core/PyFrame
setglobal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline (I)V
re org/python/core/imp importOne H(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject;
setlocal
pygments.lexer " java/lang/String $
RegexLexer & include (
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject; * +
,
pygments.util . get_bool_opt 0 get_list_opt 2 pygments.token 4 Text 6 Comment 8 Operator : Keyword < Name > String @ Number B Punctuation D Error F org/python/core/PyList H org/python/core/PyObject J Modula2Lexer L ([Lorg/python/core/PyObject;)V N O
I P __all__ R getname .(Ljava/lang/String;)Lorg/python/core/PyObject; T U
V Modula2Lexer$1
__module__ Y __name__ [?
For `Modula-2 `_ source code.
The Modula-2 lexer supports several dialects. By default, it operates in
fallback mode, recognising the *combined* literals, punctuation symbols
and operators of all supported dialects, and the *combined* reserved words
and builtins of PIM Modula-2, ISO Modula-2 and Modula-2 R10, while not
differentiating between library defined identifiers.
To select a specific dialect, a dialect option may be passed
or a dialect tag may be embedded into a source file.
Dialect Options:
`m2pim`
Select PIM Modula-2 dialect.
`m2iso`
Select ISO Modula-2 dialect.
`m2r10`
Select Modula-2 R10 dialect.
`objm2`
Select Objective Modula-2 dialect.
The PIM and ISO dialect options may be qualified with a language extension.
Language Extensions:
`+aglet`
Select Aglet Modula-2 extensions, available with m2iso.
`+gm2`
Select GNU Modula-2 extensions, available with m2pim.
`+p1`
Select p1 Modula-2 extensions, available with m2iso.
`+xds`
Select XDS Modula-2 extensions, available with m2iso.
Passing a Dialect Option via Unix Commandline Interface
Dialect options may be passed to the lexer using the `dialect` key.
Only one such option should be passed. If multiple dialect options are
passed, the first valid option is used, any subsequent options are ignored.
Examples:
`$ pygmentize -O full,dialect=m2iso -f html -o /path/to/output /path/to/input`
Use ISO dialect to render input to HTML output
`$ pygmentize -O full,dialect=m2iso+p1 -f rtf -o /path/to/output /path/to/input`
Use ISO dialect with p1 extensions to render input to RTF output
Embedding a Dialect Option within a source file
A dialect option may be embedded in a source file in form of a dialect
tag, a specially formatted comment that specifies a dialect option.
Dialect Tag EBNF::
dialectTag :
OpeningCommentDelim Prefix dialectOption ClosingCommentDelim ;
dialectOption :
'm2pim' | 'm2iso' | 'm2r10' | 'objm2' |
'm2iso+aglet' | 'm2pim+gm2' | 'm2iso+p1' | 'm2iso+xds' ;
Prefix : '!' ;
OpeningCommentDelim : '(*' ;
ClosingCommentDelim : '*)' ;
No whitespace is permitted between the tokens of a dialect tag.
In the event that a source file contains multiple dialect tags, the first
tag that contains a valid dialect option will be used and any subsequent
dialect tags will be ignored. Ideally, a dialect tag should be placed
at the beginning of a source file.
An embedded dialect tag overrides a dialect option set via command line.
Examples:
``(*!m2r10*) DEFINITION MODULE Foobar; ...``
Use Modula2 R10 dialect to render this source file.
``(*!m2pim+gm2*) DEFINITION MODULE Bazbam; ...``
Use PIM dialect with GNU extensions to render this source file.
Algol Publication Mode:
In Algol publication mode, source text is rendered for publication of
algorithms in scientific papers and academic texts, following the format
of the Revised Algol-60 Language Report. It is activated by passing
one of two corresponding styles as an option:
`algol`
render reserved words lowercase underline boldface
and builtins lowercase boldface italic
`algol_nu`
render reserved words lowercase boldface (no underlining)
and builtins lowercase boldface italic
The lexer automatically performs the required lowercase conversion when
this mode is activated.
Example:
``$ pygmentize -O full,style=algol -f latex -o /path/to/output /path/to/input``
Render input file in Algol publication mode to LaTeX output.
Rendering Mode of First Class ADT Identifiers:
The rendering of standard library first class ADT identifiers is controlled
by option flag "treat_stdlib_adts_as_builtins".
When this option is turned on, standard library ADT identifiers are rendered
as builtins. When it is turned off, they are rendered as ordinary library
identifiers.
`treat_stdlib_adts_as_builtins` (default: On)
The option is useful for dialects that support ADTs as first class objects
and provide ADTs in the standard library that would otherwise be built-in.
At present, only Modula-2 R10 supports library ADTs as first class objects
and therefore, no ADT identifiers are defined for any other dialects.
Example:
``$ pygmentize -O full,dialect=m2r10,treat_stdlib_adts_as_builtins=Off ...``
Render standard library ADTs as ordinary library types.
.. versionadded:: 1.3
.. versionchanged:: 2.1
Added multi-dialect support.
] Modula-2 _ name a modula2 c m2 e aliases g *.def i *.mod k filenames m text/x-modula2 o mimetypes q MULTILINE s __getattr__ u U
K v DOTALL x _or 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; z {
K | flags ~ org/python/core/PyDictionary ?
whitespace ? org/python/core/PyTuple ? \n+ ?
? P \s+ ? dialecttags ? \(\*!m2pim\*\) ? Special ? \(\*!m2iso\*\) ? \(\*!m2r10\*\) ? \(\*!objm2\*\) ? \(\*!m2iso\+aglet\*\) ? \(\*!m2pim\+gm2\*\) ? \(\*!m2iso\+p1\*\) ? \(\*!m2iso\+xds\*\) ? identifiers ? ([a-zA-Z_$][\w$]*) ? prefixed_number_literals ? 0b[01]+(\'[01]+)* ? Bin ? 0[ux][0-9A-F]+(\'[0-9A-F]+)* ? Hex ? plain_number_literals ? >[0-9]+(\'[0-9]+)*\.[0-9]+(\'[0-9]+)*[eE][+-]?[0-9]+(\'[0-9]+)* ? Float ? $[0-9]+(\'[0-9]+)*\.[0-9]+(\'[0-9]+)* ? [0-9]+(\'[0-9]+)* ? Integer ? suffixed_number_literals ? [0-7]+B ? Oct ? [0-7]+C ?
[0-9A-F]+H ? string_literals ? '(\\\\|\\'|[^'])*' ? "(\\\\|\\"|[^"])*" ? digraph_operators ? \*\. ? \+> ? <> ? <= ? >= ? == ? :: ? := ? \+\+ ? -- ? unigraph_operators ? [+-] ? [*/] ? \\ ? [=#<>] ? \^ ? @ ? & ? ~ ? ` ? digraph_punctuation ? \.\. ? << ? >> ? -> ? \|# ? ## ? \|\* unigraph_punctuation [()\[\]{},.:;|] ! \? comments ^//.*?\n
Single \(\*([^$].*?)\*\) Multiline /\*(.*?)\*/ pragmas <\*.*?\*> Preproc
\(\*\$.*?\*\) root __call__ S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;!"
K#
? P tokens& AND( ARRAY* BEGIN, BY. CASE0 CONST2
DEFINITION4 DIV6 DO8 ELSE: ELSIF< END> EXIT@ FORB FROMD IFF IMPLEMENTATIONH IMPORTJ INL LOOPN MODP MODULER NOTT OFV ORX POINTERZ PROCEDURE\ RECORD^ REPEAT` RETURNb SETd THENf TOh TYPEj UNTILl VARn WHILEp common_reserved_wordsr ABSt BOOLEANv CARDINALx CHARz CHR| FALSE~ INTEGER? LONGINT? LONGREAL? MAX? MIN? NIL? ODD? ORD? REAL? TRUE? common_builtins? ADDRESS? BYTE? WORD? ADR? common_pseudo_builtins? $? %? ?? \? ++? *.? +>? |#? pim_lexemes_to_reject? EXPORT? QUALIFIED? WITH? pim_additional_reserved_words? BITSET? CAP? DEC? DISPOSE? EXCL? FLOAT? HALT? HIGH? INC? INCL? NEW? PROC? SIZE? TRUNC? VAL? pim_additional_builtins? SYSTEM? PROCESS? TSIZE?
NEWPROCESS? TRANSFER? pim_additional_pseudo_builtins? iso_lexemes_to_reject? EXCEPT? FINALLY? FORWARD? PACKEDSET? REM? RETRY? ABSTRACT? AS? CLASS? GUARD? INHERIT? OVERRIDE? READONLY REVEAL TRACED
UNSAFEGUARDED iso_additional_reserved_words CMPLX
COMPLEX IM INT
INTERRUPTIBLE LENGTH LFLOAT LONGCOMPLEX
PROTECTION RE UNINTERRUBTIBLE CREATE DESTROY" EMPTY$ ISMEMBER& SELF( iso_additional_builtins*
BITSPERLOC, LOCSPERBYTE. LOCSPERWORD0 LOC2 ADDADR4 SUBADR6 DIFADR8 MAKEADR: ROTATE< SHIFT> CAST@
COROUTINESB ATTACHD COROUTINEF CURRENTH DETACHJ HANDLERL INTERRUPTSOURCEN
IOTRANSFERP
IsATTACHEDR LISTENT NEWCOROUTINEV PROTX
EXCEPTIONSZ AllocateSource\
CurrentNumber^ ExceptionNumber` ExceptionSourceb
GetMessaged IsCurrentSourcef IsExceptionalExecutionh RAISEj TERMINATIONl
IsTerminatingn HasHaltedp M2EXCEPTIONr M2Exceptionst M2Exceptionv
IsM2Exceptionx indexExceptionz rangeException| caseSelectException~ invalidLocation? functionException? wholeValueException? wholeDivException? realValueException? realDivException? complexValueException? complexDivException?
protException? sysException? coException? exException? iso_additional_pseudo_builtins? m2r10_lexemes_to_reject? ALIAS? ARGLIST? BLUEPRINT? COPY? GENLIB?
INDETERMINATE? NONE? OPAQUE? REFERENTIAL? RELEASE? RETAIN? ASM? REG? m2r10_additional_reserved_words? COUNT? EXISTS? INSERT? LONGCARD? OCTET? PTR? PRED? READ? READNEW? REMOVE? RETRIEVE? SORT? STORE? SUBSET? SUCC? TLIMIT? TMAX? TMIN? UNICHAR? WRITE? WRITEF? m2r10_additional_builtins? TPROPERTIES? PROPERTY? LITERAL? TPROPERTY? TLITERAL? TBUILTIN? TDYN? TREFC? TNIL? TBASE?
TPRECISION? TMAXEXP? TMINEXP?
CONVERSION? TSXFSIZE SXF UNSAFE INTRINSIC AVAIL ADD
SUB ADDC SUBC FETCHADD FETCHSUB SHL SHR ASHR ROTL ROTR ROTLC ROTRC" BWNOT$ BWAND& BWOR( BWXOR* BWNAND, BWNOR. SETBIT0 TESTBIT2 LSBIT4 MSBIT6 CSBITS8 BAIL: TODO< FFI> ADDR@ VARGLISTB VARGCD ATOMICF SWAPH CASJ COMPILERL DEBUGN MODNAMEP PROCNAMER LINENUMT DEFAULTV HASHX ASSEMBLERZ REGISTER\ SETREG^ GETREG` CODEb m2r10_additional_pseudo_builtinsd objm2_lexemes_to_rejectf BYCOPYh BYREFj CONTINUEl CRITICALn INOUTp METHODr ONt OPTIONALv OUTx PRIVATEz PROTECTED| PROTOCOL~ PUBLIC? SUPER? TRY? objm2_additional_reserved_words? OBJECT? NO? YES? objm2_additional_builtins? org/python/core/Py? EmptyObjects [Lorg/python/core/PyObject;?? ?? objm2_additional_pseudo_builtins? aglet_additional_reserved_words? BITSET8? BITSET16? BITSET32? CARDINAL8?
CARDINAL16?
CARDINAL32? INTEGER8? INTEGER16? INTEGER32? aglet_additional_builtins? aglet_additional_pseudo_builtins?
__ATTRIBUTE__? __BUILTIN__?
__COLUMN__? __DATE__? __FILE__? __FUNCTION__? __LINE__?
__MODULE__? VOLATILE? gm2_additional_reserved_words?
CARDINAL64? COMPLEX32? COMPLEX64? COMPLEX96?
COMPLEX128? INTEGER64? REAL8? REAL16? REAL32? REAL96? REAL128? THROW? gm2_additional_builtins? gm2_additional_pseudo_builtins? p1_additional_reserved_words? p1_additional_builtins? BCD? p1_additional_pseudo_builtins? SEQ? xds_additional_reserved_words? ASH? ASSERT? DIFFADR_TYPE? ENTIER? INDEX? LEN? SHORTCARD? SHORTINT? xds_additional_builtins? BOOL8? BOOL16 BOOL32 CARD8 CARD16 CARD32 INT8
INT16 INT32 REF MOVE FILL GET PUT CC int unsigned size_t voidCOMPILER" OPTION$ EQUATION& xds_additional_pseudo_builtins( Terminal*
FileSystem, InOut. RealInOut0 MathLib02 Storage4 pim_stdlib_module_identifiers6 Flag8 FlagSet: Response< Command> Lock@
PermissionB
MediumTypeD FileF FileProcH
DirectoryProcJ FileCommandL DirectoryCommandN pim_stdlib_type_identifiersP ReadR BusyReadT ReadAgainV WriteX WriteStringZ WriteLn\ Create^ Lookup` Closeb Deleted Renamef SetReadh SetWritej SetModifyl SetOpenn Doiop SetPosr GetPost Lengthv Resetx Againz ReadWord| WriteWord~ ReadChar? WriteChar? CreateMedium? DeleteMedium?
AssignName? DeassignName?
ReadMedium? LookupMedium? OpenInput?
OpenOutput?
CloseInput? CloseOutput?
ReadString? ReadInt? ReadCard? ReadWrd? WriteInt? WriteCard? WriteOct? WriteHex? WriteWrd? ReadReal? WriteReal?
WriteFixPt? WriteRealOct? sqrt? exp? ln? sin? cos? arctan? entier? ALLOCATE?
DEALLOCATE? pim_stdlib_proc_identifiers? Done? termCH? in? out? pim_stdlib_var_identifiers? EOL? pim_stdlib_const_identifiers? iso_stdlib_module_identifiers? iso_stdlib_type_identifiers? iso_stdlib_proc_identifiers? iso_stdlib_var_identifiers? iso_stdlib_const_identifiers? LONGBCD? SHORTBITSET?
LONGBITSET? LONGLONGBITSET? LONGLONGCARD? LONGLONGINT? POSINT? SHORTPOSINT?
LONGPOSINT? LONGLONGPOSINT? BITSET64? BITSET128? BS8? BS16? BS32? BS64? BS128? CARDINAL128 CARD64 CARD128
INTEGER128 INT64 INT128
STRING UNISTRING m2r10_stdlib_adt_identifiers ProtoRoot ProtoComputational ProtoNumeric ProtoScalar ProtoNonScalar
ProtoCardinal ProtoInteger ProtoReal ProtoComplex" ProtoVector$
ProtoTuple& ProtoCompArray( ProtoCollection* ProtoStaticArray, ProtoStaticSet. ProtoStaticString0
ProtoArray2 ProtoString4 ProtoSet6
ProtoMultiSet8 ProtoDictionary: ProtoMultiDict< ProtoExtension> ProtoIO@
ProtoCardMathB ProtoIntMathD
ProtoRealMathF "m2r10_stdlib_blueprint_identifiersH ASCIIJ BooleanIOL CharION UnicharIOP OctetIOR
CardinalIOT
LongCardIOV IntegerIOX LongIntIOZ RealIO\
LongRealIO^ BCDIO` LongBCDIOb CardMathd LongCardMathf IntMathh LongIntMathj RealMathl LongRealMathn BCDMathp LongBCDMathr FileIOt IOSupportv m2r10_stdlib_module_identifiersx Statusz m2r10_stdlib_type_identifiers| m2r10_stdlib_proc_identifiers~ stdIn? stdOut? stdErr? m2r10_stdlib_var_identifiers? pi? tau? m2r10_stdlib_const_identifiers? unknown? m2pim? m2iso? m2r10? objm2? m2iso+aglet? m2pim+gm2? m2iso+p1? m2iso+xds? dialects? lexemes_to_reject_db? reserved_words_db? builtins_db? pseudo_builtins_db? stdlib_adts_db? stdlib_modules_db? stdlib_types_db? stdlib_procedures_db? stdlib_variables_db? stdlib_constants_db? org/python/core/PyFunction? f_globals Lorg/python/core/PyObject;?? ?
__init__$2 getglobal? U
? getlocal (I)Lorg/python/core/PyObject;??
? dialect? ?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;!?
K? (ILorg/python/core/PyObject;)V ?
? __iter__ ()Lorg/python/core/PyObject;??
K?
newInteger (I)Lorg/python/core/PyInteger;??
?? __getslice__ j(Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;??
K? _in? {
K? __nonzero__ ()Z??
K? set_dialect? __iternext__??
K? False? dialect_set_by_tag? __setattr__?
K? style? algol? algol_nu? True? algol_publication_mode? treat_stdlib_adts_as_builtins? __init__?
_callextra ~([Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;??
K? f_lasti I?? ? None? ? pygments/lexers/modula2$py Lorg/python/core/PyCode;? j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V N
?
set_dialect$3 _notin
{
K set 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;!
K __getitem__ {
K update
difference lexemes_to_reject reserved_words builtins pseudo_builtins" adts$ modules& types(
procedures* variables, constants. 0 get_dialect_from_dialect_tag$4 (*!3 *)5 len7 __neg__9?
K: _add<