![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| innerstring_rules (ttype) | |
| fstring_rules (ttype) | |
| analyse_text (text) | |
Public Member Functions inherited from pip._vendor.pygments.lexer.RegexLexer | |
| get_tokens_unprocessed (self, text, stack=('root',)) | |
Public Member Functions inherited from pip._vendor.pygments.lexer.Lexer | |
| __init__ (self, **options) | |
| __repr__ (self) | |
| add_filter (self, filter_, **options) | |
| get_tokens (self, text, unfiltered=False) | |
Public Member Functions inherited from pip._vendor.pygments.lexer.LexerMeta | |
| __new__ (mcs, name, bases, d) | |
Public Member Functions inherited from pip._vendor.pygments.lexer.RegexLexerMeta | |
| process_tokendef (cls, name, tokendefs=None) | |
| get_tokendefs (cls) | |
| __call__ (cls, *args, **kwds) | |
Static Public Attributes | |
| str | name = 'Python' |
| str | url = 'http://www.python.org' |
| list | aliases = ['python', 'py', 'sage', 'python3', 'py3'] |
| list | filenames |
| list | mimetypes |
| str | uni_name = "[%s][%s]*" % (uni.xid_start, uni.xid_continue) |
| dict | tokens |
Static Public Attributes inherited from pip._vendor.pygments.lexer.RegexLexer | |
| flags = re.MULTILINE | |
| dict | tokens = {} |
Static Public Attributes inherited from pip._vendor.pygments.lexer.Lexer | |
| name = None | |
| list | aliases = [] |
| list | filenames = [] |
| list | alias_filenames = [] |
| list | mimetypes = [] |
| int | priority = 0 |
| url = None | |
Additional Inherited Members | |
Public Attributes inherited from pip._vendor.pygments.lexer.Lexer | |
| options | |
| stripnl | |
| stripall | |
| ensurenl | |
| tabsize | |
| encoding | |
| filters | |
Protected Member Functions inherited from pip._vendor.pygments.lexer.RegexLexerMeta | |
| _process_regex (cls, regex, rflags, state) | |
| _process_token (cls, token) | |
| _process_new_state (cls, new_state, unprocessed, processed) | |
| _process_state (cls, unprocessed, processed, state) | |
Protected Attributes inherited from pip._vendor.pygments.lexer.RegexLexerMeta | |
| _all_tokens | |
| _tmpname | |
| _tokens | |
For Python source code (version 3.x). .. versionadded:: 0.10 .. versionchanged:: 2.5 This is now the default ``PythonLexer``. It is still available as the alias ``Python3Lexer``.
| pip._vendor.pygments.lexers.python.PythonLexer.analyse_text | ( | text | ) |
A static method which is called for lexer guessing. It should analyse the text and return a float in the range from ``0.0`` to ``1.0``. If it returns ``0.0``, the lexer will not be selected as the most probable one, if it returns ``1.0``, it will be selected immediately. This is used by `guess_lexer`. The `LexerMeta` metaclass automatically wraps this function so that it works like a static method (no ``self`` or ``cls`` parameter) and the return value is automatically converted to `float`. If the return value is an object that is boolean `False` it's the same as if the return values was ``0.0``.
Reimplemented from pip._vendor.pygments.lexer.Lexer.
Reimplemented in pip._vendor.pygments.lexers.python.NumPyLexer.
|
static |
|
static |