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,400 | 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/scripting.py | pygments.lexers.scripting.JclLexer | from pygments.lexer import RegexLexer, include, bygroups, default, combined, words
import re
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Error, Whitespace, Other
class JclLexer(RegexLexer):
"""
Job Control Language (JCL)
is a scripting language used on ma... |
class JclLexer(RegexLexer):
'''
Job Control Language (JCL)
is a scripting language used on mainframe platforms to instruct the system
on how to run a batch job or start a subsystem. It is somewhat
comparable to MS DOS batch and Unix shell scripts.
'''
def analyse_text(text):
'''
... | 2 | 2 | 11 | 0 | 8 | 3 | 3 | 0.26 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 82 | 4 | 66 | 13 | 64 | 17 | 18 | 13 | 16 | 3 | 5 | 2 | 3 |
321,401 | 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/scripting.py | pygments.lexers.scripting.LSLLexer | import re
from pygments.lexer import RegexLexer, include, bygroups, default, combined, words
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Error, Whitespace, Other
class LSLLexer(RegexLexer):
"""
For Second Life's Linden Scripting Language source code.
"""
... |
class LSLLexer(RegexLexer):
'''
For Second Life's Linden Scripting Language source code.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 82 | 4 | 75 | 27 | 74 | 6 | 27 | 27 | 26 | 0 | 5 | 0 | 0 |
321,402 | 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/scripting.py | pygments.lexers.scripting.LuaLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Error, Whitespace, Other
from pygments.lexer import RegexLexer, include, bygroups, default, combined, words
from pygments.util import get_bool_opt, get_list_opt
class LuaLexer(RegexLexer):
"""
For Lua source code.
... |
class LuaLexer(RegexLexer):
'''
For Lua source code.
Additional options accepted:
`func_name_highlighting`
If given and ``True``, highlight builtin function names
(default: ``True``).
`disabled_modules`
If given, must be a list of module names whose function names
sh... | 3 | 1 | 13 | 1 | 12 | 0 | 4 | 0.27 | 1 | 1 | 0 | 1 | 2 | 3 | 2 | 31 | 154 | 25 | 110 | 22 | 106 | 30 | 34 | 22 | 30 | 4 | 5 | 3 | 8 |
321,403 | 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/scripting.py | pygments.lexers.scripting.LuauLexer | from pygments.lexer import RegexLexer, include, bygroups, default, combined, words
from pygments.util import get_bool_opt, get_list_opt
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Error, Whitespace, Other
class LuauLexer(RegexLexer):
"""
For Luau source code.... |
class LuauLexer(RegexLexer):
'''
For Luau source code.
Additional options accepted:
`include_luau_builtins`
If given and ``True``, automatically highlight Luau builtins
(default: ``True``).
`include_roblox_builtins`
If given and ``True``, automatically highlight Roblox-speci... | 3 | 1 | 27 | 3 | 24 | 0 | 7 | 0.17 | 1 | 3 | 0 | 0 | 2 | 5 | 2 | 31 | 277 | 54 | 209 | 26 | 204 | 35 | 55 | 26 | 50 | 9 | 5 | 5 | 13 |
321,404 | 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/scripting.py | pygments.lexers.scripting.MOOCodeLexer | from pygments.lexer import RegexLexer, include, bygroups, default, combined, words
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Error, Whitespace, Other
class MOOCodeLexer(RegexLexer):
"""
For MOOCode (the MOO scripting language).
"""
name = 'MOOCode'
... |
class MOOCodeLexer(RegexLexer):
'''
For MOOCode (the MOO scripting language).
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 40 | 1 | 25 | 8 | 24 | 15 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,405 | 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/scripting.py | pygments.lexers.scripting.MiniScriptLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Error, Whitespace, Other
from pygments.lexer import RegexLexer, include, bygroups, default, combined, words
class MiniScriptLexer(RegexLexer):
"""
For MiniScript source code.
"""
name = 'MiniScript'
url ... |
class MiniScriptLexer(RegexLexer):
'''
For MiniScript source code.
'''
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,406 | 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/scripting.py | pygments.lexers.scripting.MoonScriptLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Error, Whitespace, Other
from pygments.lexer import RegexLexer, include, bygroups, default, combined, words
class MoonScriptLexer(LuaLexer):
"""
For MoonScript source code.
"""
name = 'MoonScript'
url = ... |
class MoonScriptLexer(LuaLexer):
'''
For MoonScript source code.
'''
def get_tokens_unprocessed(self, text):
pass | 2 | 1 | 6 | 0 | 5 | 1 | 3 | 0.15 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 32 | 67 | 3 | 60 | 10 | 58 | 9 | 13 | 10 | 11 | 3 | 6 | 2 | 3 |
321,407 | 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/scripting.py | pygments.lexers.scripting.RexxLexer | from pygments.lexer import RegexLexer, include, bygroups, default, combined, words
import re
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Error, Whitespace, Other
class RexxLexer(RegexLexer):
"""
Rexx is a scripting language available for
a wide range of d... |
class RexxLexer(RegexLexer):
'''
Rexx is a scripting language available for
a wide range of different platforms with its roots found on mainframe
systems. It is popular for I/O- and data based tasks and can act as glue
language to bind different applications together.
'''
def _c(s):
... | 3 | 2 | 10 | 0 | 6 | 4 | 2 | 0.2 | 1 | 0 | 0 | 0 | 2 | 0 | 2 | 31 | 112 | 3 | 95 | 22 | 92 | 19 | 25 | 21 | 22 | 3 | 5 | 1 | 4 |
321,408 | 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/sgf.py | pygments.lexers.sgf.SmartGameFormatLexer | from pygments.lexer import RegexLexer, bygroups
from pygments.token import Name, Literal, String, Punctuation, Whitespace
class SmartGameFormatLexer(RegexLexer):
"""
Lexer for Smart Game Format (sgf) file format.
The format is used to store game records of board games for two players
(mainly Go game).... |
class SmartGameFormatLexer(RegexLexer):
'''
Lexer for Smart Game Format (sgf) file format.
The format is used to store game records of board games for two players
(mainly Go game).
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.37 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 43 | 3 | 30 | 7 | 29 | 11 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,409 | 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/shell.py | pygments.lexers.shell.BashLexer | from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, include, default, this, using, words, line_re
from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic
from pygments.util import shebang_matches
class BashLexer(RegexLexer):
"""
Lex... |
class BashLexer(RegexLexer):
'''
Lexer for (ba|k|z|)sh shell scripts.
'''
def analyse_text(text):
pass | 2 | 1 | 5 | 0 | 5 | 0 | 3 | 0.18 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 30 | 102 | 3 | 96 | 9 | 94 | 17 | 13 | 9 | 11 | 3 | 5 | 1 | 3 |
321,410 | 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/shell.py | pygments.lexers.shell.BashSessionLexer | import re
class BashSessionLexer(ShellSessionBaseLexer):
"""
Lexer for Bash shell sessions, i.e. command lines, including a
prompt, interspersed with output.
"""
name = 'Bash Session'
aliases = ['console', 'shell-session']
filenames = ['*.sh-session', '*.shell-session']
mimetypes = ['ap... |
class BashSessionLexer(ShellSessionBaseLexer):
'''
Lexer for Bash shell sessions, i.e. command lines, including a
prompt, interspersed with output.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.38 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 22 | 19 | 2 | 13 | 11 | 12 | 5 | 11 | 11 | 10 | 0 | 5 | 0 | 0 |
321,411 | 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/shell.py | pygments.lexers.shell.BatchLexer | from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, include, default, this, using, words, line_re
from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic
import re
class BatchLexer(RegexLexer):
"""
Lexer for the DOS/Windows Batch fi... |
class BatchLexer(RegexLexer):
'''
Lexer for the DOS/Windows Batch file format.
'''
def _make_begin_state(compound, _core_token=_core_token, _core_token_compound=_core_token_compound, _keyword_terminator=_keyword_terminator, _nl=_nl, _punct=_punct, _string=_string, _space=_space, _start_label=_start_la... | 7 | 1 | 24 | 0 | 24 | 2 | 4 | 0.11 | 1 | 3 | 0 | 0 | 6 | 0 | 6 | 35 | 288 | 9 | 276 | 65 | 250 | 29 | 68 | 46 | 61 | 7 | 5 | 1 | 24 |
321,412 | 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/shell.py | pygments.lexers.shell.ExeclineLexer | from pygments.util import shebang_matches
from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic
from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, include, default, this, using, words, line_re
class ExeclineLexer(RegexLexer):
"""
... |
class ExeclineLexer(RegexLexer):
'''
Lexer for Laurent Bercot's execline language.
'''
def analyse_text(text):
pass | 2 | 1 | 3 | 0 | 3 | 0 | 2 | 0.18 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 57 | 4 | 50 | 8 | 48 | 9 | 10 | 8 | 8 | 2 | 5 | 1 | 2 |
321,413 | 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/shell.py | pygments.lexers.shell.FishShellLexer | from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic
from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, include, default, this, using, words, line_re
class FishShellLexer(RegexLexer):
"""
Lexer for Fish shell scripts.
"""
... |
class FishShellLexer(RegexLexer):
'''
Lexer for Fish shell scripts.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 71 | 2 | 66 | 8 | 65 | 10 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,414 | 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/shell.py | pygments.lexers.shell.MSDOSSessionLexer | import re
class MSDOSSessionLexer(ShellSessionBaseLexer):
"""
Lexer for MS DOS shell sessions, i.e. command lines, including a
prompt, interspersed with output.
"""
name = 'MSDOS Session'
aliases = ['doscon']
filenames = []
mimetypes = []
url = 'https://en.wikipedia.org/wiki/MS-DOS'... |
class MSDOSSessionLexer(ShellSessionBaseLexer):
'''
Lexer for MS DOS shell sessions, i.e. command lines, including a
prompt, interspersed with output.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.36 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 22 | 17 | 2 | 11 | 11 | 10 | 4 | 11 | 11 | 10 | 0 | 5 | 0 | 0 |
321,415 | 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/shell.py | pygments.lexers.shell.PowerShellLexer | import re
from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic
from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, include, default, this, using, words, line_re
class PowerShellLexer(RegexLexer):
"""
For Windows PowerShell code.
... |
class PowerShellLexer(RegexLexer):
'''
For Windows PowerShell code.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 112 | 7 | 99 | 14 | 98 | 17 | 14 | 14 | 13 | 0 | 5 | 0 | 0 |
321,416 | 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/shell.py | pygments.lexers.shell.PowerShellSessionLexer | import re
class PowerShellSessionLexer(ShellSessionBaseLexer):
"""
Lexer for PowerShell sessions, i.e. command lines, including a
prompt, interspersed with output.
"""
name = 'PowerShell Session'
aliases = ['pwsh-session', 'ps1con']
filenames = []
mimetypes = []
url = 'https://learn... |
class PowerShellSessionLexer(ShellSessionBaseLexer):
'''
Lexer for PowerShell sessions, i.e. command lines, including a
prompt, interspersed with output.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.33 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 22 | 18 | 2 | 12 | 12 | 11 | 4 | 12 | 12 | 11 | 0 | 5 | 0 | 0 |
321,417 | 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/shell.py | pygments.lexers.shell.ShellSessionBaseLexer | from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic
import re
from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, include, default, this, using, words, line_re
class ShellSessionBaseLexer(Lexer):
"""
Base lexer for shell session... |
class ShellSessionBaseLexer(Lexer):
'''
Base lexer for shell sessions.
.. versionadded:: 2.1
'''
def get_tokens_unprocessed(self, text):
pass | 2 | 1 | 60 | 5 | 52 | 3 | 13 | 0.13 | 1 | 0 | 0 | 4 | 1 | 0 | 1 | 22 | 70 | 8 | 55 | 17 | 53 | 7 | 43 | 17 | 41 | 13 | 4 | 4 | 13 |
321,418 | 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/shell.py | pygments.lexers.shell.SlurmBashLexer | from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic
class SlurmBashLexer(BashLexer):
"""
Lexer for (ba|k|z|)sh Slurm scripts.
"""
name = 'Slurm'
aliases = ['slurm', 'sbatch']
filenames = ['*.sl']
mimetypes = []
version_adde... |
class SlurmBashLexer(BashLexer):
'''
Lexer for (ba|k|z|)sh Slurm scripts.
'''
def get_tokens_unprocessed(self, text):
pass | 2 | 1 | 8 | 0 | 8 | 0 | 4 | 0.2 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 31 | 20 | 2 | 15 | 9 | 13 | 3 | 13 | 9 | 11 | 4 | 6 | 2 | 4 |
321,419 | 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/shell.py | pygments.lexers.shell.TcshLexer | from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, include, default, this, using, words, line_re
from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic
class TcshLexer(RegexLexer):
"""
Lexer for tcsh scripts.
"""
name = 'T... |
class TcshLexer(RegexLexer):
'''
Lexer for tcsh scripts.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.16 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 66 | 2 | 61 | 8 | 60 | 10 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,420 | 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/shell.py | pygments.lexers.shell.TcshSessionLexer | import re
class TcshSessionLexer(ShellSessionBaseLexer):
"""
Lexer for Tcsh sessions, i.e. command lines, including a
prompt, interspersed with output.
"""
name = 'Tcsh Session'
aliases = ['tcshcon']
filenames = []
mimetypes = []
url = 'https://www.tcsh.org'
version_added = '2.1... |
class TcshSessionLexer(ShellSessionBaseLexer):
'''
Lexer for Tcsh sessions, i.e. command lines, including a
prompt, interspersed with output.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.36 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 22 | 17 | 2 | 11 | 11 | 10 | 4 | 11 | 11 | 10 | 0 | 5 | 0 | 0 |
321,421 | 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/sieve.py | pygments.lexers.sieve.SieveLexer | from pygments.lexer import RegexLexer, bygroups
from pygments.token import Comment, Name, Literal, String, Text, Punctuation, Keyword
class SieveLexer(RegexLexer):
"""
Lexer for sieve format.
"""
name = 'Sieve'
filenames = ['*.siv', '*.sieve']
aliases = ['sieve']
url = 'https://en.wikipedia... |
class SieveLexer(RegexLexer):
'''
Lexer for sieve format.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.29 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 52 | 1 | 41 | 7 | 40 | 12 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,422 | 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/slash.py | pygments.lexers.slash.SlashLanguageLexer | from pygments.token import Name, Number, String, Comment, Punctuation, Other, Keyword, Operator, Whitespace
from pygments.lexer import ExtendedRegexLexer, bygroups, DelegatingLexer
class SlashLanguageLexer(ExtendedRegexLexer):
_nkw = '(?=[^a-zA-Z_0-9])'
def move_state(new_state):
return ('#pop', new_s... |
class SlashLanguageLexer(ExtendedRegexLexer):
def move_state(new_state):
pass
def right_angle_bracket(lexer, match, ctx):
pass | 3 | 0 | 4 | 0 | 4 | 1 | 2 | 0.03 | 1 | 0 | 0 | 0 | 2 | 0 | 2 | 32 | 150 | 3 | 147 | 5 | 144 | 5 | 11 | 5 | 8 | 2 | 6 | 1 | 3 |
321,423 | 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/slash.py | pygments.lexers.slash.SlashLexer | from pygments.lexer import ExtendedRegexLexer, bygroups, DelegatingLexer
class SlashLexer(DelegatingLexer):
"""
Lexer for the Slash programming language.
"""
name = 'Slash'
aliases = ['slash']
filenames = ['*.sla']
url = 'https://github.com/arturadib/Slash-A'
version_added = '2.4'
... |
class SlashLexer(DelegatingLexer):
'''
Lexer for the Slash programming language.
'''
def __init__(self, **options):
pass | 2 | 1 | 3 | 0 | 3 | 0 | 1 | 0.33 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 14 | 2 | 9 | 8 | 6 | 3 | 9 | 8 | 6 | 1 | 5 | 0 | 1 |
321,424 | 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/smalltalk.py | pygments.lexers.smalltalk.NewspeakLexer | from pygments.lexer import RegexLexer, include, bygroups, default
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation
class NewspeakLexer(RegexLexer):
"""
For Newspeak syntax.
"""
name = 'Newspeak'
url = 'http://newspeaklanguage.org/'
filenames = ['*.n... |
class NewspeakLexer(RegexLexer):
'''
For Newspeak syntax.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.12 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 56 | 3 | 50 | 8 | 49 | 6 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,425 | 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/smalltalk.py | pygments.lexers.smalltalk.SmalltalkLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation
from pygments.lexer import RegexLexer, include, bygroups, default
class SmalltalkLexer(RegexLexer):
"""
For Smalltalk syntax.
Contributed by Stefan Matthias Aust.
Rewritten by Nils Winter.
"""
name = ... |
class SmalltalkLexer(RegexLexer):
'''
For Smalltalk syntax.
Contributed by Stefan Matthias Aust.
Rewritten by Nils Winter.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.27 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 119 | 1 | 105 | 8 | 104 | 28 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,426 | 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/smithy.py | pygments.lexers.smithy.SmithyLexer | from pygments.token import Text, Comment, Keyword, Name, String, Number, Whitespace, Punctuation
from pygments.lexer import RegexLexer, bygroups, words
class SmithyLexer(RegexLexer):
"""
For Smithy IDL
"""
name = 'Smithy'
url = 'https://awslabs.github.io/smithy/'
filenames = ['*.smithy']
al... |
class SmithyLexer(RegexLexer):
'''
For Smithy IDL
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.23 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 60 | 4 | 53 | 11 | 52 | 12 | 11 | 11 | 10 | 0 | 5 | 0 | 0 |
321,427 | 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/smv.py | pygments.lexers.smv.NuSMVLexer | from pygments.token import Comment, Keyword, Name, Number, Operator, Punctuation, Text
from pygments.lexer import RegexLexer, words
class NuSMVLexer(RegexLexer):
"""
Lexer for the NuSMV language.
"""
name = 'NuSMV'
aliases = ['nusmv']
filenames = ['*.smv']
mimetypes = []
url = 'https://... |
class NuSMVLexer(RegexLexer):
'''
Lexer for the NuSMV language.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.38 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 61 | 7 | 45 | 8 | 44 | 17 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,428 | 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/snobol.py | pygments.lexers.snobol.SnobolLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation
from pygments.lexer import RegexLexer, bygroups
class SnobolLexer(RegexLexer):
"""
Lexer for the SNOBOL4 programming language.
Recognizes the common ASCII equivalents of the original SNOBOL4 operators.
Does ... |
class SnobolLexer(RegexLexer):
'''
Lexer for the SNOBOL4 programming language.
Recognizes the common ASCII equivalents of the original SNOBOL4 operators.
Does not require spaces around binary operators.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.48 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 65 | 3 | 44 | 8 | 43 | 21 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,429 | 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/solidity.py | pygments.lexers.solidity.SolidityLexer | from pygments.lexer import RegexLexer, bygroups, include, words
from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Whitespace
class SolidityLexer(RegexLexer):
"""
For Solidity source code.
"""
name = 'Solidity'
aliases = ['solidity']
filenames = ['*.... |
class SolidityLexer(RegexLexer):
'''
For Solidity source code.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.06 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 70 | 3 | 64 | 9 | 63 | 4 | 9 | 9 | 8 | 0 | 5 | 0 | 0 |
321,430 | 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/soong.py | pygments.lexers.soong.SoongLexer | from pygments.lexer import RegexLexer, bygroups, include
from pygments.token import Comment, Name, Number, Operator, Punctuation, String, Whitespace
class SoongLexer(RegexLexer):
name = 'Soong'
version_added = '2.18'
url = 'https://source.android.com/docs/setup/reference/androidbp'
aliases = ['androidb... |
class SoongLexer(RegexLexer):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 62 | 4 | 53 | 7 | 52 | 11 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,431 | 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/sophia.py | pygments.lexers.sophia.SophiaLexer | from pygments.token import Comment, Keyword, Name, Number, Operator, Punctuation, String, Text
from pygments.lexer import RegexLexer, include, default, words
class SophiaLexer(RegexLexer):
"""
A Sophia lexer.
"""
name = 'Sophia'
aliases = ['sophia']
filenames = ['*.aes']
mimetypes = []
... |
class SophiaLexer(RegexLexer):
'''
A Sophia lexer.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 84 | 12 | 69 | 12 | 68 | 10 | 12 | 12 | 11 | 0 | 5 | 0 | 0 |
321,432 | 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/special.py | pygments.lexers.special.OutputLexer | from pygments.token import Token, Error, Text, Generic
from pygments.lexer import Lexer, line_re
class OutputLexer(Lexer):
"""
Simple lexer that highlights everything as ``Token.Generic.Output``.
"""
name = 'Text output'
aliases = ['output']
url = ''
version_added = '2.10'
_example = 'o... |
class OutputLexer(Lexer):
'''
Simple lexer that highlights everything as ``Token.Generic.Output``.
'''
def get_tokens_unprocessed(self, text):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.38 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 22 | 12 | 1 | 8 | 7 | 6 | 3 | 8 | 7 | 6 | 1 | 4 | 0 | 1 |
321,433 | 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/special.py | pygments.lexers.special.RawTokenLexer | import ast
from pygments.token import Token, Error, Text, Generic
from pygments.lexer import Lexer, line_re
from pygments.util import get_choice_opt
class RawTokenLexer(Lexer):
"""
Recreate a token stream formatted with the `RawTokenFormatter`.
Additional options accepted:
`compress`
If set t... |
class RawTokenLexer(Lexer):
'''
Recreate a token stream formatted with the `RawTokenFormatter`.
Additional options accepted:
`compress`
If set to ``"gz"`` or ``"bz2"``, decompress the token stream with
the given compression algorithm before lexing (default: ``""``).
'''
... | 4 | 1 | 15 | 0 | 15 | 0 | 5 | 0.18 | 1 | 5 | 0 | 0 | 3 | 1 | 3 | 24 | 65 | 6 | 51 | 20 | 45 | 9 | 49 | 20 | 43 | 8 | 4 | 5 | 16 |
321,434 | 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/special.py | pygments.lexers.special.TextLexer | from pygments.token import Token, Error, Text, Generic
from pygments.lexer import Lexer, line_re
class TextLexer(Lexer):
"""
"Null" lexer, doesn't highlight anything.
"""
name = 'Text only'
aliases = ['text']
filenames = ['*.txt']
mimetypes = ['text/plain']
url = ''
version_added = ... |
class TextLexer(Lexer):
'''
"Null" lexer, doesn't highlight anything.
'''
def get_tokens_unprocessed(self, text):
pass
def analyse_text(text):
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.25 | 1 | 0 | 0 | 0 | 2 | 0 | 2 | 23 | 18 | 3 | 12 | 10 | 9 | 3 | 12 | 10 | 9 | 1 | 4 | 0 | 2 |
321,435 | 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/spice.py | pygments.lexers.spice.SpiceLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Whitespace
from pygments.lexer import RegexLexer, bygroups, words
class SpiceLexer(RegexLexer):
"""
For Spice source.
"""
name = 'Spice'
url = 'https://www.spicelang.com'
filenames = ['*.spice']
... |
class SpiceLexer(RegexLexer):
'''
For Spice source.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 53 | 1 | 42 | 8 | 41 | 11 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,436 | 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/sql.py | pygments.lexers.sql.GoogleSqlLexer | import re
from pygments.lexers import _googlesql_builtins
import collections
from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal
from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, words
class GoogleSqlLexer(RegexLexer):
""... |
class GoogleSqlLexer(RegexLexer):
'''
GoogleSQL is Google's standard SQL dialect, formerly known as ZetaSQL.
The list of keywords includes reserved words for future use.
'''
def analyse_text(text):
pass | 2 | 1 | 4 | 0 | 4 | 0 | 1 | 0.55 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 30 | 158 | 27 | 95 | 12 | 93 | 52 | 12 | 11 | 10 | 1 | 5 | 0 | 1 |
321,437 | 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/sql.py | pygments.lexers.sql.MySqlLexer | from pygments.lexers import _mysql_builtins
from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal
import re
from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, words
class MySqlLexer(RegexLexer):
"""The Oracle MySQL lexer.
... |
class MySqlLexer(RegexLexer):
'''The Oracle MySQL lexer.
This lexer does not attempt to maintain strict compatibility with
MariaDB syntax or keywords. Although MySQL and MariaDB's common code
history suggests there may be significant overlap between the two,
compatibility between the two is not a t... | 2 | 1 | 17 | 0 | 15 | 2 | 4 | 0.5 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 187 | 29 | 117 | 13 | 115 | 59 | 18 | 13 | 16 | 4 | 5 | 1 | 4 |
321,438 | 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/sql.py | pygments.lexers.sql.PlPgsqlLexer | from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, words
from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal
from pygments.lexers import _postgres_builtins
import re
class PlPgsqlLexer(PostgresBase, RegexLexer):
"""
Ha... |
class PlPgsqlLexer(PostgresBase, RegexLexer):
'''
Handle the extra syntax in Pl/pgSQL language.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.33 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 31 | 33 | 3 | 24 | 9 | 23 | 8 | 16 | 9 | 15 | 0 | 5 | 2 | 0 |
321,439 | 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/sql.py | pygments.lexers.sql.PostgresBase | from pygments.lexers import get_lexer_by_name, ClassNotFound
class PostgresBase:
"""Base class for Postgres-related lexers.
This is implemented as a mixin to avoid the Lexer metaclass kicking in.
this way the different lexer don't have a common Lexer ancestor. If they
had, _tokens could be created on ... |
class PostgresBase:
'''Base class for Postgres-related lexers.
This is implemented as a mixin to avoid the Lexer metaclass kicking in.
this way the different lexer don't have a common Lexer ancestor. If they
had, _tokens could be created on this ancestor and not updated for the
other classes, resul... | 3 | 1 | 13 | 1 | 10 | 2 | 4 | 0.48 | 0 | 2 | 0 | 3 | 2 | 1 | 2 | 2 | 35 | 4 | 21 | 6 | 18 | 10 | 21 | 6 | 18 | 7 | 0 | 2 | 8 |
321,440 | 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/sql.py | pygments.lexers.sql.PostgresConsoleLexer | from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, words
from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal
from pygments.lexers import get_lexer_by_name, ClassNotFound
class PostgresConsoleLexer(Lexer):
"""
Lexer for... |
class PostgresConsoleLexer(Lexer):
'''
Lexer for psql sessions.
'''
def get_tokens_unprocessed(self, data):
pass | 2 | 1 | 59 | 8 | 40 | 11 | 10 | 0.3 | 1 | 2 | 2 | 0 | 1 | 0 | 1 | 22 | 71 | 10 | 47 | 17 | 45 | 14 | 41 | 17 | 39 | 10 | 4 | 4 | 10 |
321,441 | 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/sql.py | pygments.lexers.sql.PostgresExplainLexer | from pygments.lexers import _postgres_builtins
from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, words
from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal
class PostgresExplainLexer(RegexLexer):
"""
Handle PostgreSQL ... |
class PostgresExplainLexer(RegexLexer):
'''
Handle PostgreSQL EXPLAIN output
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.33 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 184 | 29 | 122 | 8 | 121 | 40 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,442 | 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/sql.py | pygments.lexers.sql.PostgresLexer | from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal
from pygments.lexers import _postgres_builtins
import re
from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, words
class PostgresLexer(PostgresBase, RegexLexer):
"""
L... |
class PostgresLexer(PostgresBase, RegexLexer):
'''
Lexer for the PostgreSQL dialect of SQL.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.22 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 31 | 55 | 4 | 46 | 8 | 45 | 10 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,443 | 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/sql.py | pygments.lexers.sql.PsqlRegexLexer | import re
from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, words
from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal
class PsqlRegexLexer(PostgresBase, RegexLexer):
"""
Extend the PostgresLexer adding support specifi... |
class PsqlRegexLexer(PostgresBase, RegexLexer):
'''
Extend the PostgresLexer adding support specific for psql commands.
This is not a complete psql lexer yet as it lacks prompt support
and output rendering.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.38 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 31 | 25 | 4 | 16 | 5 | 15 | 6 | 7 | 5 | 6 | 0 | 5 | 0 | 0 |
321,444 | 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/sql.py | pygments.lexers.sql.RqlLexer | import re
from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal
from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, words
class RqlLexer(RegexLexer):
"""
Lexer for Relation Query Language.
"""
name = 'RQL'
url... |
class RqlLexer(RegexLexer):
'''
Lexer for Relation Query Language.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.13 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 27 | 1 | 23 | 9 | 22 | 3 | 9 | 9 | 8 | 0 | 5 | 0 | 0 |
321,445 | 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/sql.py | pygments.lexers.sql.SqlLexer | from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, words
from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal
import re
from pygments.lexers import _sql_builtins
class SqlLexer(RegexLexer):
"""
Lexer for Structured Quer... |
class SqlLexer(RegexLexer):
'''
Lexer for Structured Query Language. Currently, this lexer does
not recognize any special syntax except ANSI SQL.
'''
def analyse_text(self, text):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.29 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 39 | 3 | 31 | 10 | 29 | 9 | 11 | 10 | 9 | 1 | 5 | 0 | 1 |
321,446 | 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/sql.py | pygments.lexers.sql.SqliteConsoleLexer | from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal
from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, words
class SqliteConsoleLexer(Lexer):
"""
Lexer for example sessions using sqlite3.
"""
name = 'sqlite3con... |
class SqliteConsoleLexer(Lexer):
'''
Lexer for example sessions using sqlite3.
'''
def get_tokens_unprocessed(self, data):
pass | 2 | 1 | 27 | 1 | 26 | 0 | 6 | 0.09 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 22 | 40 | 3 | 34 | 15 | 32 | 3 | 28 | 15 | 26 | 6 | 4 | 3 | 6 |
321,447 | 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/sql.py | pygments.lexers.sql.TransactSqlLexer | from pygments.lexers import _tsql_builtins
import re
from pygments.token import Punctuation, Whitespace, Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal
from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, words
class TransactSqlLexer(RegexLexer):
"""
Transact-SQL (T-... |
class TransactSqlLexer(RegexLexer):
'''
Transact-SQL (T-SQL) is Microsoft's and Sybase's proprietary extension to
SQL.
The list of keywords includes ODBC and keywords reserved for future use.
'''
def analyse_text(text):
pass | 2 | 1 | 27 | 0 | 22 | 5 | 7 | 0.3 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 84 | 5 | 63 | 14 | 61 | 19 | 25 | 14 | 23 | 7 | 5 | 2 | 7 |
321,448 | 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/sql.py | pygments.lexers.sql.lookahead | class lookahead:
"""Wrap an iterator and allow pushing back an item."""
def __init__(self, x):
self.iter = iter(x)
self._nextitem = None
def __iter__(self):
return self
def send(self, i):
self._nextitem = i
return i
def __next__(self):
if self._nex... | class lookahead:
'''Wrap an iterator and allow pushing back an item.'''
def __init__(self, x):
pass
def __iter__(self):
pass
def send(self, i):
pass
def __next__(self):
pass | 5 | 1 | 4 | 0 | 4 | 0 | 1 | 0.06 | 0 | 0 | 0 | 0 | 4 | 2 | 4 | 4 | 20 | 3 | 16 | 8 | 11 | 1 | 16 | 8 | 11 | 2 | 0 | 1 | 5 |
321,449 | 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/srcinfo.py | pygments.lexers.srcinfo.SrcinfoLexer | from pygments.lexer import RegexLexer, words
from pygments.token import Text, Comment, Keyword, Name, Operator, Whitespace
class SrcinfoLexer(RegexLexer):
"""Lexer for .SRCINFO files used by Arch Linux Packages.
"""
name = 'Srcinfo'
aliases = ['srcinfo']
filenames = ['.SRCINFO']
url = 'https://... |
class SrcinfoLexer(RegexLexer):
'''Lexer for .SRCINFO files used by Arch Linux Packages.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 28 | 2 | 24 | 7 | 23 | 4 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,450 | 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/stata.py | pygments.lexers.stata.StataLexer | from pygments.lexer import RegexLexer, default, include, words
from pygments.token import Comment, Keyword, Name, Number, String, Text, Operator
from pygments.lexers._stata_builtins import builtins_base, builtins_functions
import re
class StataLexer(RegexLexer):
"""
For Stata do files.
"""
name = 'Stat... |
class StataLexer(RegexLexer):
'''
For Stata do files.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 150 | 2 | 113 | 9 | 112 | 57 | 9 | 9 | 8 | 0 | 5 | 0 | 0 |
321,451 | 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/supercollider.py | pygments.lexers.supercollider.SuperColliderLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation
import re
from pygments.lexer import RegexLexer, include, words, default
class SuperColliderLexer(RegexLexer):
"""
For SuperCollider source code.
"""
name = 'SuperCollider'
url = 'http://supercollider.git... |
class SuperColliderLexer(RegexLexer):
'''
For SuperCollider source code.
'''
def analyse_text(text):
'''We're searching for a common function and a unique keyword here.'''
pass | 2 | 2 | 4 | 0 | 3 | 1 | 2 | 0.12 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 75 | 3 | 68 | 10 | 66 | 8 | 12 | 10 | 10 | 2 | 5 | 1 | 2 |
321,452 | 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/tablegen.py | pygments.lexers.tablegen.TableGenLexer | from pygments.token import Comment, Keyword, Name, Number, Operator, Punctuation, String, Text, Whitespace, Error
from pygments.lexers.c_cpp import CppLexer
from pygments.lexer import RegexLexer, include, words, using
class TableGenLexer(RegexLexer):
"""
Lexer for TableGen
"""
name = 'TableGen'
url... |
class TableGenLexer(RegexLexer):
'''
Lexer for TableGen
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.53 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 74 | 11 | 45 | 7 | 44 | 24 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,453 | 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/tact.py | pygments.lexers.tact.TactLexer | from pygments.token import Comment, Operator, Keyword, Name, String, Number, Whitespace, Punctuation
from pygments.lexer import RegexLexer, include, bygroups, words
class TactLexer(RegexLexer):
"""For Tact source code."""
name = 'Tact'
aliases = ['tact']
filenames = ['*.tact']
url = 'https://tact-l... |
class TactLexer(RegexLexer):
'''For Tact source code.'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.07 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 286 | 2 | 283 | 7 | 282 | 21 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,454 | 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/tal.py | pygments.lexers.tal.TalLexer | from pygments.token import Comment, Keyword, Name, String, Number, Punctuation, Whitespace, Literal
from pygments.lexer import RegexLexer, words
class TalLexer(RegexLexer):
"""
For Uxntal source code.
"""
name = 'Tal'
aliases = ['tal', 'uxntal']
filenames = ['*.tal']
mimetypes = ['text/x-ux... |
class TalLexer(RegexLexer):
'''
For Uxntal source code.
'''
def analyse_text(text):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.67 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 58 | 4 | 48 | 10 | 46 | 32 | 11 | 10 | 9 | 1 | 5 | 0 | 1 |
321,455 | 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/tcl.py | pygments.lexers.tcl.TclLexer | from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Whitespace
from pygments.util import shebang_matches
from pygments.lexer import RegexLexer, include, words
class TclLexer(RegexLexer):
"""
For Tcl source code.
"""
keyword_cmds_re = words(('after', 'apply', 'array', 'bre... |
class TclLexer(RegexLexer):
'''
For Tcl source code.
'''
def _gen_command_rules(keyword_cmds_re, builtin_cmds_re, context=''):
pass
def analyse_text(text):
pass | 3 | 1 | 5 | 0 | 5 | 1 | 1 | 0.13 | 1 | 0 | 0 | 0 | 2 | 0 | 2 | 31 | 130 | 6 | 121 | 12 | 118 | 16 | 14 | 12 | 11 | 1 | 5 | 0 | 2 |
321,456 | 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/teal.py | pygments.lexers.teal.TealLexer | from pygments.token import Comment, Name, Number, String, Text, Keyword, Whitespace
from pygments.lexer import RegexLexer, bygroups, include, words
class TealLexer(RegexLexer):
"""
For the Transaction Execution Approval Language (TEAL)
For more information about the grammar, see:
https://github.com/al... |
class TealLexer(RegexLexer):
'''
For the Transaction Execution Approval Language (TEAL)
For more information about the grammar, see:
https://github.com/algorand/go-algorand/blob/master/data/transactions/logic/assembler.go
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.22 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 71 | 3 | 60 | 10 | 59 | 13 | 10 | 10 | 9 | 0 | 5 | 0 | 0 |
321,457 | 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.Angular2HtmlLexer | from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class Angular2HtmlLexer(DelegatingLexer):
"""
Subclass of the `Angular2Lexer` that highlights unlexed data with the
`HtmlLexer`.
"""
... |
class Angular2HtmlLexer(DelegatingLexer):
'''
Subclass of the `Angular2Lexer` 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,458 | 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.Angular2Lexer | 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 Angular2Lexer(RegexLexer):
"""
Generic angular2 template lexer.
... |
class Angular2Lexer(RegexLexer):
'''
Generic angular2 template lexer.
Highlights only the Angular template tags (stuff between `{{` and `}}` and
special attributes: '(event)=', '[property]=', '[(twoWayBinding)]=').
Everything else is left for a delegating lexer.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 60 | 10 | 38 | 6 | 37 | 19 | 6 | 6 | 5 | 0 | 5 | 0 | 0 |
321,459 | 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.CheetahHtmlLexer | from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class CheetahHtmlLexer(DelegatingLexer):
"""
Subclass of the `CheetahLexer` that highlights unlexed data
with the `HtmlLexer`.
"""
na... |
class CheetahHtmlLexer(DelegatingLexer):
'''
Subclass of the `CheetahLexer` 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,460 | 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.CheetahJavascriptLexer | from pygments.lexers.javascript import JavascriptLexer, LassoLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class CheetahJavascriptLexer(DelegatingLexer):
"""
Subclass of the `CheetahLexer` that highlights unlexed data
with the `Javasc... |
class CheetahJavascriptLexer(DelegatingLexer):
'''
Subclass of the `CheetahLexer` that highlights unlexed data
with the `JavascriptLexer`.
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.29 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 20 | 2 | 14 | 7 | 12 | 4 | 8 | 7 | 6 | 1 | 5 | 0 | 1 |
321,461 | 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.CheetahLexer | 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 CheetahLexer(RegexLexer):
"""
Generic cheetah templates lexer. C... |
class CheetahLexer(RegexLexer):
'''
Generic cheetah templates lexer. Code that isn't Cheetah
markup is yielded as `Token.Other`. This also works for
`spitfire templates`_ which use the same syntax.
.. _spitfire templates: http://code.google.com/p/spitfire/
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.48 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 43 | 3 | 33 | 8 | 32 | 16 | 8 | 8 | 7 | 0 | 5 | 0 | 0 |
321,462 | 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.CheetahPythonLexer | 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 CheetahPythonLexer(Lexer)... |
class CheetahPythonLexer(Lexer):
'''
Lexer for handling Cheetah's special $ tokens in Python syntax.
'''
def get_tokens_unprocessed(self, text):
pass | 2 | 1 | 6 | 0 | 6 | 0 | 3 | 0.43 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 22 | 11 | 1 | 7 | 4 | 5 | 3 | 7 | 4 | 5 | 3 | 4 | 2 | 3 |
321,463 | 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.CheetahXmlLexer | from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class CheetahXmlLexer(DelegatingLexer):
"""
Subclass of the `CheetahLexer` that highlights unlexed data
with the `XmlLexer`.
"""
name... |
class CheetahXmlLexer(DelegatingLexer):
'''
Subclass of the `CheetahLexer` 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,464 | 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.ColdfusionCFCLexer | from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class ColdfusionCFCLexer(DelegatingLexer):
"""
Coldfusion markup/script components
"""
name = 'Coldfusion CFC'
aliases = ['cfc']
filenames = ['*.cfc']
mimetypes = []
url = 'h... |
class ColdfusionCFCLexer(DelegatingLexer):
'''
Coldfusion markup/script components
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.33 | 1 | 3 | 2 | 0 | 1 | 0 | 1 | 24 | 13 | 1 | 9 | 8 | 7 | 3 | 9 | 8 | 7 | 1 | 5 | 0 | 1 |
321,465 | 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.ColdfusionHtmlLexer | from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class ColdfusionHtmlLexer(DelegatingLexer):
"""
Coldfusion markup in html
"""
name = 'Coldfusion HTML'
aliases = ['cfm']
filename... |
class ColdfusionHtmlLexer(DelegatingLexer):
'''
Coldfusion markup in html
'''
def __init__(self, **options):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 0.33 | 1 | 3 | 1 | 0 | 1 | 0 | 1 | 24 | 13 | 1 | 9 | 8 | 7 | 3 | 9 | 8 | 7 | 1 | 5 | 0 | 1 |
321,466 | 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.ColdfusionLexer | 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 ColdfusionLexer(RegexLexer):
"""
Coldfusion statements... |
class ColdfusionLexer(RegexLexer):
'''
Coldfusion statements
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.21 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 49 | 2 | 42 | 9 | 41 | 9 | 9 | 9 | 8 | 0 | 5 | 0 | 0 |
321,467 | 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.ColdfusionMarkupLexer | 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 ColdfusionMarkupLexer(RegexLexer):
"""
Coldfusion markup only
... |
class ColdfusionMarkupLexer(RegexLexer):
'''
Coldfusion markup only
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.28 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 45 | 1 | 39 | 7 | 38 | 11 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,468 | 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.CssDjangoLexer | from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
from pygments.lexers.css import CssLexer
class CssDjangoLexer(DelegatingLexer):
"""
Subclass of the `DjangoLexer` that highlights unlexed data with the
`CssLexer`.
"""
name = 'CSS+Django... |
class CssDjangoLexer(DelegatingLexer):
'''
Subclass of the `DjangoLexer` that highlights unlexed data with the
`CssLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.33 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 19 | 3 | 12 | 10 | 9 | 4 | 12 | 10 | 9 | 1 | 5 | 0 | 2 |
321,469 | 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.CssErbLexer | from pygments.lexers.css import CssLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class CssErbLexer(DelegatingLexer):
"""
Subclass of `ErbLexer` which highlights unlexed data with the `CssLexer`.
"""
name = 'CSS+Ruby'
aliases =... |
class CssErbLexer(DelegatingLexer):
'''
Subclass of `ErbLexer` which highlights unlexed data with the `CssLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.27 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 17 | 3 | 11 | 9 | 8 | 3 | 11 | 9 | 8 | 1 | 5 | 0 | 2 |
321,470 | 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.CssGenshiLexer | from pygments.lexers.css import CssLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class CssGenshiLexer(DelegatingLexer):
"""
A lexer that highlights CSS definitions in genshi text templates.
"""
name = 'CSS+Genshi Text'
aliases... |
class CssGenshiLexer(DelegatingLexer):
'''
A lexer that highlights CSS definitions in genshi text templates.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.27 | 1 | 4 | 2 | 0 | 2 | 0 | 2 | 25 | 17 | 3 | 11 | 9 | 8 | 3 | 11 | 9 | 8 | 1 | 5 | 0 | 2 |
321,471 | 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.CssPhpLexer | from pygments.lexers.css import CssLexer
from pygments.lexers.php import PhpLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class CssPhpLexer(DelegatingLexer):
"""
Subclass of `PhpLexer` which highlights unmatched data with the `CssLexer`.
... |
class CssPhpLexer(DelegatingLexer):
'''
Subclass of `PhpLexer` which highlights unmatched data with the `CssLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.27 | 1 | 3 | 0 | 0 | 2 | 0 | 2 | 25 | 17 | 3 | 11 | 9 | 8 | 3 | 11 | 9 | 8 | 1 | 5 | 0 | 2 |
321,472 | 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.CssSmartyLexer | from pygments.lexers.css import CssLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class CssSmartyLexer(DelegatingLexer):
"""
Subclass of the `SmartyLexer` that highlights unlexed data with the
`CssLexer`.
"""
name = 'CSS+Smarty... |
class CssSmartyLexer(DelegatingLexer):
'''
Subclass of the `SmartyLexer` that highlights unlexed data with the
`CssLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.36 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 18 | 3 | 11 | 9 | 8 | 4 | 11 | 9 | 8 | 1 | 5 | 0 | 2 |
321,473 | 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.DjangoLexer | 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 DjangoLexer(RegexLexer):
"""
Generic `Django <https://... |
class DjangoLexer(RegexLexer):
'''
Generic `Django <https://www.djangoproject.com/documentation/templates/>`_
and `Jinja <https://jinja.palletsprojects.com>`_ template lexer.
It just highlights django/jinja code between the preprocessor directives,
other data is left untouched by the lexer.
'''... | 2 | 1 | 9 | 0 | 9 | 0 | 4 | 0.19 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 83 | 5 | 68 | 10 | 66 | 13 | 17 | 10 | 15 | 4 | 5 | 1 | 4 |
321,474 | 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.ErbLexer | 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 ErbLexer(Lexer):
"""
Generic ERB (Ruby Templating) lex... |
class ErbLexer(Lexer):
'''
Generic ERB (Ruby Templating) lexer.
Just highlights ruby code between the preprocessor directives, other data
is left untouched by the lexer.
All options are also forwarded to the `RubyLexer`.
'''
def __init__(self, **options):
pass
def get_tokens_u... | 4 | 2 | 25 | 0 | 21 | 4 | 5 | 0.29 | 1 | 2 | 0 | 0 | 3 | 1 | 3 | 24 | 94 | 7 | 69 | 19 | 64 | 20 | 60 | 19 | 55 | 13 | 4 | 5 | 16 |
321,475 | 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.EvoqueHtmlLexer | from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class EvoqueHtmlLexer(DelegatingLexer):
"""
Subclass of the `EvoqueLexer` that highlights unlexed data with the
`HtmlLexer`.
"""
name... |
class EvoqueHtmlLexer(DelegatingLexer):
'''
Subclass of the `EvoqueLexer` that highlights unlexed data with the
`HtmlLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.36 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 17 | 2 | 11 | 9 | 8 | 4 | 11 | 9 | 8 | 1 | 5 | 0 | 2 |
321,476 | 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.EvoqueLexer | import re
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 EvoqueLexer(Reg... |
class EvoqueLexer(RegexLexer):
'''
For files using the Evoque templating system.
'''
def analyse_text(text):
'''Evoque templates use $evoque, which is unique.'''
pass | 2 | 2 | 4 | 0 | 3 | 1 | 2 | 0.53 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 30 | 56 | 3 | 40 | 10 | 38 | 21 | 12 | 10 | 10 | 2 | 5 | 1 | 2 |
321,477 | 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.EvoqueXmlLexer | from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class EvoqueXmlLexer(DelegatingLexer):
"""
Subclass of the `EvoqueLexer` that highlights unlexed data with the
`XmlLexer`.
"""
name =... |
class EvoqueXmlLexer(DelegatingLexer):
'''
Subclass of the `EvoqueLexer` that highlights unlexed data with the
`XmlLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.36 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 17 | 2 | 11 | 9 | 8 | 4 | 11 | 9 | 8 | 1 | 5 | 0 | 2 |
321,478 | 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.GenshiLexer | import re
from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class GenshiLexer(DelegatingLexer):
"""
A lexer that highlights `genshi <https://genshi.edgewall.org/>`_ and
`kid <http://kid-templ... |
class GenshiLexer(DelegatingLexer):
'''
A lexer that highlights `genshi <https://genshi.edgewall.org/>`_ and
`kid <http://kid-templating.org/>`_ kid XML templates.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 5 | 0 | 5 | 0 | 2 | 0.24 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 24 | 3 | 17 | 11 | 14 | 4 | 17 | 11 | 14 | 3 | 5 | 1 | 4 |
321,479 | 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.GenshiMarkupLexer | import re
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 GenshiMarkupLex... |
class GenshiMarkupLexer(RegexLexer):
'''
Base lexer for Genshi markup, used by `HtmlGenshiLexer` and
`GenshiLexer`.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.24 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 62 | 2 | 55 | 3 | 54 | 13 | 3 | 3 | 2 | 0 | 5 | 0 | 0 |
321,480 | 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.GenshiTextLexer | 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 GenshiTextLexer(RegexLexe... |
class GenshiTextLexer(RegexLexer):
'''
A lexer that highlights genshi text templates.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.41 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 34 | 2 | 29 | 7 | 28 | 12 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,481 | 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.HandlebarsHtmlLexer | from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class HandlebarsHtmlLexer(DelegatingLexer):
"""
Subclass of the `HandlebarsLexer` that highlights unlexed data with the
`HtmlLexer`.
"""
... |
class HandlebarsHtmlLexer(DelegatingLexer):
'''
Subclass of the `HandlebarsLexer` 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,482 | 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.HandlebarsLexer | 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 HandlebarsLexer(RegexLexer):
"""
Generic handlebars template lex... |
class HandlebarsLexer(RegexLexer):
'''
Generic handlebars template lexer.
Highlights only the Handlebars template tags (stuff between `{{` and `}}`).
Everything else is left for a delegating lexer.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.38 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 74 | 13 | 48 | 6 | 47 | 18 | 6 | 6 | 5 | 0 | 5 | 0 | 0 |
321,483 | 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.HtmlDjangoLexer | 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 HtmlDjangoLexer(DelegatingLexer):
"""
Subclass of the `DjangoLexer` that hig... |
class HtmlDjangoLexer(DelegatingLexer):
'''
Subclass of the `DjangoLexer` that highlights unlexed data with the
`HtmlLexer`.
Nested Javascript and CSS is highlighted too.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 4 | 0 | 4 | 0 | 2 | 0.33 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 24 | 4 | 15 | 11 | 12 | 5 | 15 | 11 | 12 | 2 | 5 | 1 | 3 |
321,484 | 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.HtmlGenshiLexer | import re
from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class HtmlGenshiLexer(DelegatingLexer):
"""
A lexer that highlights `genshi <https://genshi.edgewall.org/>`_ and
`kid <http://kid-t... |
class HtmlGenshiLexer(DelegatingLexer):
'''
A lexer that highlights `genshi <https://genshi.edgewall.org/>`_ and
`kid <http://kid-templating.org/>`_ kid HTML templates.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 5 | 0 | 5 | 0 | 2 | 0.25 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 23 | 3 | 16 | 10 | 13 | 4 | 16 | 10 | 13 | 3 | 5 | 1 | 4 |
321,485 | 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.HtmlPhpLexer | 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 HtmlPhpLexer(DelegatingLexer):
"""
... |
class HtmlPhpLexer(DelegatingLexer):
'''
Subclass of `PhpLexer` that highlights unhandled data with the `HtmlLexer`.
Nested Javascript and CSS is highlighted too.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 4 | 0 | 4 | 0 | 2 | 0.22 | 1 | 3 | 0 | 0 | 2 | 0 | 2 | 25 | 27 | 5 | 18 | 11 | 15 | 4 | 15 | 11 | 12 | 2 | 5 | 1 | 3 |
321,486 | 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.HtmlSmartyLexer | 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 HtmlSmartyLexer(DelegatingLexer):
"""
Subclass of the `SmartyLexer` that hig... |
class HtmlSmartyLexer(DelegatingLexer):
'''
Subclass of the `SmartyLexer` that highlights unlexed data with the
`HtmlLexer`.
Nested Javascript and CSS is highlighted too.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 4 | 0 | 4 | 0 | 2 | 0.36 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 23 | 4 | 14 | 10 | 11 | 5 | 14 | 10 | 11 | 2 | 5 | 1 | 3 |
321,487 | 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.JavascriptDjangoLexer | from pygments.lexers.javascript import JavascriptLexer, LassoLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class JavascriptDjangoLexer(DelegatingLexer):
"""
Subclass of the `DjangoLexer` that highlights unlexed data with the
`Javascri... |
class JavascriptDjangoLexer(DelegatingLexer):
'''
Subclass of the `DjangoLexer` that highlights unlexed data with the
`JavascriptLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.22 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 25 | 3 | 18 | 10 | 15 | 4 | 12 | 10 | 9 | 1 | 5 | 0 | 2 |
321,488 | 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.JavascriptErbLexer | from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
from pygments.lexers.javascript import JavascriptLexer, LassoLexer
class JavascriptErbLexer(DelegatingLexer):
"""
Subclass of `ErbLexer` which highlights unlexed data with the
`JavascriptLexer`.... |
class JavascriptErbLexer(DelegatingLexer):
'''
Subclass of `ErbLexer` which highlights unlexed data with the
`JavascriptLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.31 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 20 | 3 | 13 | 9 | 10 | 4 | 11 | 9 | 8 | 1 | 5 | 0 | 2 |
321,489 | 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.JavascriptGenshiLexer | from pygments.lexers.javascript import JavascriptLexer, LassoLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class JavascriptGenshiLexer(DelegatingLexer):
"""
A lexer that highlights javascript code in genshi text templates.
"""
nam... |
class JavascriptGenshiLexer(DelegatingLexer):
'''
A lexer that highlights javascript code in genshi text templates.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.21 | 1 | 4 | 2 | 0 | 2 | 0 | 2 | 25 | 20 | 3 | 14 | 9 | 11 | 3 | 11 | 9 | 8 | 1 | 5 | 0 | 2 |
321,490 | 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.JavascriptPhpLexer | from pygments.lexers.javascript import JavascriptLexer, LassoLexer
from pygments.lexers.php import PhpLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class JavascriptPhpLexer(DelegatingLexer):
"""
Subclass of `PhpLexer` which highlights unm... |
class JavascriptPhpLexer(DelegatingLexer):
'''
Subclass of `PhpLexer` which highlights unmatched data with the
`JavascriptLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.31 | 1 | 3 | 0 | 0 | 2 | 0 | 2 | 25 | 20 | 3 | 13 | 9 | 10 | 4 | 11 | 9 | 8 | 1 | 5 | 0 | 2 |
321,491 | 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.JavascriptSmartyLexer | from pygments.lexers.javascript import JavascriptLexer, LassoLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class JavascriptSmartyLexer(DelegatingLexer):
"""
Subclass of the `SmartyLexer` that highlights unlexed data with the
`Javascri... |
class JavascriptSmartyLexer(DelegatingLexer):
'''
Subclass of the `SmartyLexer` that highlights unlexed data with the
`JavascriptLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.31 | 1 | 3 | 1 | 0 | 2 | 0 | 2 | 25 | 20 | 3 | 13 | 9 | 10 | 4 | 11 | 9 | 8 | 1 | 5 | 0 | 2 |
321,492 | 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.JspLexer | 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 JspLexer(DelegatingLexer):
... |
class JspLexer(DelegatingLexer):
'''
Lexer for Java Server Pages.
'''
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,493 | 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.JspRootLexer | 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 JspRootLexer(Reg... |
class JspRootLexer(RegexLexer):
'''
Base for the `JspLexer`. Yields `Token.Other` for area outside of
JSP tags.
.. versionadded:: 0.7
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.57 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 23 | 2 | 14 | 2 | 13 | 8 | 2 | 2 | 1 | 0 | 5 | 0 | 0 |
321,494 | 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.LassoCssLexer | import re
from pygments.lexers.javascript import JavascriptLexer, LassoLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
from pygments.lexers.css import CssLexer
class LassoCssLexer(DelegatingLexer):
"""
Subclass of the `LassoLexer` which hig... |
class LassoCssLexer(DelegatingLexer):
'''
Subclass of the `LassoLexer` which highlights unhandled data with the
`CssLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 5 | 0 | 5 | 0 | 2 | 0.24 | 1 | 3 | 0 | 0 | 2 | 0 | 2 | 25 | 24 | 3 | 17 | 10 | 14 | 4 | 17 | 10 | 14 | 3 | 5 | 1 | 4 |
321,495 | 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.LassoHtmlLexer | from pygments.util import html_doctype_matches, looks_like_xml
from pygments.lexers.javascript import JavascriptLexer, LassoLexer
from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class LassoHtmlLexer(De... |
class LassoHtmlLexer(DelegatingLexer):
'''
Subclass of the `LassoLexer` which highlights unhandled data with the
`HtmlLexer`.
Nested JavaScript and CSS is also highlighted.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 4 | 0 | 4 | 1 | 2 | 0.35 | 1 | 3 | 0 | 0 | 2 | 0 | 2 | 25 | 26 | 4 | 17 | 10 | 14 | 6 | 14 | 10 | 11 | 2 | 5 | 1 | 3 |
321,496 | 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.LassoJavascriptLexer | from pygments.lexers.javascript import JavascriptLexer, LassoLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class LassoJavascriptLexer(DelegatingLexer):
"""
Subclass of the `LassoLexer` which highlights unhandled data with the
`Javascr... |
class LassoJavascriptLexer(DelegatingLexer):
'''
Subclass of the `LassoLexer` which highlights unhandled data with the
`JavascriptLexer`.
'''
def __init__(self, **options):
pass
def analyse_text(text):
pass | 3 | 1 | 3 | 0 | 3 | 0 | 1 | 0.27 | 1 | 3 | 0 | 0 | 2 | 0 | 2 | 25 | 22 | 3 | 15 | 10 | 12 | 4 | 13 | 10 | 10 | 1 | 5 | 0 | 2 |
321,497 | 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.LassoXmlLexer | from pygments.util import html_doctype_matches, looks_like_xml
from pygments.lexers.javascript import JavascriptLexer, LassoLexer
from pygments.lexers.html import HtmlLexer, XmlLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class LassoXmlLexer(Del... |
class LassoXmlLexer(DelegatingLexer):
'''
Subclass of the `LassoLexer` which highlights unhandled 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 | 0 | 0 | 2 | 0 | 2 | 25 | 22 | 3 | 15 | 10 | 12 | 4 | 14 | 10 | 11 | 2 | 5 | 1 | 3 |
321,498 | 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.LiquidLexer | 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 LiquidLexer(RegexLexer):
"""
Lexer for Liquid templates.
"""... |
class LiquidLexer(RegexLexer):
'''
Lexer for Liquid templates.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.22 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 203 | 33 | 155 | 7 | 154 | 34 | 7 | 7 | 6 | 0 | 5 | 0 | 0 |
321,499 | 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.MakoCssLexer | from pygments.lexers.css import CssLexer
from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, include, using, this, default, combined
class MakoCssLexer(DelegatingLexer):
"""
Subclass of the `MakoLexer` that highlights unlexed data
with the `CssLexer`.
"""
name = 'CSS+Mako'
... |
class MakoCssLexer(DelegatingLexer):
'''
Subclass of the `MakoLexer` 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.