id int64 0 328k | repository_name stringlengths 7 58 | file_path stringlengths 9 302 | class_name stringlengths 5 256 | human_written_code stringlengths 16 2.16M | class_skeleton stringlengths 18 1.49M ⌀ | total_program_units int64 1 1.76k | total_doc_str int64 0 771 | AvgCountLine float64 0 7.89k | AvgCountLineBlank float64 0 297 | AvgCountLineCode float64 0 7.89k | AvgCountLineComment float64 0 7.89k | AvgCyclomatic float64 0 130 | CommentToCodeRatio float64 0 168 | CountClassBase float64 0 40 | CountClassCoupled float64 0 583 | CountClassCoupledModified float64 0 575 | CountClassDerived float64 0 5.35k | CountDeclInstanceMethod float64 0 529 | CountDeclInstanceVariable float64 0 296 | CountDeclMethod float64 0 599 | CountDeclMethodAll float64 0 1.12k | CountLine float64 1 40.4k | CountLineBlank float64 0 8.16k | CountLineCode float64 1 25.7k | CountLineCodeDecl float64 1 8.15k | CountLineCodeExe float64 0 24.2k | CountLineComment float64 0 16.5k | CountStmt float64 1 9.71k | CountStmtDecl float64 1 8.15k | CountStmtExe float64 0 9.69k | MaxCyclomatic float64 0 759 | MaxInheritanceTree float64 0 16 | MaxNesting float64 0 34 | SumCyclomatic float64 0 2.9k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
321,500 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.MakoHtmlLexer | from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class MakoHtmlLexer(DelegatingLexer):
"""
Subclass of the `MakoLexer` that highlights unlexed data
with the `HtmlLexer`.
"""
name = '... |
class MakoHtmlLexer(DelegatingLexer):
'''
Subclass of the `MakoLexer` that highlights unlexed data
with the `HtmlLexer`.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.5 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 14 | 2 | 8 | 7 | 6 | 4 | 8 | 7 | 6 | 1 | 5 | 0 | 1 |
321,501 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.MakoJavascriptLexer | from pygments.lexers.javascript import JavascriptLexer, LassoLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class MakoJavascriptLexer(DelegatingLexer):
"""
Subclass of the `MakoLexer` that highlights unlexed data
with the `JavascriptLe... |
class MakoJavascriptLexer(DelegatingLexer):
'''
Subclass of the `MakoLexer` that highlights unlexed data
with the `JavascriptLexer`.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.4 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 16 | 2 | 10 | 7 | 8 | 4 | 8 | 7 | 6 | 1 | 5 | 0 | 1 |
321,502 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.MakoLexer | from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
from pygments.lexers.python import PythonLexer
from pygments.token import Error, Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Other, Token
class MakoLexer(RegexLexer):
... |
class MakoLexer(RegexLexer):
'''
Generic mako templates lexer. Code that isn't Mako
markup is yielded as `Token.Other`.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.32 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 64 | 2 | 56 | 8 | 55 | 18 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,503 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.MakoXmlLexer | from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
from pygments.lexers.html import HtmlLexer, XmlLexer
class MakoXmlLexer(DelegatingLexer):
"""
Subclass of the `MakoLexer` that highlights unlexed data
with the `XmlLexer`.
"""
name = 'XM... |
class MakoXmlLexer(DelegatingLexer):
'''
Subclass of the `MakoLexer` that highlights unlexed data
with the `XmlLexer`.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.5 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 14 | 2 | 8 | 7 | 6 | 4 | 8 | 7 | 6 | 1 | 5 | 0 | 1 |
321,504 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.MasonLexer | from pygments.lexers.perl import PerlLexer
from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
from pygments.token import Error, Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Numb... |
class MasonLexer(RegexLexer):
'''
Generic mason templates lexer. Stolen from Myghty lexer. Code that isn't
Mason markup is HTML.
'''
def analyse_text(text):
pass | 2 | 1 | 7 | 0 | 7 | 0 | 3 | 0.27 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 52 | 2 | 44 | 10 | 42 | 12 | 14 | 10 | 12 | 3 | 5 | 1 | 3 |
321,505 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.MyghtyCssLexer | from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
from pygments.lexers.css import CssLexer
class MyghtyCssLexer(DelegatingLexer):
"""
Subclass of the `MyghtyLexer` that highlights unlexed data
with the `CssLexer`.
"""
name = 'CSS+Myghty... |
class MyghtyCssLexer(DelegatingLexer):
'''
Subclass of the `MyghtyLexer` that highlights unlexed data
with the `CssLexer`.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.5 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 14 | 2 | 8 | 7 | 6 | 4 | 8 | 7 | 6 | 1 | 5 | 0 | 1 |
321,506 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.MyghtyHtmlLexer | from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class MyghtyHtmlLexer(DelegatingLexer):
"""
Subclass of the `MyghtyLexer` that highlights unlexed data
with the `HtmlLexer`.
"""
name... |
class MyghtyHtmlLexer(DelegatingLexer):
'''
Subclass of the `MyghtyLexer` that highlights unlexed data
with the `HtmlLexer`.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.5 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 14 | 2 | 8 | 7 | 6 | 4 | 8 | 7 | 6 | 1 | 5 | 0 | 1 |
321,507 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.MyghtyJavascriptLexer | from pygments.lexers.javascript import JavascriptLexer, LassoLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class MyghtyJavascriptLexer(DelegatingLexer):
"""
Subclass of the `MyghtyLexer` that highlights unlexed data
with the `Javascri... |
class MyghtyJavascriptLexer(DelegatingLexer):
'''
Subclass of the `MyghtyLexer` that highlights unlexed data
with the `JavascriptLexer`.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.4 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 16 | 2 | 10 | 7 | 8 | 4 | 8 | 7 | 6 | 1 | 5 | 0 | 1 |
321,508 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.MyghtyLexer | from pygments.lexers.python import PythonLexer
from pygments.token import Error, Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Other, Token
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class MyghtyLexer(RegexLexer):
... |
class MyghtyLexer(RegexLexer):
'''
Generic myghty templates lexer. Code that isn't Myghty
markup is yielded as `Token.Other`.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.33 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 44 | 2 | 36 | 8 | 35 | 12 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,509 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.MyghtyXmlLexer | from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class MyghtyXmlLexer(DelegatingLexer):
"""
Subclass of the `MyghtyLexer` that highlights unlexed data
with the `XmlLexer`.
"""
name =... |
class MyghtyXmlLexer(DelegatingLexer):
'''
Subclass of the `MyghtyLexer` that highlights unlexed data
with the `XmlLexer`.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.5 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 14 | 2 | 8 | 7 | 6 | 4 | 8 | 7 | 6 | 1 | 5 | 0 | 1 |
321,510 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.RhtmlLexer | from pygments.util import html_doctype_matches, looks_like_xml
from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class RhtmlLexer(DelegatingLexer):
"""
Subclass of the ERB lexer that highlights t... |
class RhtmlLexer(DelegatingLexer):
'''
Subclass of the ERB lexer that highlights the unlexed data with the
html lexer.
Nested Javascript and CSS is highlighted too.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 4 | 0 | 4 | 1 | 2 | 0.4 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 26 | 5 | 15 | 11 | 12 | 6 | 15 | 11 | 12 | 2 | 5 | 1 | 3 |
321,511 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.SmartyLexer | import re
from pygments.lexers.php import PhpLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
from pygments.token import Error, Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Other, Token
class SmartyLexer(RegexLexe... |
class SmartyLexer(RegexLexer):
'''
Generic Smarty template lexer.
Just highlights smarty code between the preprocessor directives, other
data is left untouched by the lexer.
'''
def analyse_text(text):
pass | 2 | 1 | 11 | 0 | 11 | 0 | 5 | 0.17 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 56 | 5 | 46 | 11 | 44 | 8 | 20 | 11 | 18 | 5 | 5 | 1 | 5 |
321,512 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.SqlJinjaLexer | from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
import re
from pygments.lexers.sql import SqlLexer
class SqlJinjaLexer(DelegatingLexer):
"""
Templated SQL lexer.
"""
name = 'SQL+Jinja'
aliases = ['sql+jinja']
filenames = ['*.sql',... |
class SqlJinjaLexer(DelegatingLexer):
'''
Templated SQL lexer.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 7 | 0 | 6 | 2 | 3 | 0.35 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 26 | 3 | 17 | 9 | 14 | 6 | 17 | 9 | 14 | 4 | 5 | 1 | 5 |
321,513 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.SspLexer | from pygments.util import html_doctype_matches, looks_like_xml
import re
from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class SspLexer(DelegatingLexer):
"""
Lexer for Scalate Server Pages.
... |
class SspLexer(DelegatingLexer):
'''
Lexer for Scalate Server Pages.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 6 | 0 | 6 | 0 | 3 | 0.17 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 23 | 2 | 18 | 10 | 15 | 3 | 18 | 10 | 15 | 4 | 5 | 1 | 5 |
321,514 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.TeaTemplateLexer | from pygments.util import html_doctype_matches, looks_like_xml
from pygments.lexers.jvm import JavaLexer, TeaLangLexer
from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class TeaTemplateLexer(DelegatingL... |
class TeaTemplateLexer(DelegatingLexer):
'''
Lexer for Tea Templates.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 5 | 0 | 5 | 0 | 2 | 0.19 | 1 | 4 | 1 | 0 | 2 | 0 | 2 | 25 | 21 | 2 | 16 | 10 | 13 | 3 | 16 | 10 | 13 | 3 | 5 | 1 | 4 |
321,515 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.TeaTemplateRootLexer | from pygments.lexers.jvm import JavaLexer, TeaLangLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
from pygments.token import Error, Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Other, Token
class TeaTemplateRootL... |
class TeaTemplateRootLexer(RegexLexer):
'''
Base for the `TeaTemplateLexer`. Yields `Token.Other` for area outside of
code blocks.
.. versionadded:: 1.5
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.58 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 20 | 2 | 12 | 2 | 11 | 7 | 2 | 2 | 1 | 0 | 5 | 0 | 0 |
321,516 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.TwigHtmlLexer | from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class TwigHtmlLexer(DelegatingLexer):
"""
Subclass of the `TwigLexer` that highlights unlexed data with the
`HtmlLexer`.
"""
name = '... |
class TwigHtmlLexer(DelegatingLexer):
'''
Subclass of the `TwigLexer` that highlights unlexed data with the
`HtmlLexer`.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.44 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 15 | 2 | 9 | 8 | 7 | 4 | 9 | 8 | 7 | 1 | 5 | 0 | 1 |
321,517 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.TwigLexer | from pygments.token import Error, Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Other, Token
import re
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class TwigLexer(RegexLexer):
"""
Twig template lexer.
I... |
class TwigLexer(RegexLexer):
'''
Twig template lexer.
It just highlights Twig code between the preprocessor directives,
other data is left untouched by the lexer.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 81 | 5 | 66 | 12 | 65 | 13 | 12 | 12 | 11 | 0 | 5 | 0 | 0 |
321,518 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.VelocityHtmlLexer | from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class VelocityHtmlLexer(DelegatingLexer):
"""
Subclass of the `VelocityLexer` that highlights unlexed data
with the `HtmlLexer`.
"""
... |
class VelocityHtmlLexer(DelegatingLexer):
'''
Subclass of the `VelocityLexer` that highlights unlexed data
with the `HtmlLexer`.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.44 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 16 | 3 | 9 | 8 | 7 | 4 | 9 | 8 | 7 | 1 | 5 | 0 | 1 |
321,519 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.VelocityLexer | import re
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
from pygments.token import Error, Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Other, Token
class VelocityLexer(RegexLexer):
"""
Generic Velocity templa... |
class VelocityLexer(RegexLexer):
'''
Generic Velocity template lexer.
Just highlights velocity directives and variable references, other
data is left untouched by the lexer.
'''
def analyse_text(text):
pass | 2 | 1 | 12 | 0 | 12 | 3 | 5 | 0.32 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 82 | 6 | 71 | 11 | 69 | 23 | 20 | 11 | 18 | 5 | 5 | 1 | 5 |
321,520 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.VelocityXmlLexer | from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
from pygments.util import html_doctype_matches, looks_like_xml
from pygments.lexers.html import HtmlLexer, XmlLexer
class VelocityXmlLexer(DelegatingLexer):
"""
Subclass of the `VelocityLexer` that ... |
class VelocityXmlLexer(DelegatingLexer):
'''
Subclass of the `VelocityLexer` that highlights unlexed data
with the `XmlLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 4 | 0 | 4 | 0 | 2 | 0.29 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 22 | 4 | 14 | 10 | 11 | 4 | 14 | 10 | 11 | 2 | 5 | 1 | 3 |
321,521 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.XmlDjangoLexer | from pygments.util import html_doctype_matches, looks_like_xml
from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class XmlDjangoLexer(DelegatingLexer):
"""
Subclass of the `DjangoLexer` that high... |
class XmlDjangoLexer(DelegatingLexer):
'''
Subclass of the `DjangoLexer` that highlights unlexed data with the
`XmlLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 4 | 0 | 4 | 0 | 2 | 0.27 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 22 | 3 | 15 | 11 | 12 | 4 | 15 | 11 | 12 | 2 | 5 | 1 | 3 |
321,522 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.XmlErbLexer | from pygments.util import html_doctype_matches, looks_like_xml
from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class XmlErbLexer(DelegatingLexer):
"""
Subclass of `ErbLexer` which highlights da... |
class XmlErbLexer(DelegatingLexer):
'''
Subclass of `ErbLexer` which highlights data outside preprocessor
directives with the `XmlLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 4 | 0 | 4 | 0 | 2 | 0.29 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 21 | 3 | 14 | 10 | 11 | 4 | 14 | 10 | 11 | 2 | 5 | 1 | 3 |
321,523 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.XmlPhpLexer | from pygments.util import html_doctype_matches, looks_like_xml
from pygments.lexers.php import PhpLexer
from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class XmlPhpLexer(DelegatingLexer):
"""
S... |
class XmlPhpLexer(DelegatingLexer):
'''
Subclass of `PhpLexer` that highlights unhandled data with the `XmlLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 4 | 0 | 4 | 0 | 2 | 0.21 | 1 | 3 | 0 | 0 | 2 | 0 | 2 | 25 | 20 | 3 | 14 | 10 | 11 | 3 | 14 | 10 | 11 | 2 | 5 | 1 | 3 |
321,524 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.XmlSmartyLexer | from pygments.util import html_doctype_matches, looks_like_xml
from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class XmlSmartyLexer(DelegatingLexer):
"""
Subclass of the `SmartyLexer` that high... |
class XmlSmartyLexer(DelegatingLexer):
'''
Subclass of the `SmartyLexer` that highlights unlexed data with the
`XmlLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 4 | 0 | 4 | 0 | 2 | 0.29 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 21 | 3 | 14 | 10 | 11 | 4 | 14 | 10 | 11 | 2 | 5 | 1 | 3 |
321,525 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/templates.py | pygments.lexers.templates.YamlJinjaLexer | from pygments.lexers.data import YamlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class YamlJinjaLexer(DelegatingLexer):
"""
Subclass of the `DjangoLexer` that highlights unlexed data with the
`YamlLexer`.
Commonly used in Salts... |
class YamlJinjaLexer(DelegatingLexer):
'''
Subclass of the `DjangoLexer` that highlights unlexed data with the
`YamlLexer`.
Commonly used in Saltstack salt states.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.56 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 17 | 3 | 9 | 8 | 7 | 5 | 9 | 8 | 7 | 1 | 5 | 0 | 1 |
321,526 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/teraterm.py | pygments.lexers.teraterm.TeraTermLexer | from pygments.token import Text, Comment, Operator, Name, String, Number, Keyword, Error
import re
from pygments.lexer import RegexLexer, include, bygroups
class TeraTermLexer(RegexLexer):
"""
For Tera Term macro source code.
"""
name = 'Tera Term macro'
url = 'https://ttssh2.osdn.jp/'
aliases ... |
class TeraTermLexer(RegexLexer):
'''
For Tera Term macro source code.
'''
def analyse_text(text):
pass | 2 | 1 | 3 | 0 | 3 | 0 | 2 | 0.03 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 306 | 2 | 296 | 9 | 294 | 10 | 11 | 9 | 9 | 2 | 5 | 1 | 2 |
321,527 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/textedit.py | pygments.lexers.textedit.AwkLexer | from pygments.lexer import RegexLexer, bygroups, default, include, this, using
from pygments.token import Comment, Keyword, Name, Number, Operator, Punctuation, String, Text, Whitespace
class AwkLexer(RegexLexer):
"""
For Awk scripts.
"""
name = 'Awk'
aliases = ['awk', 'gawk', 'mawk', 'nawk']
f... |
class AwkLexer(RegexLexer):
'''
For Awk scripts.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 52 | 2 | 47 | 8 | 46 | 8 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,528 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/textedit.py | pygments.lexers.textedit.SedLexer | from pygments.lexer import RegexLexer, bygroups, default, include, this, using
from pygments.token import Comment, Keyword, Name, Number, Operator, Punctuation, String, Text, Whitespace
import re
class SedLexer(RegexLexer):
"""
Lexer for Sed script files.
"""
name = 'Sed'
aliases = ['sed', 'gsed', ... |
class SedLexer(RegexLexer):
'''
Lexer for Sed script files.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 36 | 2 | 30 | 10 | 29 | 5 | 10 | 10 | 9 | 0 | 5 | 0 | 0 |
321,529 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/textedit.py | pygments.lexers.textedit.VimLexer | import re
from pygments.lexer import RegexLexer, bygroups, default, include, this, using
from pygments.token import Comment, Keyword, Name, Number, Operator, Punctuation, String, Text, Whitespace
from pygments.lexers.python import PythonLexer
from bisect import bisect
class VimLexer(RegexLexer):
"""
Lexer for ... |
class VimLexer(RegexLexer):
'''
Lexer for VimL script files.
'''
def __init__(self, **options):
pass
def is_in(self, w, mapping):
'''
It's kind of difficult to decide if something might be a keyword
in VimL because it allows you to abbreviate them. In fact,
... | 4 | 2 | 15 | 1 | 10 | 4 | 3 | 0.35 | 1 | 0 | 0 | 0 | 3 | 3 | 3 | 32 | 93 | 12 | 63 | 19 | 58 | 22 | 32 | 19 | 27 | 5 | 5 | 3 | 10 |
321,530 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/textfmts.py | pygments.lexers.textfmts.GettextLexer | from pygments.lexer import RegexLexer, bygroups, default, include
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal, Punctuation
class GettextLexer(RegexLexer):
"""
Lexer for Gettext catalog files.
"""
name = 'Gettext Catalog'
aliases = ['pot', 'po'... |
class GettextLexer(RegexLexer):
'''
Lexer for Gettext catalog files.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.33 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 26 | 1 | 21 | 8 | 20 | 7 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,531 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/textfmts.py | pygments.lexers.textfmts.HttpLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal, Punctuation
from pygments.lexer import RegexLexer, bygroups, default, include
import re
from pygments.util import ClassNotFound
class HttpLexer(RegexLexer):
"""
Lexer for HTTP sessions.
"""
name = 'HTTP... |
class HttpLexer(RegexLexer):
'''
Lexer for HTTP sessions.
'''
def get_tokens_unprocessed(self, text, stack=('root',)):
'''Reset the content-type state.'''
pass
def header_callback(self, match):
pass
def continuous_header_callback(self, match):
pass
def co... | 6 | 2 | 10 | 0 | 10 | 1 | 2 | 0.08 | 1 | 1 | 0 | 0 | 5 | 1 | 5 | 34 | 90 | 9 | 75 | 23 | 68 | 6 | 48 | 23 | 41 | 6 | 5 | 4 | 12 |
321,532 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/textfmts.py | pygments.lexers.textfmts.IrcLogsLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal, Punctuation
from pygments.lexer import RegexLexer, bygroups, default, include
import re
class IrcLogsLexer(RegexLexer):
"""
Lexer for IRC logs in *irssi*, *xchat* or *weechat* style.
"""
name = 'IRC log... |
class IrcLogsLexer(RegexLexer):
'''
Lexer for IRC logs in *irssi*, *xchat* or *weechat* style.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.58 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 63 | 2 | 50 | 10 | 49 | 29 | 10 | 10 | 9 | 0 | 5 | 0 | 0 |
321,533 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/textfmts.py | pygments.lexers.textfmts.KernelLogLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal, Punctuation
from pygments.lexer import RegexLexer, bygroups, default, include
class KernelLogLexer(RegexLexer):
"""
For Linux Kernel log ("dmesg") output.
"""
name = 'Kernel log'
aliases = ['kmsg', ... |
class KernelLogLexer(RegexLexer):
'''
For Linux Kernel log ("dmesg") output.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.19 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 47 | 1 | 43 | 7 | 42 | 8 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,534 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/textfmts.py | pygments.lexers.textfmts.NotmuchLexer | from pygments.lexers import guess_lexer, get_lexer_by_name
from pygments.util import ClassNotFound
from pygments.lexer import RegexLexer, bygroups, default, include
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal, Punctuation
class NotmuchLexer(RegexLexer):
"""
... |
class NotmuchLexer(RegexLexer):
'''
For Notmuch email text format.
Additional options accepted:
`body_lexer`
If given, highlight the contents of the message body with the specified
lexer, else guess it according to the body content (default: ``None``).
'''
def _highligh... | 4 | 1 | 6 | 1 | 5 | 0 | 2 | 0.22 | 1 | 1 | 0 | 0 | 3 | 1 | 3 | 32 | 80 | 9 | 64 | 12 | 60 | 14 | 20 | 12 | 16 | 3 | 5 | 2 | 6 |
321,535 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/textfmts.py | pygments.lexers.textfmts.TodotxtLexer | from pygments.lexer import RegexLexer, bygroups, default, include
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal, Punctuation
class TodotxtLexer(RegexLexer):
"""
Lexer for Todo.txt todo list format.
"""
name = 'Todotxt'
url = 'http://todotxt.com/... |
class TodotxtLexer(RegexLexer):
'''
Lexer for Todo.txt todo list format.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.78 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 98 | 11 | 51 | 21 | 50 | 40 | 21 | 21 | 20 | 0 | 5 | 0 | 0 |
321,536 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/theorem.py | pygments.lexers.theorem.CoqLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Generic, Whitespace
from pygments.lexer import RegexLexer, bygroups, default, words
class CoqLexer(RegexLexer):
"""
For the Coq theorem prover.
"""
name = 'Coq'
url = 'http://coq.inria.fr/'
aliases =... |
class CoqLexer(RegexLexer):
'''
For the Coq theorem prover.
'''
def analyse_text(text):
pass | 2 | 1 | 3 | 0 | 3 | 0 | 2 | 0.23 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 171 | 11 | 139 | 20 | 137 | 32 | 22 | 20 | 20 | 2 | 5 | 1 | 2 |
321,537 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/theorem.py | pygments.lexers.theorem.IsabelleLexer | from pygments.lexer import RegexLexer, bygroups, default, words
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Generic, Whitespace
class IsabelleLexer(RegexLexer):
"""
For the Isabelle proof assistant.
"""
name = 'Isabelle'
url = 'https://isabelle.in... |
class IsabelleLexer(RegexLexer):
'''
For the Isabelle proof assistant.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.06 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 216 | 34 | 179 | 27 | 178 | 11 | 27 | 27 | 26 | 0 | 5 | 0 | 0 |
321,538 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/thingsdb.py | pygments.lexers.thingsdb.ThingsDBLexer | from pygments.lexer import RegexLexer, include, bygroups
from pygments.token import Comment, Keyword, Name, Number, String, Text, Operator, Punctuation, Whitespace
class ThingsDBLexer(RegexLexer):
"""
Lexer for the ThingsDB programming language.
"""
name = 'ThingsDB'
aliases = ['ti', 'thingsdb']
... |
class ThingsDBLexer(RegexLexer):
'''
Lexer for the ThingsDB programming language.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.12 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 123 | 8 | 106 | 7 | 105 | 13 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,539 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/tlb.py | pygments.lexers.tlb.TlbLexer | from pygments.token import Operator, Name, Number, Whitespace, Punctuation, Comment
from pygments.lexer import RegexLexer, include, words
class TlbLexer(RegexLexer):
"""
For TL-b source code.
"""
name = 'Tl-b'
aliases = ['tlb']
filenames = ['*.tlb']
url = 'https://docs.ton.org/#/overviews/T... |
class TlbLexer(RegexLexer):
'''
For TL-b source code.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 42 | 7 | 32 | 7 | 31 | 8 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,540 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/tls.py | pygments.lexers.tls.TlsLexer | import re
from pygments.lexer import RegexLexer, words
from pygments.token import Comment, Operator, Keyword, Name, String, Number, Punctuation, Whitespace
class TlsLexer(RegexLexer):
"""
The TLS presentation language, described in RFC 8446.
"""
name = 'TLS Presentation Language'
url = 'https://www... |
class TlsLexer(RegexLexer):
'''
The TLS presentation language, described in RFC 8446.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 36 | 2 | 25 | 9 | 24 | 10 | 9 | 9 | 8 | 0 | 5 | 0 | 0 |
321,541 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/tnt.py | pygments.lexers.tnt.TNTLexer | from pygments.lexer import Lexer
import re
from pygments.token import Text, Comment, Operator, Keyword, Name, Number, Punctuation, Error
class TNTLexer(Lexer):
"""
Lexer for Typographic Number Theory, as described in the book
Gödel, Escher, Bach, by Douglas R. Hofstadter
"""
name = 'Typographic Num... |
class TNTLexer(Lexer):
'''
Lexer for Typographic Number Theory, as described in the book
Gödel, Escher, Bach, by Douglas R. Hofstadter
'''
def __init__(self, *args, **kwargs):
pass
def whitespace(self, start, text, required=False):
'''Tokenize whitespace.'''
pass
... | 10 | 9 | 23 | 0 | 21 | 4 | 6 | 0.18 | 1 | 3 | 0 | 0 | 9 | 0 | 9 | 30 | 251 | 13 | 215 | 40 | 205 | 38 | 204 | 40 | 194 | 15 | 4 | 5 | 54 |
321,542 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/trafficscript.py | pygments.lexers.trafficscript.RtsLexer | from pygments.lexer import RegexLexer
from pygments.token import String, Number, Name, Keyword, Operator, Text, Comment
class RtsLexer(RegexLexer):
"""
For Riverbed Stingray Traffic Manager
"""
name = 'TrafficScript'
aliases = ['trafficscript', 'rts']
filenames = ['*.rts']
url = 'https://ri... |
class RtsLexer(RegexLexer):
'''
For Riverbed Stingray Traffic Manager
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 35 | 2 | 30 | 7 | 29 | 5 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,543 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/typoscript.py | pygments.lexers.typoscript.TypoScriptCssDataLexer | from pygments.lexer import RegexLexer, include, bygroups, using
from pygments.token import Text, Comment, Name, String, Number, Operator, Punctuation
class TypoScriptCssDataLexer(RegexLexer):
"""
Lexer that highlights markers, constants and registers within css blocks.
"""
name = 'TypoScriptCssData'
... |
class TypoScriptCssDataLexer(RegexLexer):
'''
Lexer that highlights markers, constants and registers within css blocks.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.59 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 33 | 2 | 22 | 6 | 21 | 13 | 6 | 6 | 5 | 0 | 5 | 0 | 0 |
321,544 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/typoscript.py | pygments.lexers.typoscript.TypoScriptHtmlDataLexer | from pygments.token import Text, Comment, Name, String, Number, Operator, Punctuation
from pygments.lexer import RegexLexer, include, bygroups, using
class TypoScriptHtmlDataLexer(RegexLexer):
"""
Lexer that highlights markers, constants and registers within html tags.
"""
name = 'TypoScriptHtmlData'
... |
class TypoScriptHtmlDataLexer(RegexLexer):
'''
Lexer that highlights markers, constants and registers within html tags.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.67 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 33 | 2 | 21 | 6 | 20 | 14 | 6 | 6 | 5 | 0 | 5 | 0 | 0 |
321,545 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/typoscript.py | pygments.lexers.typoscript.TypoScriptLexer | from pygments.lexer import RegexLexer, include, bygroups, using
import re
from pygments.token import Text, Comment, Name, String, Number, Operator, Punctuation
class TypoScriptLexer(RegexLexer):
"""
Lexer for TypoScript code.
"""
name = 'TypoScript'
url = 'http://docs.typo3.org/typo3cms/TyposcriptR... |
class TypoScriptLexer(RegexLexer):
'''
Lexer for TypoScript code.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.23 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 118 | 3 | 98 | 9 | 97 | 23 | 9 | 9 | 8 | 0 | 5 | 0 | 0 |
321,546 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/typst.py | pygments.lexers.typst.TypstLexer | from pygments.util import get_choice_opt
from pygments.lexer import RegexLexer, words, bygroups, include
from pygments.token import Comment, Keyword, Name, String, Punctuation, Whitespace, Generic, Operator, Number, Text
class TypstLexer(RegexLexer):
"""
For Typst code.
Additional options accepted:
`... |
class TypstLexer(RegexLexer):
'''
For Typst code.
Additional options accepted:
`start`
Specifies the starting state of the lexer (one of 'markup', 'math',
'code'). The default is 'markup'.
'''
def __init__(self, **options):
pass
def get_tokens_unprocessed(s... | 3 | 1 | 6 | 1 | 5 | 1 | 2 | 0.43 | 1 | 0 | 0 | 0 | 2 | 1 | 2 | 31 | 142 | 9 | 122 | 13 | 119 | 53 | 17 | 13 | 14 | 2 | 5 | 1 | 3 |
321,547 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/ul4.py | pygments.lexers.ul4.CSSUL4Lexer | from pygments.lexers.web import HtmlLexer, XmlLexer, CssLexer, JavascriptLexer
from pygments.lexer import RegexLexer, DelegatingLexer, bygroups, words, include
class CSSUL4Lexer(DelegatingLexer):
"""
Lexer for UL4 embedded in CSS.
"""
name = 'CSS+UL4'
aliases = ['css+ul4']
filenames = ['*.cssul... |
class CSSUL4Lexer(DelegatingLexer):
'''
Lexer for UL4 embedded in CSS.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.38 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 13 | 2 | 8 | 7 | 6 | 3 | 8 | 7 | 6 | 1 | 5 | 0 | 1 |
321,548 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/ul4.py | pygments.lexers.ul4.HTMLUL4Lexer | from pygments.lexer import RegexLexer, DelegatingLexer, bygroups, words, include
from pygments.lexers.web import HtmlLexer, XmlLexer, CssLexer, JavascriptLexer
class HTMLUL4Lexer(DelegatingLexer):
"""
Lexer for UL4 embedded in HTML.
"""
name = 'HTML+UL4'
aliases = ['html+ul4']
filenames = ['*.h... |
class HTMLUL4Lexer(DelegatingLexer):
'''
Lexer for UL4 embedded in HTML.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.38 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 13 | 2 | 8 | 7 | 6 | 3 | 8 | 7 | 6 | 1 | 5 | 0 | 1 |
321,549 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/ul4.py | pygments.lexers.ul4.JavascriptUL4Lexer | from pygments.lexers.web import HtmlLexer, XmlLexer, CssLexer, JavascriptLexer
from pygments.lexer import RegexLexer, DelegatingLexer, bygroups, words, include
class JavascriptUL4Lexer(DelegatingLexer):
"""
Lexer for UL4 embedded in Javascript.
"""
name = 'Javascript+UL4'
aliases = ['js+ul4']
f... |
class JavascriptUL4Lexer(DelegatingLexer):
'''
Lexer for UL4 embedded in Javascript.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.38 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 13 | 2 | 8 | 7 | 6 | 3 | 8 | 7 | 6 | 1 | 5 | 0 | 1 |
321,550 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/ul4.py | pygments.lexers.ul4.PythonUL4Lexer | from pygments.lexers.python import PythonLexer
from pygments.lexer import RegexLexer, DelegatingLexer, bygroups, words, include
class PythonUL4Lexer(DelegatingLexer):
"""
Lexer for UL4 embedded in Python.
"""
name = 'Python+UL4'
aliases = ['py+ul4']
filenames = ['*.pyul4']
url = 'https://py... |
class PythonUL4Lexer(DelegatingLexer):
'''
Lexer for UL4 embedded in Python.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.38 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 13 | 2 | 8 | 7 | 6 | 3 | 8 | 7 | 6 | 1 | 5 | 0 | 1 |
321,551 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/ul4.py | pygments.lexers.ul4.UL4Lexer | from pygments.token import Comment, Text, Keyword, String, Number, Literal, Name, Other, Operator
import re
from pygments.lexer import RegexLexer, DelegatingLexer, bygroups, words, include
class UL4Lexer(RegexLexer):
"""
Generic lexer for UL4.
"""
flags = re.MULTILINE | re.DOTALL
name = 'UL4'
a... |
class UL4Lexer(RegexLexer):
'''
Generic lexer for UL4.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.56 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 213 | 3 | 149 | 8 | 148 | 84 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,552 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/ul4.py | pygments.lexers.ul4.XMLUL4Lexer | from pygments.lexer import RegexLexer, DelegatingLexer, bygroups, words, include
from pygments.lexers.web import HtmlLexer, XmlLexer, CssLexer, JavascriptLexer
class XMLUL4Lexer(DelegatingLexer):
"""
Lexer for UL4 embedded in XML.
"""
name = 'XML+UL4'
aliases = ['xml+ul4']
filenames = ['*.xmlul... |
class XMLUL4Lexer(DelegatingLexer):
'''
Lexer for UL4 embedded in XML.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.38 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 13 | 2 | 8 | 7 | 6 | 3 | 8 | 7 | 6 | 1 | 5 | 0 | 1 |
321,553 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/unicon.py | pygments.lexers.unicon.IconLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation
from pygments.lexer import RegexLexer, include, bygroups, words, using, this
import re
class IconLexer(RegexLexer):
"""
Lexer for Icon.
"""
name = 'Icon'
aliases = ['icon']
filenames = ['*.icon', '*.I... |
class IconLexer(RegexLexer):
'''
Lexer for Icon.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.06 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 139 | 2 | 134 | 9 | 133 | 8 | 9 | 9 | 8 | 0 | 5 | 0 | 0 |
321,554 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/unicon.py | pygments.lexers.unicon.UcodeLexer | import re
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation
from pygments.lexer import RegexLexer, include, bygroups, words, using, this
class UcodeLexer(RegexLexer):
"""
Lexer for Icon ucode files.
"""
name = 'ucode'
aliases = ['ucode']
filenames = ... |
class UcodeLexer(RegexLexer):
'''
Lexer for Icon ucode files.
'''
def analyse_text(text):
'''endsuspend and endrepeat are unique to this language, and
\self, /self doesn't seem to get used anywhere else either.'''
pass | 2 | 2 | 24 | 6 | 13 | 5 | 6 | 0.1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 107 | 9 | 90 | 11 | 88 | 9 | 22 | 11 | 20 | 6 | 5 | 1 | 6 |
321,555 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/unicon.py | pygments.lexers.unicon.UniconLexer | from pygments.lexer import RegexLexer, include, bygroups, words, using, this
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation
import re
class UniconLexer(RegexLexer):
"""
For Unicon source code.
"""
name = 'Unicon'
aliases = ['unicon']
filenames = [... |
class UniconLexer(RegexLexer):
'''
For Unicon source code.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.06 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 144 | 3 | 138 | 9 | 137 | 8 | 9 | 9 | 8 | 0 | 5 | 0 | 0 |
321,556 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/urbi.py | pygments.lexers.urbi.UrbiscriptLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation
import re
from pygments.lexer import ExtendedRegexLexer, words
class UrbiscriptLexer(ExtendedRegexLexer):
"""
For UrbiScript source code.
"""
name = 'UrbiScript'
aliases = ['urbiscript']
filenames = [... |
class UrbiscriptLexer(ExtendedRegexLexer):
'''
For UrbiScript source code.
'''
def blob_callback(lexer, match, ctx):
pass
def analyse_text(text):
'''This is fairly similar to C and others, but freezeif and
waituntil are unique keywords.'''
pass | 3 | 2 | 16 | 3 | 11 | 3 | 3 | 0.24 | 1 | 1 | 0 | 0 | 2 | 0 | 2 | 32 | 126 | 11 | 97 | 18 | 94 | 23 | 31 | 18 | 28 | 3 | 6 | 1 | 5 |
321,557 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/usd.py | pygments.lexers.usd.UsdLexer | from pygments.lexer import RegexLexer, bygroups
from pygments.lexers._usd_builtins import COMMON_ATTRIBUTES, KEYWORDS, OPERATORS, SPECIAL_NAMES, TYPES
from pygments.token import Comment, Keyword, Name, Number, Operator, Punctuation, String, Text, Whitespace
class UsdLexer(RegexLexer):
"""
A lexer that parses P... |
class UsdLexer(RegexLexer):
'''
A lexer that parses Pixar's Universal Scene Description file format.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 56 | 2 | 51 | 7 | 50 | 7 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,558 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/varnish.py | pygments.lexers.varnish.VCLLexer | from pygments.lexer import RegexLexer, include, bygroups, using, this, inherit, words
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Literal, Whitespace
class VCLLexer(RegexLexer):
"""
For Varnish Configuration Language (VCL).
"""
name = 'VCL'
aliase... |
class VCLLexer(RegexLexer):
'''
For Varnish Configuration Language (VCL).
'''
def analyse_text(text):
pass | 2 | 1 | 10 | 0 | 5 | 5 | 3 | 0.15 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 30 | 139 | 3 | 128 | 9 | 126 | 19 | 12 | 9 | 10 | 3 | 5 | 1 | 3 |
321,559 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/varnish.py | pygments.lexers.varnish.VCLSnippetLexer | from pygments.lexer import RegexLexer, include, bygroups, using, this, inherit, words
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Literal, Whitespace
class VCLSnippetLexer(VCLLexer):
"""
For Varnish Configuration Language snippets.
"""
name = 'VCLSnip... |
class VCLSnippetLexer(VCLLexer):
'''
For Varnish Configuration Language snippets.
'''
def analyse_text(text):
pass | 2 | 1 | 3 | 0 | 2 | 1 | 1 | 0.17 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 31 | 30 | 2 | 24 | 9 | 22 | 4 | 10 | 9 | 8 | 1 | 6 | 0 | 1 |
321,560 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/verification.py | pygments.lexers.verification.BoogieLexer | from pygments.token import Comment, Operator, Keyword, Name, Number, Punctuation, Text, Generic
from pygments.lexer import RegexLexer, include, words
class BoogieLexer(RegexLexer):
"""
For Boogie source code.
"""
name = 'Boogie'
url = 'https://boogie-docs.readthedocs.io/en/latest/'
aliases = ['... |
class BoogieLexer(RegexLexer):
'''
For Boogie source code.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.24 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 45 | 3 | 37 | 7 | 36 | 9 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,561 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/verification.py | pygments.lexers.verification.SilverLexer | from pygments.lexer import RegexLexer, include, words
from pygments.token import Comment, Operator, Keyword, Name, Number, Punctuation, Text, Generic
class SilverLexer(RegexLexer):
"""
For Silver source code.
"""
name = 'Silver'
aliases = ['silver']
filenames = ['*.sil', '*.vpr']
url = 'htt... |
class SilverLexer(RegexLexer):
'''
For Silver source code.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.21 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 49 | 2 | 42 | 7 | 41 | 9 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,562 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/verifpal.py | pygments.lexers.verifpal.VerifpalLexer | from pygments.lexer import RegexLexer, words, bygroups, default
from pygments.token import Comment, Keyword, Name, String, Punctuation, Whitespace
class VerifpalLexer(RegexLexer):
"""
For Verifpal code.
"""
name = 'Verifpal'
aliases = ['verifpal']
filenames = ['*.vp']
mimetypes = ['text/x-v... |
class VerifpalLexer(RegexLexer):
'''
For Verifpal code.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.12 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 48 | 2 | 43 | 8 | 42 | 5 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,563 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/vip.py | pygments.lexers.vip.VisualPrologBaseLexer | from pygments.lexer import RegexLexer, inherit, words, include
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Whitespace
class VisualPrologBaseLexer(RegexLexer):
minorendkw = ('try', 'foreach', 'if')
minorkwexp = ('and', 'catch', 'do', 'else', 'elseif', 'erroneo... |
class VisualPrologBaseLexer(RegexLexer):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 29 | 64 | 0 | 64 | 5 | 63 | 8 | 5 | 5 | 4 | 0 | 5 | 0 | 0 |
321,564 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/vip.py | pygments.lexers.vip.VisualPrologGrammarLexer | from pygments.lexer import RegexLexer, inherit, words, include
import re
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Whitespace
class VisualPrologGrammarLexer(VisualPrologBaseLexer):
"""Lexer for VisualProlog grammar
"""
name = 'Visual Prolog Grammar'
... |
class VisualPrologGrammarLexer(VisualPrologBaseLexer):
'''Lexer for VisualProlog grammar
'''
def analyse_text(text):
'''No competditors (currently)'''
pass | 2 | 2 | 9 | 0 | 5 | 4 | 2 | 0.33 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 30 | 3 | 21 | 10 | 19 | 7 | 13 | 10 | 11 | 2 | 6 | 1 | 2 |
321,565 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/vip.py | pygments.lexers.vip.VisualPrologLexer | from pygments.lexer import RegexLexer, inherit, words, include
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Whitespace
import re
class VisualPrologLexer(VisualPrologBaseLexer):
"""Lexer for VisualProlog
"""
name = 'Visual Prolog'
url = 'https://www.vis... |
class VisualPrologLexer(VisualPrologBaseLexer):
'''Lexer for VisualProlog
'''
def analyse_text(text):
'''Competes with IDL and Prolog on *.pro; div. lisps on*.cl and SwigLexer on *.i'''
pass | 2 | 2 | 9 | 0 | 5 | 4 | 2 | 0.28 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 33 | 2 | 25 | 11 | 23 | 7 | 14 | 11 | 12 | 2 | 6 | 1 | 2 |
321,566 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/vyper.py | pygments.lexers.vyper.VyperLexer | from pygments.token import Comment, String, Name, Keyword, Number, Operator, Punctuation, Text, Whitespace
from pygments.lexer import RegexLexer, bygroups, words
class VyperLexer(RegexLexer):
"""For the Vyper smart contract language.
"""
name = 'Vyper'
aliases = ['vyper']
filenames = ['*.vy']
u... |
class VyperLexer(RegexLexer):
'''For the Vyper smart contract language.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.28 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 123 | 22 | 83 | 7 | 82 | 23 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,567 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/webassembly.py | pygments.lexers.webassembly.WatLexer | from pygments.token import Text, Comment, Operator, Keyword, String, Number, Punctuation, Name
from pygments.lexer import RegexLexer, words, bygroups, default
class WatLexer(RegexLexer):
"""Lexer for the WebAssembly text format.
"""
name = 'WebAssembly'
url = 'https://webassembly.org/'
aliases = ['... |
class WatLexer(RegexLexer):
'''Lexer for the WebAssembly text format.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 56 | 2 | 52 | 7 | 51 | 8 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,568 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/webidl.py | pygments.lexers.webidl.WebIDLLexer | from pygments.lexer import RegexLexer, default, include, words
from pygments.token import Comment, Keyword, Name, Number, Punctuation, String, Text
class WebIDLLexer(RegexLexer):
"""
For Web IDL.
"""
name = 'Web IDL'
url = 'https://www.w3.org/wiki/Web_IDL'
aliases = ['webidl']
filenames = [... |
class WebIDLLexer(RegexLexer):
'''
For Web IDL.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 260 | 2 | 255 | 7 | 254 | 44 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,569 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/webmisc.py | pygments.lexers.webmisc.CirruLexer | import re
from pygments.lexer import RegexLexer, ExtendedRegexLexer, include, bygroups, default, using
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Literal, Whitespace
class CirruLexer(RegexLexer):
"""
* using ``()`` for expressions, but restricted in a same l... |
class CirruLexer(RegexLexer):
'''
* using ``()`` for expressions, but restricted in a same line
* using ``""`` for strings, with ``\`` for escaping chars
* using ``$`` as folding operator
* using ``,`` as unfolding operator
* using indentations for nested blocks
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.39 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 50 | 2 | 41 | 9 | 40 | 16 | 9 | 9 | 8 | 0 | 5 | 0 | 0 |
321,570 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/webmisc.py | pygments.lexers.webmisc.DuelLexer | from pygments.lexers.javascript import JavascriptLexer
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Literal, Whitespace
import re
from pygments.lexer import RegexLexer, ExtendedRegexLexer, include, bygroups, default, using
from pygments.lexers.html import HtmlLexer
cl... |
class DuelLexer(RegexLexer):
'''
Lexer for Duel Views Engine (formerly JBST) markup with JavaScript code blocks.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 29 | 3 | 23 | 9 | 22 | 4 | 9 | 9 | 8 | 0 | 5 | 0 | 0 |
321,571 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/webmisc.py | pygments.lexers.webmisc.QmlLexer | import re
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Literal, Whitespace
from pygments.lexer import RegexLexer, ExtendedRegexLexer, include, bygroups, default, using
class QmlLexer(RegexLexer):
"""
For QML files.
"""
name = 'QML'
url = 'https://d... |
class QmlLexer(RegexLexer):
'''
For QML files.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.21 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 71 | 6 | 57 | 9 | 56 | 12 | 9 | 9 | 8 | 0 | 5 | 0 | 0 |
321,572 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/webmisc.py | pygments.lexers.webmisc.SlimLexer | from pygments.lexer import RegexLexer, ExtendedRegexLexer, include, bygroups, default, using
import re
from pygments.lexers.css import _indentation, _starts_block
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Literal, Whitespace
from pygments.lexers.ruby import RubyLexe... |
class SlimLexer(ExtendedRegexLexer):
'''
For Slim markup.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 30 | 71 | 9 | 59 | 10 | 58 | 10 | 10 | 10 | 9 | 0 | 6 | 0 | 0 |
321,573 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/webmisc.py | pygments.lexers.webmisc.XQueryLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Literal, Whitespace
import re
from pygments.lexer import RegexLexer, ExtendedRegexLexer, include, bygroups, default, using
class XQueryLexer(ExtendedRegexLexer):
"""
An XQuery lexer, parsing a stream and outputting ... |
class XQueryLexer(ExtendedRegexLexer):
'''
An XQuery lexer, parsing a stream and outputting the tokens needed to
highlight xquery code.
'''
def punctuation_root_callback(lexer, match, ctx):
pass
def operator_root_callback(lexer, match, ctx):
pass
def popstate_tag_callback... | 29 | 1 | 6 | 0 | 6 | 0 | 1 | 0.12 | 1 | 0 | 0 | 0 | 28 | 0 | 28 | 58 | 752 | 76 | 624 | 56 | 595 | 75 | 192 | 56 | 163 | 4 | 6 | 2 | 34 |
321,574 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/wgsl.py | pygments.lexers.wgsl.WgslLexer | from pygments.token import Comment, Operator, Keyword, Name, Number, Punctuation, Whitespace
from pygments.lexer import RegexLexer, include, words, default
class WgslLexer(RegexLexer):
"""
Lexer for the WebGPU Shading Language.
"""
name = 'WebGPU Shading Language'
url = 'https://www.w3.org/TR/WGSL/... |
class WgslLexer(RegexLexer):
'''
Lexer for the WebGPU Shading Language.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 374 | 18 | 314 | 16 | 313 | 48 | 16 | 16 | 15 | 0 | 5 | 0 | 0 |
321,575 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/whiley.py | pygments.lexers.whiley.WhileyLexer | from pygments.token import Comment, Keyword, Name, Number, Operator, Punctuation, String, Text
from pygments.lexer import RegexLexer, bygroups, words
class WhileyLexer(RegexLexer):
"""
Lexer for the Whiley programming language.
"""
name = 'Whiley'
url = 'http://whiley.org/'
filenames = ['*.whil... |
class WhileyLexer(RegexLexer):
'''
Lexer for the Whiley programming language.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.39 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 98 | 13 | 62 | 8 | 61 | 24 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,576 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/wowtoc.py | pygments.lexers.wowtoc.WoWTocLexer | from pygments.lexer import RegexLexer, bygroups
from pygments.token import Comment, Name, Text, Punctuation, String, Keyword
import re
class WoWTocLexer(RegexLexer):
"""
Lexer for World of Warcraft TOC files.
"""
name = 'World of Warcraft TOC'
aliases = ['wowtoc']
filenames = ['*.toc']
url ... |
class WoWTocLexer(RegexLexer):
'''
Lexer for World of Warcraft TOC files.
'''
def analyse_text(text):
pass | 2 | 1 | 27 | 4 | 12 | 11 | 4 | 0.49 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 75 | 9 | 45 | 12 | 43 | 22 | 19 | 12 | 17 | 4 | 5 | 1 | 4 |
321,577 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/wren.py | pygments.lexers.wren.WrenLexer | from pygments.token import Whitespace, Punctuation, Keyword, Name, Comment, Operator, Number, String
from pygments.lexer import include, RegexLexer, words
import re
class WrenLexer(RegexLexer):
"""
For Wren source code, version 0.4.0.
"""
name = 'Wren'
url = 'https://wren.io'
aliases = ['wren']... |
class WrenLexer(RegexLexer):
'''
For Wren source code, version 0.4.0.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 80 | 11 | 56 | 8 | 55 | 28 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,578 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/x10.py | pygments.lexers.x10.X10Lexer | from pygments.lexer import RegexLexer
from pygments.token import Text, Comment, Keyword, String
class X10Lexer(RegexLexer):
"""
For the X10 language.
"""
name = 'X10'
url = 'http://x10-lang.org/'
aliases = ['x10', 'xten']
filenames = ['*.x10']
mimetypes = ['text/x-x10']
version_adde... |
class X10Lexer(RegexLexer):
'''
For the X10 language.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.07 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 50 | 6 | 41 | 12 | 40 | 3 | 12 | 12 | 11 | 0 | 5 | 0 | 0 |
321,579 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/xorg.py | pygments.lexers.xorg.XorgLexer | from pygments.lexer import RegexLexer, bygroups
from pygments.token import Comment, String, Name, Text
class XorgLexer(RegexLexer):
"""Lexer for xorg.conf files."""
name = 'Xorg'
url = 'https://www.x.org/wiki/'
aliases = ['xorg.conf']
filenames = ['xorg.conf']
mimetypes = []
version_added =... |
class XorgLexer(RegexLexer):
'''Lexer for xorg.conf files.'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 22 | 3 | 18 | 8 | 17 | 3 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,580 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/yang.py | pygments.lexers.yang.YangLexer | from pygments.lexer import RegexLexer, bygroups, words
from pygments.token import Text, Token, Name, String, Comment, Number
class YangLexer(RegexLexer):
"""
Lexer for YANG, based on RFC7950.
"""
name = 'YANG'
url = 'https://tools.ietf.org/html/rfc7950/'
aliases = ['yang']
filenames = ['*.y... |
class YangLexer(RegexLexer):
'''
Lexer for YANG, based on RFC7950.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 87 | 11 | 68 | 19 | 67 | 10 | 19 | 19 | 18 | 0 | 5 | 0 | 0 |
321,581 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/yara.py | pygments.lexers.yara.YaraLexer | from pygments.token import Comment, String, Name, Text, Punctuation, Operator, Keyword, Whitespace, Number
from pygments.lexer import RegexLexer, words
class YaraLexer(RegexLexer):
"""
For YARA rules
"""
name = 'YARA'
url = 'https://virustotal.github.io/yara/'
aliases = ['yara', 'yar']
file... |
class YaraLexer(RegexLexer):
'''
For YARA rules
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.13 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 52 | 2 | 47 | 8 | 46 | 6 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,582 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/lexers/zig.py | pygments.lexers.zig.ZigLexer | from pygments.token import Comment, Operator, Keyword, Name, String, Number, Punctuation, Whitespace
from pygments.lexer import RegexLexer, words
class ZigLexer(RegexLexer):
"""
Lexer for the Zig language.
grammar: https://ziglang.org/documentation/master/#Grammar
"""
name = 'Zig'
url = 'http:... |
class ZigLexer(RegexLexer):
'''
Lexer for the Zig language.
grammar: https://ziglang.org/documentation/master/#Grammar
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 108 | 17 | 80 | 16 | 79 | 12 | 16 | 16 | 15 | 0 | 5 | 0 | 0 |
321,583 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/scanner.py | pygments.scanner.EndOfText | class EndOfText(RuntimeError):
"""
Raise if end of text is reached and the user
tried to call a match function.
""" | class EndOfText(RuntimeError):
'''
Raise if end of text is reached and the user
tried to call a match function.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 | 5 | 0 | 1 | 1 | 0 | 4 | 1 | 1 | 0 | 0 | 4 | 0 | 0 |
321,584 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/scanner.py | pygments.scanner.Scanner | import re
class Scanner:
"""
Simple scanner
All method patterns are regular expression strings (not
compiled expressions!)
"""
def __init__(self, text, flags=0):
"""
:param text: The text which should be scanned
:param flags: default regular expression flags
... |
class Scanner:
'''
Simple scanner
All method patterns are regular expression strings (not
compiled expressions!)
'''
def __init__(self, text, flags=0):
'''
:param text: The text which should be scanned
:param flags: default regular expression flags
'''
... | 8 | 7 | 9 | 0 | 6 | 3 | 2 | 0.67 | 0 | 1 | 1 | 0 | 7 | 8 | 7 | 7 | 78 | 8 | 42 | 17 | 34 | 28 | 38 | 17 | 30 | 4 | 0 | 1 | 12 |
321,585 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/sphinxext.py | pygments.sphinxext.PygmentsDoc | from docutils import nodes
from docutils.parsers.rst import Directive
from docutils.statemachine import ViewList
import sys
from sphinx.util.nodes import nested_parse_with_titles
class PygmentsDoc(Directive):
"""
A directive to collect all lexers/formatters/filters and generate
autoclass directives for the... |
class PygmentsDoc(Directive):
'''
A directive to collect all lexers/formatters/filters and generate
autoclass directives for them.
'''
def run(self):
pass
def document_lexers_overview(self):
'''Generate a tabular overview of all lexers.
The columns are the lexer na... | 9 | 4 | 23 | 3 | 20 | 1 | 4 | 0.06 | 1 | 5 | 0 | 0 | 5 | 1 | 5 | 5 | 184 | 25 | 150 | 64 | 133 | 9 | 123 | 64 | 106 | 14 | 1 | 4 | 35 |
321,586 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/style.py | pygments.style.Style | class Style(metaclass=StyleMeta):
background_color = '#ffffff'
highlight_color = '#ffffcc'
line_number_color = 'inherit'
line_number_background_color = 'transparent'
line_number_special_color = '#000000'
line_number_special_background_color = '#ffffc0'
styles = {}
name = 'unnamed'
al... | class Style(metaclass=StyleMeta):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1.55 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 34 | 10 | 11 | 11 | 10 | 17 | 11 | 11 | 10 | 0 | 3 | 0 | 0 |
321,587 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/style.py | pygments.style.StyleMeta | from pygments.token import Token, STANDARD_TYPES
class StyleMeta(type):
def __new__(mcs, name, bases, dct):
obj = type.__new__(mcs, name, bases, dct)
for token in STANDARD_TYPES:
if token not in obj.styles:
obj.styles[token] = ''
def colorformat(text):
... |
class StyleMeta(type):
def __new__(mcs, name, bases, dct):
pass
def colorformat(text):
pass
def style_for_token(cls, token):
pass
def list_styles(cls):
pass
def styles_token(cls, ttype):
pass
def __iter__(cls):
pass
def __le... | 8 | 0 | 17 | 1 | 16 | 0 | 5 | 0.01 | 1 | 2 | 0 | 1 | 6 | 0 | 6 | 19 | 110 | 11 | 99 | 21 | 91 | 1 | 70 | 21 | 62 | 21 | 2 | 4 | 38 |
321,588 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/styles/abap.py | pygments.styles.abap.AbapStyle | from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator
from pygments.style import Style
class AbapStyle(Style):
name = 'abap'
styles = {Comment: 'italic #888', Comment.Special: '#888', Keyword: '#00f', Operator.Word: '#00f', Name: '#000', Number: '#3af', String: '#5a2', Error: '#F00... |
class AbapStyle(Style):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.67 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 14 | 2 | 12 | 3 | 11 | 8 | 3 | 3 | 2 | 0 | 4 | 0 | 0 |
321,589 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/styles/algol.py | pygments.styles.algol.AlgolStyle | from pygments.style import Style
from pygments.token import Keyword, Name, Comment, String, Error, Operator
class AlgolStyle(Style):
name = 'algol'
background_color = '#ffffff'
styles = {Comment: 'italic #888', Comment.Preproc: 'bold noitalic #888', Comment.Special: 'bold noitalic #888', Keyword: 'underlin... |
class AlgolStyle(Style):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.55 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 27 | 7 | 20 | 4 | 19 | 11 | 4 | 4 | 3 | 0 | 4 | 0 | 0 |
321,590 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/styles/algol_nu.py | pygments.styles.algol_nu.Algol_NuStyle | from pygments.token import Keyword, Name, Comment, String, Error, Operator
from pygments.style import Style
class Algol_NuStyle(Style):
name = 'algol_nu'
background_color = '#ffffff'
styles = {Comment: 'italic #888', Comment.Preproc: 'bold noitalic #888', Comment.Special: 'bold noitalic #888', Keyword: 'bo... |
class Algol_NuStyle(Style):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.55 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 27 | 7 | 20 | 4 | 19 | 11 | 4 | 4 | 3 | 0 | 4 | 0 | 0 |
321,591 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/styles/arduino.py | pygments.styles.arduino.ArduinoStyle | from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace
from pygments.style import Style
class ArduinoStyle(Style):
"""
The Arduino® language style. This style is designed to highlight the
Arduino source code, so expect the best results with it.
"""
n... |
class ArduinoStyle(Style):
'''
The Arduino® language style. This style is designed to highlight the
Arduino source code, so expect the best results with it.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 82 | 9 | 69 | 4 | 68 | 69 | 4 | 4 | 3 | 0 | 4 | 0 | 0 |
321,592 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/styles/autumn.py | pygments.styles.autumn.AutumnStyle | from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace
from pygments.style import Style
class AutumnStyle(Style):
"""
A colorful style, inspired by the terminal highlighting style.
"""
name = 'autumn'
styles = {Whitespace: '#bbbbbb', Comment: 'italic... |
class AutumnStyle(Style):
'''
A colorful style, inspired by the terminal highlighting style.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.89 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 49 | 9 | 37 | 3 | 36 | 33 | 3 | 3 | 2 | 0 | 4 | 0 | 0 |
321,593 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/styles/borland.py | pygments.styles.borland.BorlandStyle | from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace
from pygments.style import Style
class BorlandStyle(Style):
"""
Style similar to the style used in the borland IDEs.
"""
name = 'borland'
styles = {Whitespace: '#bbbbbb', Comment: 'italic #008800... |
class BorlandStyle(Style):
'''
Style similar to the style used in the borland IDEs.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.78 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 35 | 5 | 27 | 3 | 26 | 21 | 3 | 3 | 2 | 0 | 4 | 0 | 0 |
321,594 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/styles/bw.py | pygments.styles.bw.BlackWhiteStyle | from pygments.style import Style
from pygments.token import Keyword, Name, Comment, String, Error, Operator, Generic
class BlackWhiteStyle(Style):
name = 'bw'
background_color = '#ffffff'
styles = {Comment: 'italic', Comment.Preproc: 'noitalic', Keyword: 'bold', Keyword.Pseudo: 'nobold', Keyword.Type: 'nob... |
class BlackWhiteStyle(Style):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 34 | 8 | 26 | 4 | 25 | 2 | 4 | 4 | 3 | 0 | 4 | 0 | 0 |
321,595 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/styles/coffee.py | pygments.styles.coffee.CoffeeStyle | from pygments.style import Style
from pygments.token import Comment, Error, Generic, Keyword, Literal, Name, Number, Operator, Punctuation, String, Token
class CoffeeStyle(Style):
"""
A warm and cozy theme based off gruvbox
"""
name = 'coffee'
background_color = '#262220'
highlight_color = '#dd... |
class CoffeeStyle(Style):
'''
A warm and cozy theme based off gruvbox
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.95 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 63 | 4 | 56 | 7 | 55 | 53 | 7 | 7 | 6 | 0 | 4 | 0 | 0 |
321,596 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/styles/colorful.py | pygments.styles.colorful.ColorfulStyle | from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace
from pygments.style import Style
class ColorfulStyle(Style):
"""
A colorful style, inspired by CodeRay.
"""
name = 'colorful'
styles = {Whitespace: '#bbbbbb', Comment: '#888', Comment.Preproc: '#... |
class ColorfulStyle(Style):
'''
A colorful style, inspired by CodeRay.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.92 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 65 | 9 | 53 | 3 | 52 | 49 | 3 | 3 | 2 | 0 | 4 | 0 | 0 |
321,597 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/styles/default.py | pygments.styles.default.DefaultStyle | from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace
from pygments.style import Style
class DefaultStyle(Style):
"""
The default style (inspired by Emacs 22).
"""
name = 'default'
background_color = '#f8f8f8'
styles = {Whitespace: '#bbbbbb', Co... |
class DefaultStyle(Style):
'''
The default style (inspired by Emacs 22).
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.91 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 58 | 8 | 45 | 4 | 44 | 41 | 4 | 4 | 3 | 0 | 4 | 0 | 0 |
321,598 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/styles/dracula.py | pygments.styles.dracula.DraculaStyle | from pygments.token import Keyword, Name, Comment, String, Error, Literal, Number, Operator, Other, Punctuation, Text, Generic, Whitespace
from pygments.style import Style
class DraculaStyle(Style):
name = 'dracula'
background_color = background
highlight_color = selection
line_number_color = yellow
... |
class DraculaStyle(Style):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 56 | 14 | 42 | 9 | 41 | 0 | 9 | 9 | 8 | 0 | 4 | 0 | 0 |
321,599 | etsi-ai/etsi-watchdog | /Users/umroot/Documents/PhD_works/PhD-Core-Contents/Class-level-dataset-curation/unseen_data/git_repos_for_analysis/etsi-ai_etsi-watchdog/venv/Lib/site-packages/pygments/styles/emacs.py | pygments.styles.emacs.EmacsStyle | from pygments.style import Style
from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace
class EmacsStyle(Style):
"""
The default style (inspired by Emacs 22).
"""
name = 'emacs'
background_color = '#f8f8f8'
styles = {Whitespace: '#bbbbbb', Commen... |
class EmacsStyle(Style):
'''
The default style (inspired by Emacs 22).
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.83 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 57 | 8 | 46 | 4 | 45 | 38 | 4 | 4 | 3 | 0 | 4 | 0 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.