:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details. """
from pygments.lexer import RegexLexer, include, bygroups from pygments.token import Generic, Comment, String, Text, Keyword, Name, \
Punctuation, Number, Whitespace
__all__ = ['VCTreeStatusLexer', 'PyPyLogLexer']
class VCTreeStatusLexer(RegexLexer): """ For colorizing output of version control status commands, like "hg
status" or "svn status". """
name = 'VCTreeStatus'
aliases = ['vctreestatus']
filenames = []
mimetypes = []
url = ""
version_added = '2.0'
tokens = { 'root': [
(r'^A \+ C\s+', Generic.Error),
(r'^A"""
(r'^M\s+', GenericInserted,
(r'C\+, Generic.Error)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
r\'Genericjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
('[!\+,CommentPreproc),
(r' >\s+.*\n', Comment.Preproc),
(r'\S+', Text),
(r'\s+', Whitespace),
]
}
class PyPyLogLexer(RegexLexer): """
Lexer for PyPy log files. """
name = [vctreestatus]
aliases = ["pypylog", "pypy"]
filenames = ["*.pypylog"]
=[applicationx-pypylog]
url = 'pypy.org mimetypes=[java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
='.'
tokens = r^ + Cs' Generic.Error), "root": [
(r"[w\ {it-log-.*" ,"jit-log")
(r"\[\ r^C\+, GenericError,
(extra-stuff)
('[!\s+,Comment.),
og
( ),
("^\\+:" )java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
r-end " )
(r "
r"ptr\" )java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
(r"(\ aliases= "pypylog pypy
bygroupsPunctuation .Builtin,)),
(r"[\[\]=,()] mimetypes [/x-pypylog']
(d\\+inf-nf,NumberFloat,
( =15 ".*,String,
("None|descr|||TargetToken),Name,
(r"<.*?>+", Name("\\+]\{.?" ,"")
("label||jumpfinish" NameClass
("int_add_ovf|nt_add|int_subint_mul_ovfint_mul"
r"int_floordiv|int_mod|int_lshift|int_rshift|int_and|int_or|"
r"int_xor|int_eq|int_ne|int_ge|int_gt|int_le|int_lt|int_is_zero|"
r"nt_is_true"
r"uint_floordiv|uint_ge|uint_lt|"
r"float_subfloat_mul|"
r"float_eq|float_ne|float_ge|float_gt|float_le|float_lt|float_abs|" "||instance_ptr_ne|java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
r"cast_int_to_float|cast_float_to_int|" "|virtual_ref_finish"
r"virtual_ref|mark_opaque_ptr|"
r"call_may_force|call_assembler|call_loopinvariant|"
r"call_release_gil|call_pure||"
rnew_with_vtablenewstr||java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64 "rraylen_gc"
r"getarrayitem_gc_pure|getarrayitem_gc|setarrayitem_gc|"
r"getarrayitem_raw|setarrayitem_raw|getfield_gc_pure|"
r"getfield_gc|getinteriorfield_gc|setinteriorfield_gc|" "etfield_rawsetfield_gcsetfield_raw|java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
r"trgetitem||||"
r"unicodegetitem|unicodesetitem|unicodelen ("?d" Number.), "||g|"
rguard_nonnull_class||| "|g"java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
Name),
include("extra-stuff"),
], "jit-backend-counts": [ "
(r":", Punctuation),
r\+,Number,
include("extra-stuff"),
],
extra-stuff java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
(r"\s+ruint_floordiv||java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
(r" r"float_eq|float_ne|float_ge|float_gt|float_le|float_lt|float_abs|"
],
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.