class documentation

class ShExCLexer(RegexLexer):

View In Hierarchy

Lexer for ShExC shape expressions language syntax.
Constant BLANK​_NODE​_LABEL Undocumented
Constant EXPONENT Undocumented
Constant HEX Undocumented
Constant HEX​_GRP Undocumented
Constant IRIREF Undocumented
Constant PERCENT Undocumented
Constant PLX Undocumented
Constant PN​_CHARS Undocumented
Constant PN​_CHARS​_BASE Undocumented
Constant PN​_CHARS​_BASE​_GRP Undocumented
Constant PN​_CHARS​_GRP Undocumented
Constant PN​_CHARS​_U Undocumented
Constant PN​_CHARS​_U​_GRP Undocumented
Constant PN​_LOCAL Undocumented
Constant PN​_LOCAL​_ESC Undocumented
Constant PN​_LOCAL​_ESC​_CHARS Undocumented
Constant PN​_LOCAL​_ESC​_CHARS​_GRP Undocumented
Constant PN​_PREFIX Undocumented
Constant UCHAR Undocumented
Constant UCHAR​_NO​_BACKSLASH Undocumented
Class Variable aliases Undocumented
Class Variable filenames Undocumented
Class Variable mimetypes Undocumented
Class Variable name Undocumented
Class Variable tokens Undocumented

Inherited from RegexLexer:

Method get​_tokens​_unprocessed Split text into (tokentype, text) pairs.

Inherited from Lexer (via RegexLexer):

Method analyse​_text No summary
Method get​_tokens Return an iterable of (tokentype, value) pairs generated from text. If unfiltered is set to True, the filtering mechanism is bypassed even if filters are defined.
Class Variable alias​_filenames Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method add​_filter Add a new stream filter to this lexer.
Class Variable priority Undocumented
Instance Variable encoding Undocumented
Instance Variable ensurenl Undocumented
Instance Variable filters Undocumented
Instance Variable options Undocumented
Instance Variable stripall Undocumented
Instance Variable stripnl Undocumented
Instance Variable tabsize Undocumented
BLANK_NODE_LABEL =

Undocumented

Value
((((('_:[0-9'+PN_CHARS_U_GRP)+'](?:[')+PN_CHARS_GRP)+'.]*')+PN_CHARS)+')?'
EXPONENT: str =

Undocumented

Value
'[eE][+-]?\\d+'
HEX =

Undocumented

Value
('['+HEX_GRP)+']'
HEX_GRP: str =

Undocumented

Value
'0-9A-Fa-f'
IRIREF =

Undocumented

Value
('<(?:[^\\x00-\\x20<>"{}|^`\\\\]|'+UCHAR)+')*>'
PERCENT =

Undocumented

Value
('%'+HEX)+HEX
PLX =

Undocumented

Value
((('(?:'+PERCENT)+')|(?:')+PN_LOCAL_ESC)+')'
PN_CHARS =

Undocumented

Value
('['+PN_CHARS_GRP)+']'
PN_CHARS_BASE =

Undocumented

Value
('['+PN_CHARS_BASE_GRP)+']'
PN_CHARS_BASE_GRP: str =

Undocumented

Value
'a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�'
PN_CHARS_GRP =

Undocumented

Value
((((PN_CHARS_U_GRP+'\\-')+'0-9')+'·')+'̀-ͯ')+'‿-⁀'
PN_CHARS_U =

Undocumented

Value
('['+PN_CHARS_U_GRP)+']'
PN_CHARS_U_GRP =

Undocumented

Value
PN_CHARS_BASE_GRP+'_'
PN_LOCAL =

Undocumented

Value
((((((((((((('(?:['+PN_CHARS_U_GRP)+':0-9')+']|')+PLX)+')')+'(?:(?:[')+PN_CHARS_GRP)+'.:]|')+PLX)+')*(?:[')+PN_CHARS_GRP)+':]|')+PLX)+'))?'
PN_LOCAL_ESC =

Undocumented

Value
'\\\\'+PN_LOCAL_ESC_CHARS
PN_LOCAL_ESC_CHARS =

Undocumented

Value
('['+PN_LOCAL_ESC_CHARS_GRP)+']'
PN_LOCAL_ESC_CHARS_GRP: str =

Undocumented

Value
'_~.\\-!$&\'()*+,;=/?#@%'
PN_PREFIX =

Undocumented

Value
((((PN_CHARS_BASE+'(?:[')+PN_CHARS_GRP)+'.]*')+PN_CHARS)+')?'
UCHAR =

Undocumented

Value
'\\\\'+UCHAR_NO_BACKSLASH
UCHAR_NO_BACKSLASH =

Undocumented

Value
((('(?:u'+HEX)+'{4}|U')+HEX)+'{8})'
aliases: list[str] =

Undocumented

filenames: list[str] =

Undocumented

mimetypes: list[str] =

Undocumented

name: str =

Undocumented

tokens =

Undocumented