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,600
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/friendly.py
pygments.styles.friendly.FriendlyStyle
from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace class FriendlyStyle(Style): """ A modern style based on the VIM pyte theme. """ name = 'friendly' background_color = '#f0f0f0' line_number_color = '#666666' ...
class FriendlyStyle(Style): ''' A modern style based on the VIM pyte theme. ''' pass
1
1
0
0
0
0
0
0.87
1
0
0
0
0
0
0
19
58
8
47
5
46
41
5
5
4
0
4
0
0
321,601
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/friendly_grayscale.py
pygments.styles.friendly_grayscale.FriendlyGrayscaleStyle
from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace from pygments.style import Style class FriendlyGrayscaleStyle(Style): """ A modern grayscale style based on the friendly style. .. versionadded:: 2.11 """ name = 'friendly_grayscale' backgro...
class FriendlyGrayscaleStyle(Style): ''' A modern grayscale style based on the friendly style. .. versionadded:: 2.11 ''' pass
1
1
0
0
0
0
0
0.89
1
0
0
0
0
0
0
19
59
9
46
4
45
41
4
4
3
0
4
0
0
321,602
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/fruity.py
pygments.styles.fruity.FruityStyle
from pygments.style import Style from pygments.token import Token, Comment, Name, Keyword, Generic, Number, String, Whitespace class FruityStyle(Style): """ Pygments version of the "native" vim theme. """ name = 'fruity' background_color = '#111111' highlight_color = '#333333' styles = {Whi...
class FruityStyle(Style): ''' Pygments version of the "native" vim theme. ''' pass
1
1
0
0
0
0
0
0.91
1
0
0
0
0
0
0
19
29
3
23
5
22
21
5
5
4
0
4
0
0
321,603
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/gh_dark.py
pygments.styles.gh_dark.GhDarkStyle
from pygments.style import Style from pygments.token import Keyword, Name, Comment, Error, Number, Operator, Generic, Text, Literal, String, Token class GhDarkStyle(Style): """ Github's Dark-Colorscheme based theme for Pygments """ name = 'github-dark' background_color = BG_DEFAULT highlight_co...
class GhDarkStyle(Style): ''' Github's Dark-Colorscheme based theme for Pygments ''' pass
1
1
0
0
0
0
0
0.07
1
0
0
0
0
0
0
19
72
14
54
9
53
4
9
9
8
0
4
0
0
321,604
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/gruvbox.py
pygments.styles.gruvbox.GruvboxDarkStyle
from pygments.style import Style from pygments.token import Token, Keyword, Name, Comment, String, Error, Number, Operator, Generic class GruvboxDarkStyle(Style): """ Pygments version of the "gruvbox" dark vim theme. """ name = 'gruvbox-dark' background_color = '#282828' highlight_color = '#ebd...
class GruvboxDarkStyle(Style): ''' Pygments version of the "gruvbox" dark vim theme. ''' pass
1
1
0
0
0
0
0
0.89
1
0
0
0
0
0
0
19
50
10
37
5
36
33
5
5
4
0
4
0
0
321,605
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/gruvbox.py
pygments.styles.gruvbox.GruvboxLightStyle
from pygments.token import Token, Keyword, Name, Comment, String, Error, Number, Operator, Generic from pygments.style import Style class GruvboxLightStyle(Style): """ Pygments version of the "gruvbox" Light vim theme. """ name = 'gruvbox-light' background_color = '#fbf1c7' highlight_color = '#...
class GruvboxLightStyle(Style): ''' Pygments version of the "gruvbox" Light vim theme. ''' pass
1
1
0
0
0
0
0
0.91
1
0
0
0
0
0
0
19
47
9
35
5
34
32
5
5
4
0
4
0
0
321,606
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/igor.py
pygments.styles.igor.IgorStyle
from pygments.token import Keyword, Name, Comment, String from pygments.style import Style class IgorStyle(Style): """ Pygments version of the official colors for Igor Pro procedures. """ name = 'igor' styles = {Comment: 'italic #FF0000', Keyword: '#0000FF', Name.Function: '#C34E00', Name.Decorator...
class IgorStyle(Style): ''' Pygments version of the official colors for Igor Pro procedures. ''' pass
1
1
0
0
0
0
0
0.9
1
0
0
0
0
0
0
19
15
2
10
3
9
9
3
3
2
0
4
0
0
321,607
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/inkpot.py
pygments.styles.inkpot.InkPotStyle
from pygments.token import Text, Other, Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace, Punctuation from pygments.style import Style class InkPotStyle(Style): name = 'inkpot' background_color = '#1e1e27' styles = {Text: '#cfbfad', Other: '#cfbfad', Whitespace: '#434357', Comme...
class InkPotStyle(Style): pass
1
0
0
0
0
0
0
0.82
1
0
0
0
0
0
0
19
54
10
44
4
43
36
4
4
3
0
4
0
0
321,608
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/lightbulb.py
pygments.styles.lightbulb.LightbulbStyle
from pygments.style import Style from pygments.token import Comment, Error, Generic, Keyword, Literal, Name, Number, Operator, Punctuation, String, Token class LightbulbStyle(Style): """ A minimal dark theme based on the Lightbulb theme for VSCode. """ name = 'lightbulb' background_color = COLORS['...
class LightbulbStyle(Style): ''' A minimal dark theme based on the Lightbulb theme for VSCode. ''' pass
1
1
0
0
0
0
0
0.15
1
0
0
0
0
0
0
19
62
4
55
7
54
8
7
7
6
0
4
0
0
321,609
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/lilypond.py
pygments.styles.lilypond.LilyPondStyle
from pygments.style import Style from pygments.token import Token class LilyPondStyle(Style): """ Style for the LilyPond language. .. versionadded:: 2.11 """ name = 'lilypond' web_style_gallery_exclude = True styles = {Token.Text: '', Token.Keyword: 'bold', Token.Comment: 'italic #A3AAB2',...
class LilyPondStyle(Style): ''' Style for the LilyPond language. .. versionadded:: 2.11 ''' pass
1
1
0
0
0
0
0
0.97
1
0
0
0
0
0
0
19
45
4
33
4
32
32
4
4
3
0
4
0
0
321,610
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/lovelace.py
pygments.styles.lovelace.LovelaceStyle
from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Punctuation, Generic, Whitespace class LovelaceStyle(Style): """ The style used in Lovelace interactive learning environment. Tries to avoid the "angry fruit salad" effect with desaturated a...
class LovelaceStyle(Style): ''' The style used in Lovelace interactive learning environment. Tries to avoid the "angry fruit salad" effect with desaturated and dim colours. ''' pass
1
1
0
0
0
0
0
0.45
1
0
0
0
0
0
0
19
78
10
64
13
63
29
13
13
12
0
4
0
0
321,611
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/manni.py
pygments.styles.manni.ManniStyle
from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace class ManniStyle(Style): """ A colorful style, inspired by the terminal highlighting style. """ name = 'manni' background_color = '#f0f3f3' styles = {Whitespa...
class ManniStyle(Style): ''' A colorful style, inspired by the terminal highlighting style. ''' pass
1
1
0
0
0
0
0
0.85
1
0
0
0
0
0
0
19
58
9
46
4
45
39
4
4
3
0
4
0
0
321,612
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/material.py
pygments.styles.material.MaterialStyle
from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Escape, Error, Text, Number, Operator, Generic, Punctuation, Literal class MaterialStyle(Style): """ This style mimics the Material Theme color scheme. """ name = 'material' dark_teal = '#263238' white =...
class MaterialStyle(Style): ''' This style mimics the Material Theme color scheme. ''' pass
1
1
0
0
0
0
0
0.25
1
0
0
0
0
0
0
19
104
12
89
25
88
22
25
25
24
0
4
0
0
321,613
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/monokai.py
pygments.styles.monokai.MonokaiStyle
from pygments.token import Keyword, Name, Comment, String, Error, Token, Number, Operator, Generic, Whitespace, Punctuation, Other, Literal from pygments.style import Style class MonokaiStyle(Style): """ This style mimics the Monokai color scheme. """ name = 'monokai' background_color = '#272822' ...
class MonokaiStyle(Style): ''' This style mimics the Monokai color scheme. ''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
19
92
12
76
5
75
76
5
5
4
0
4
0
0
321,614
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/murphy.py
pygments.styles.murphy.MurphyStyle
from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace class MurphyStyle(Style): """ Murphy's style from CodeRay. """ name = 'murphy' styles = {Whitespace: '#bbbbbb', Comment: '#666 italic', Comment.Preproc: '#579 noi...
class MurphyStyle(Style): ''' Murphy's style from CodeRay. ''' pass
1
1
0
0
0
0
0
0.92
1
0
0
0
0
0
0
19
64
8
53
3
52
49
3
3
2
0
4
0
0
321,615
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/native.py
pygments.styles.native.NativeStyle
from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Token, Whitespace class NativeStyle(Style): """ Pygments version of the "native" vim theme. """ name = 'native' background_color = '#202020' highlight_color = '#404040' ...
class NativeStyle(Style): ''' Pygments version of the "native" vim theme. ''' pass
1
1
0
0
0
0
0
0.88
1
0
0
0
0
0
0
19
52
9
40
6
39
35
6
6
5
0
4
0
0
321,616
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/nord.py
pygments.styles.nord.NordDarkerStyle
from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace, Punctuation, Text, Token from pygments.style import Style class NordDarkerStyle(Style): """ Pygments version of a darker "nord" theme by Arctic Ice Studio """ name = 'nord-darker' line_number_co...
class NordDarkerStyle(Style): ''' Pygments version of a darker "nord" theme by Arctic Ice Studio ''' pass
1
1
0
0
0
0
0
0.94
1
0
0
0
0
0
0
19
67
12
52
9
51
49
9
9
8
0
4
0
0
321,617
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/nord.py
pygments.styles.nord.NordStyle
from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace, Punctuation, Text, Token class NordStyle(Style): """ Pygments version of the "nord" theme by Arctic Ice Studio. """ name = 'nord' line_number_color = '#D8DEE9' ...
class NordStyle(Style): ''' Pygments version of the "nord" theme by Arctic Ice Studio. ''' pass
1
1
0
0
0
0
0
0.92
1
0
0
0
0
0
0
19
68
12
53
9
52
49
9
9
8
0
4
0
0
321,618
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/onedark.py
pygments.styles.onedark.OneDarkStyle
from pygments.style import Style from pygments.token import Comment, Keyword, Name, Number, Operator, Punctuation, String, Token class OneDarkStyle(Style): """ Theme inspired by One Dark Pro for Atom. .. versionadded:: 2.11 """ name = 'one-dark' background_color = '#282C34' styles = {Token...
class OneDarkStyle(Style): ''' Theme inspired by One Dark Pro for Atom. .. versionadded:: 2.11 ''' pass
1
1
0
0
0
0
0
0.96
1
0
0
0
0
0
0
19
42
10
28
4
27
27
4
4
3
0
4
0
0
321,619
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/paraiso_dark.py
pygments.styles.paraiso_dark.ParaisoDarkStyle
from pygments.token import Keyword, Name, Comment, String, Error, Text, Number, Operator, Generic, Whitespace, Punctuation, Other, Literal from pygments.style import Style class ParaisoDarkStyle(Style): name = 'paraiso-dark' background_color = BACKGROUND highlight_color = SELECTION styles = {Text: FORE...
class ParaisoDarkStyle(Style): pass
1
0
0
0
0
0
0
0.93
1
0
0
0
0
0
0
19
88
11
76
5
75
71
5
5
4
0
4
0
0
321,620
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/paraiso_light.py
pygments.styles.paraiso_light.ParaisoLightStyle
from pygments.token import Keyword, Name, Comment, String, Error, Text, Number, Operator, Generic, Whitespace, Punctuation, Other, Literal from pygments.style import Style class ParaisoLightStyle(Style): name = 'paraiso-light' background_color = BACKGROUND highlight_color = SELECTION styles = {Text: FO...
class ParaisoLightStyle(Style): pass
1
0
0
0
0
0
0
0.93
1
0
0
0
0
0
0
19
88
11
76
5
75
71
5
5
4
0
4
0
0
321,621
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/pastie.py
pygments.styles.pastie.PastieStyle
from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace from pygments.style import Style class PastieStyle(Style): """ Style similar to the pastie default style. """ name = 'pastie' styles = {Whitespace: '#bbbbbb', Comment: '#888888', Comment.Preproc:...
class PastieStyle(Style): ''' Style similar to the pastie default style. ''' pass
1
1
0
0
0
0
0
0.89
1
0
0
0
0
0
0
19
58
9
46
3
45
41
3
3
2
0
4
0
0
321,622
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/perldoc.py
pygments.styles.perldoc.PerldocStyle
from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace class PerldocStyle(Style): """ Style similar to the style used in the perldoc code blocks. """ name = 'perldoc' background_color = '#eeeedd' styles = {Whitesp...
class PerldocStyle(Style): ''' Style similar to the style used in the perldoc code blocks. ''' pass
1
1
0
0
0
0
0
0.9
1
0
0
0
0
0
0
19
53
10
40
4
39
36
4
4
3
0
4
0
0
321,623
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/rainbow_dash.py
pygments.styles.rainbow_dash.RainbowDashStyle
from pygments.token import Comment, Error, Generic, Name, Number, Operator, String, Text, Whitespace, Keyword from pygments.style import Style class RainbowDashStyle(Style): """ A bright and colorful syntax highlighting theme. """ name = 'rainbow_dash' background_color = WHITE styles = {Comment...
class RainbowDashStyle(Style): ''' A bright and colorful syntax highlighting theme. ''' pass
1
1
0
0
0
0
0
0.07
1
0
0
0
0
0
0
19
57
12
42
4
41
3
4
4
3
0
4
0
0
321,624
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/rrt.py
pygments.styles.rrt.RrtStyle
from pygments.token import Token, Comment, Name, Keyword, String, Number, Operator from pygments.style import Style class RrtStyle(Style): """ Minimalistic "rrt" theme, based on Zap and Emacs defaults. """ name = 'rrt' background_color = '#000000' highlight_color = '#0000ff' styles = {Token...
class RrtStyle(Style): ''' Minimalistic "rrt" theme, based on Zap and Emacs defaults. ''' pass
1
1
0
0
0
0
0
0.94
1
0
0
0
0
0
0
19
23
3
17
5
16
16
5
5
4
0
4
0
0
321,625
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/sas.py
pygments.styles.sas.SasStyle
from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Number, Other, Whitespace, Generic class SasStyle(Style): """ Style inspired by SAS' enhanced program editor. Note This is not meant to be a complete style. It's merely meant to mimic SAS' program editor ...
class SasStyle(Style): ''' Style inspired by SAS' enhanced program editor. Note This is not meant to be a complete style. It's merely meant to mimic SAS' program editor syntax highlighting. ''' pass
1
1
0
0
0
0
0
0.95
1
0
0
0
0
0
0
19
26
2
19
3
18
18
3
3
2
0
4
0
0
321,626
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/solarized.py
pygments.styles.solarized.SolarizedDarkStyle
from pygments.style import Style class SolarizedDarkStyle(Style): """ The solarized style, dark. """ name = 'solarized-dark' styles = make_style(DARK_COLORS) background_color = DARK_COLORS['base03'] highlight_color = DARK_COLORS['base02'] line_number_color = DARK_COLORS['base01'] li...
class SolarizedDarkStyle(Style): ''' The solarized style, dark. ''' pass
1
1
0
0
0
0
0
0.43
1
0
0
1
0
0
0
19
12
2
7
7
6
3
7
7
6
0
4
0
0
321,627
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/solarized.py
pygments.styles.solarized.SolarizedLightStyle
class SolarizedLightStyle(SolarizedDarkStyle): """ The solarized style, light. """ name = 'solarized-light' styles = make_style(LIGHT_COLORS) background_color = LIGHT_COLORS['base03'] highlight_color = LIGHT_COLORS['base02'] line_number_color = LIGHT_COLORS['base01'] line_number_back...
class SolarizedLightStyle(SolarizedDarkStyle): ''' The solarized style, light. ''' pass
1
1
0
0
0
0
0
0.43
1
0
0
0
0
0
0
19
12
2
7
7
6
3
7
7
6
0
5
0
0
321,628
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/staroffice.py
pygments.styles.staroffice.StarofficeStyle
from pygments.token import Comment, Error, Literal, Name, Token from pygments.style import Style class StarofficeStyle(Style): """ Style similar to StarOffice style, also in OpenOffice and LibreOffice. """ name = 'staroffice' styles = {Token: '#000080', Comment: '#696969', Error: '#800000', Literal...
class StarofficeStyle(Style): ''' Style similar to StarOffice style, also in OpenOffice and LibreOffice. ''' pass
1
1
0
0
0
0
0
0.89
1
0
0
0
0
0
0
19
14
2
9
3
8
8
3
3
2
0
4
0
0
321,629
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/stata_dark.py
pygments.styles.stata_dark.StataDarkStyle
from pygments.style import Style from pygments.token import Token, Keyword, Name, Comment, String, Error, Number, Operator, Whitespace, Generic class StataDarkStyle(Style): name = 'stata-dark' background_color = '#232629' highlight_color = '#49483e' styles = {Token: '#cccccc', Whitespace: '#bbbbbb', Er...
class StataDarkStyle(Style): pass
1
0
0
0
0
0
0
0.7
1
0
0
0
0
0
0
19
22
2
20
5
19
14
5
5
4
0
4
0
0
321,630
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/stata_light.py
pygments.styles.stata_light.StataLightStyle
from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Whitespace, Text from pygments.style import Style class StataLightStyle(Style): """ Light mode style inspired by Stata's do-file editor. This is not meant to be a complete style, just for use with Stata. """ name = ...
class StataLightStyle(Style): ''' Light mode style inspired by Stata's do-file editor. This is not meant to be a complete style, just for use with Stata. ''' pass
1
1
0
0
0
0
0
0.88
1
0
0
0
0
0
0
19
23
2
17
3
16
15
3
3
2
0
4
0
0
321,631
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/tango.py
pygments.styles.tango.TangoStyle
from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace, Punctuation, Other, Literal class TangoStyle(Style): """ The Crunchy default Style inspired from the color palette from the Tango Icon Theme Guidelines. """ name...
class TangoStyle(Style): ''' The Crunchy default Style inspired from the color palette from the Tango Icon Theme Guidelines. ''' pass
1
1
0
0
0
0
0
1.09
1
0
0
0
0
0
0
19
97
12
74
4
73
81
4
4
3
0
4
0
0
321,632
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/trac.py
pygments.styles.trac.TracStyle
from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace class TracStyle(Style): """ Port of the default trac highlighter design. """ name = 'trac' styles = {Whitespace: '#bbbbbb', Comment: 'italic #999988', Comment.Pre...
class TracStyle(Style): ''' Port of the default trac highlighter design. ''' pass
1
1
0
0
0
0
0
0.83
1
0
0
0
0
0
0
19
48
9
36
3
35
30
3
3
2
0
4
0
0
321,633
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/vim.py
pygments.styles.vim.VimStyle
from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Generic, Whitespace, Token class VimStyle(Style): """ Styles somewhat like vim 7.0 """ name = 'vim' background_color = '#000000' highlight_color = '#222222' styles = {Token: ...
class VimStyle(Style): ''' Styles somewhat like vim 7.0 ''' pass
1
1
0
0
0
0
0
0.78
1
0
0
0
0
0
0
19
49
9
37
5
36
29
5
5
4
0
4
0
0
321,634
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/vs.py
pygments.styles.vs.VisualStudioStyle
from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Operator, Generic class VisualStudioStyle(Style): name = 'vs' background_color = '#ffffff' styles = {Comment: '#008000', Comment.Preproc: '#0000ff', Keyword: '#0000ff', Operator.Word: '#0000ff', Keyword.Type:...
class VisualStudioStyle(Style): pass
1
0
0
0
0
0
0
0.47
1
0
0
0
0
0
0
19
23
4
19
4
18
9
4
4
3
0
4
0
0
321,635
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/xcode.py
pygments.styles.xcode.XcodeStyle
from pygments.token import Keyword, Name, Comment, String, Error, Number, Operator, Literal from pygments.style import Style class XcodeStyle(Style): """ Style similar to the Xcode default colouring theme. """ name = 'xcode' styles = {Comment: '#177500', Comment.Preproc: '#633820', String: '#C41A16...
class XcodeStyle(Style): ''' Style similar to the Xcode default colouring theme. ''' pass
1
1
0
0
0
0
0
1.04
1
0
0
0
0
0
0
19
35
7
23
3
22
24
3
3
2
0
4
0
0
321,636
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/zenburn.py
pygments.styles.zenburn.ZenburnStyle
from pygments.style import Style from pygments.token import Token, Name, Operator, Keyword, Generic, Comment, Number, String, Literal, Punctuation, Error class ZenburnStyle(Style): """ Low contrast Zenburn style. """ name = 'zenburn' background_color = '#3f3f3f' highlight_color = '#484848' ...
class ZenburnStyle(Style): ''' Low contrast Zenburn style. ''' pass
1
1
0
0
0
0
0
0.98
1
0
0
0
0
0
0
19
62
12
47
9
46
46
9
9
8
0
4
0
0
321,637
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/token.py
pygments.token._TokenType
class _TokenType(tuple): parent = None def split(self): buf = [] node = self while node is not None: buf.append(node) node = node.parent buf.reverse() return buf def __init__(self, *args): self.subtypes = set() def __contains__(s...
class _TokenType(tuple): def split(self): pass def __init__(self, *args): pass def __contains__(self, val): pass def __getattr__(self, val): pass def __repr__(self): pass def __copy__(self): pass def __deepcopy__(self, memo): pas...
8
0
5
0
4
0
1
0.1
1
2
0
0
7
1
7
27
41
7
31
13
23
3
28
13
20
2
2
1
9
321,638
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/util.py
pygments.util.ClassNotFound
class ClassNotFound(ValueError): """Raised if one of the lookup functions didn't find a matching class."""
class ClassNotFound(ValueError): '''Raised if one of the lookup functions didn't find a matching class.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
11
2
0
1
1
0
1
1
1
0
0
4
0
0
321,639
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/util.py
pygments.util.Future
class Future: """Generic class to defer some work. Handled specially in RegexLexerMeta, to support regex string construction at first use. """ def get(self): raise NotImplementedError
class Future: '''Generic class to defer some work. Handled specially in RegexLexerMeta, to support regex string construction at first use. ''' def get(self): pass
2
1
2
0
2
0
1
1.33
0
1
0
0
1
0
1
1
8
1
3
2
1
4
3
2
1
1
0
0
1
321,640
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/util.py
pygments.util.OptionError
class OptionError(Exception): """ This exception will be raised by all option processing functions if the type or value of the argument is not correct. """
class OptionError(Exception): ''' This exception will be raised by all option processing functions if the type or value of the argument is not correct. ''' pass
1
1
0
0
0
0
0
4
1
0
0
0
0
0
0
10
5
0
1
1
0
4
1
1
0
0
3
0
0
321,641
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/util.py
pygments.util.UnclosingTextIOWrapper
from io import TextIOWrapper class UnclosingTextIOWrapper(TextIOWrapper): def close(self): self.flush()
class UnclosingTextIOWrapper(TextIOWrapper): def close(self): pass
2
0
2
0
2
0
1
0.33
1
0
0
0
1
0
1
1
4
0
3
2
1
1
3
2
1
1
1
0
1
321,642
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/pyparsing/actions.py
pyparsing.actions.OnlyOnce
from .exceptions import ParseException from typing import Union, Callable, Any from .results import ParseResults class OnlyOnce: """ Wrapper for parse actions, to ensure they are only called once. Note: parse action signature must include all 3 arguments. """ def __init__(self, method_call: Callab...
class OnlyOnce: ''' Wrapper for parse actions, to ensure they are only called once. Note: parse action signature must include all 3 arguments. ''' def __init__(self, method_call: Callable[[str, int, ParseResults], Any]) -> None: pass def __call__(self, s: str, l: int, t: ParseResults)...
4
2
6
1
4
1
1
0.54
0
5
2
0
3
2
3
3
25
5
13
8
8
7
13
8
8
2
0
1
4
321,643
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/pyparsing/common.py
pyparsing.common.pyparsing_common
from datetime import datetime from .helpers import DelimitedList, any_open_tag, any_close_tag class pyparsing_common: """Here are some common low-level expressions that may be useful in jump-starting parser development: - numeric forms (:class:`integers<integer>`, :class:`reals<real>`, :class:`scien...
class pyparsing_common: '''Here are some common low-level expressions that may be useful in jump-starting parser development: - numeric forms (:class:`integers<integer>`, :class:`reals<real>`, :class:`scientific notation<sci_real>`) - common :class:`programming identifiers<identifier>` - netw...
9
4
15
4
5
6
1
1.37
0
6
2
0
0
0
3
3
421
78
146
48
137
200
56
42
50
2
0
1
7
321,644
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/pyparsing/core.py
pyparsing.core.And
import typing from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast class And(ParseExpression): """ Requires all given :class:`ParserElement` s to be found in the given order. Expressions may be separated by whitespace. May be constructed using the ``'+'`` operator. ...
class And(ParseExpression): ''' Requires all given :class:`ParserElement` s to be found in the given order. Expressions may be separated by whitespace. May be constructed using the ``'+'`` operator. May also be constructed using the ``'-'`` operator, which will suppress backtracking. Exampl...
10
1
18
1
15
2
4
0.2
1
17
8
0
6
4
6
110
166
19
123
34
109
25
93
29
83
10
6
3
35
321,645
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/pyparsing/core.py
pyparsing.core.AtLineStart
from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast class AtLineStart(ParseElementEnhance): """Matches if an expression matches at the beginning of a line within the parse string Example:: test = '''\\ AAA this line AAA and this line AA...
class AtLineStart(ParseElementEnhance): '''Matches if an expression matches at the beginning of a line within the parse string Example:: test = '''\ AAA this line AAA and this line AAA but not this one B AAA and definitely not this one ''' for t...
3
1
4
0
4
0
2
1.88
1
3
1
0
2
1
2
105
31
8
8
4
5
15
8
4
5
2
6
1
3
321,646
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/pyparsing/core.py
pyparsing.core.AtStringStart
from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast class AtStringStart(ParseElementEnhance): """Matches if expression matches at the beginning of the parse string:: AtStringStart(Word(nums)).parse_string("123") # prints ["123"] AtStringStart(Word(nu...
class AtStringStart(ParseElementEnhance): '''Matches if expression matches at the beginning of the parse string:: AtStringStart(Word(nums)).parse_string("123") # prints ["123"] AtStringStart(Word(nums)).parse_string(" 123") # raises ParseException ''' def __init__(se...
3
1
4
0
4
0
2
0.88
1
3
1
0
2
1
2
105
19
4
8
4
5
7
8
4
5
2
6
1
3
321,647
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/pyparsing/core.py
pyparsing.core.CaselessKeyword
import typing class CaselessKeyword(Keyword): """ Caseless version of :class:`Keyword`. Example:: CaselessKeyword("CMD")[1, ...].parse_string("cmd CMD Cmd10") # -> ['CMD', 'CMD'] (Contrast with example for :class:`CaselessLiteral`.) """ def __init__(self, match_string: str='...
class CaselessKeyword(Keyword): ''' Caseless version of :class:`Keyword`. Example:: CaselessKeyword("CMD")[1, ...].parse_string("cmd CMD Cmd10") # -> ['CMD', 'CMD'] (Contrast with example for :class:`CaselessLiteral`.) ''' def __init__(self, match_string: str='', ident_char...
2
1
11
0
11
0
1
0.58
1
2
0
0
1
0
1
100
23
4
12
9
3
7
5
2
3
1
7
0
1
321,648
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/pyparsing/core.py
pyparsing.core.CaselessLiteral
class CaselessLiteral(Literal): """ Token to match a specified string, ignoring case of letters. Note: the matched results will always be in the case of the given match string, NOT the case of the input text. Example:: CaselessLiteral("CMD")[1, ...].parse_string("cmd CMD Cmd10") # ...
class CaselessLiteral(Literal): ''' Token to match a specified string, ignoring case of letters. Note: the matched results will always be in the case of the given match string, NOT the case of the input text. Example:: CaselessLiteral("CMD")[1, ...].parse_string("cmd CMD Cmd10") # ->...
3
1
5
0
5
1
2
1
1
3
1
0
2
2
2
102
25
5
10
5
7
10
10
5
7
2
7
1
3
321,649
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/pyparsing/core.py
pyparsing.core.Char
import typing class Char(Word): """A short-cut class for defining :class:`Word` ``(characters, exact=1)``, when defining a match of any single character in a string of characters. """ def __init__(self, charset: str, as_keyword: bool=False, exclude_chars: typing.Optional[str]=None, *, asKeyword: b...
class Char(Word): '''A short-cut class for defining :class:`Word` ``(characters, exact=1)``, when defining a match of any single character in a string of characters. ''' def __init__(self, charset: str, as_keyword: bool=False, exclude_chars: typing.Optional[str]=None, *, asKeyword: bool=False, exc...
2
1
14
0
14
0
1
0.27
1
3
0
0
1
0
1
100
20
1
15
10
5
4
5
2
3
1
7
0
1
321,650
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/pyparsing/core.py
pyparsing.core.CharsNotIn
from .util import _FifoCache, _UnboundedCache, __config_flags, _collapse_string_to_ranges, _escape_regex_range_chars, _flatten, LRUMemo as _LRUMemo, UnboundedMemo as _UnboundedMemo, replaced_by_pep8 class CharsNotIn(Token): """Token for matching words composed of characters *not* in a given set (will include w...
class CharsNotIn(Token): '''Token for matching words composed of characters *not* in a given set (will include whitespace in matched characters if not listed in the provided exclusion set - see example). Defined with string containing all disallowed characters, and an optional minimum, maximum, and...
4
1
18
3
16
0
3
0.31
1
6
1
0
3
8
3
98
78
15
48
24
36
15
35
16
31
4
6
1
10
321,651
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/pyparsing/core.py
pyparsing.core.CloseMatch
import typing from .results import ParseResults, _ParseResultsWithOffset class CloseMatch(Token): """A variation on :class:`Literal` which matches "close" matches, that is, strings with at most 'n' mismatching characters. :class:`CloseMatch` takes parameters: - ``match_string`` - string to be matched ...
class CloseMatch(Token): '''A variation on :class:`Literal` which matches "close" matches, that is, strings with at most 'n' mismatching characters. :class:`CloseMatch` takes parameters: - ``match_string`` - string to be matched - ``caseless`` - a boolean indicating whether to ignore casing when co...
4
1
16
1
15
0
3
0.56
1
7
2
0
3
6
3
98
85
15
45
27
34
25
36
20
32
5
6
4
8
321,652
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/pyparsing/core.py
pyparsing.core.Combine
import typing from .results import ParseResults, _ParseResultsWithOffset class Combine(TokenConverter): """Converter to concatenate all matching tokens to a single string. By default, the matching patterns must also be contiguous in the input string; this can be disabled by specifying ``'adjacent=False...
class Combine(TokenConverter): '''Converter to concatenate all matching tokens to a single string. By default, the matching patterns must also be contiguous in the input string; this can be disabled by specifying ``'adjacent=False'`` in the constructor. Example:: real = Word(nums) + '.' + W...
4
1
11
0
11
0
2
0.45
1
4
1
0
3
4
3
107
55
7
33
16
22
15
22
9
18
3
7
1
7
321,653
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/pyparsing/core.py
pyparsing.core.DelimitedList
import typing from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast class DelimitedList(ParseElementEnhance): def __init__(self, expr: Union[str, ParserElement], delim: Union[str, ParserElement]=',', combine: bool=False, min: typing.Optional[int]=None, max: typing.Optional[int]=No...
class DelimitedList(ParseElementEnhance): def __init__(self, expr: Union[str, ParserElement], delim: Union[str, ParserElement]=',', combine: bool=False, min: typing.Optional[int]=None, max: typing.Optional[int]=None, *, allow_trailing_delim: bool=False) -> None: '''Helper to define a delimited list of exp...
3
1
31
5
19
7
5
0.36
1
8
3
0
2
7
2
105
63
10
39
21
27
14
27
12
24
8
6
1
9
321,654
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/pyparsing/core.py
pyparsing.core.Diagnostics
from enum import Enum class Diagnostics(Enum): """ Diagnostic configuration (all default to disabled) - ``warn_multiple_tokens_in_named_alternation`` - flag to enable warnings when a results name is defined on a :class:`MatchFirst` or :class:`Or` expression with one or more :class:`And` subexpressio...
class Diagnostics(Enum): ''' Diagnostic configuration (all default to disabled) - ``warn_multiple_tokens_in_named_alternation`` - flag to enable warnings when a results name is defined on a :class:`MatchFirst` or :class:`Or` expression with one or more :class:`And` subexpressions - ``warn_ungroup...
1
1
0
0
0
0
0
2.22
1
0
0
0
0
0
0
49
32
3
9
9
8
20
9
9
8
0
4
0
0
321,655
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/pyparsing/core.py
pyparsing.core.Dict
from .results import ParseResults, _ParseResultsWithOffset class Dict(TokenConverter): """Converter to return a repetitive expression as a list, but also as a dictionary. Each element can also be referenced using the first token in the expression as its key. Useful for tabular report scraping when the ...
class Dict(TokenConverter): '''Converter to return a repetitive expression as a list, but also as a dictionary. Each element can also be referenced using the first token in the expression as its key. Useful for tabular report scraping when the first column can be used as a item key. The optional ``...
3
1
21
4
17
1
6
0.89
1
9
2
0
2
2
2
106
85
20
35
9
32
31
27
9
24
11
7
3
12
321,656
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/pyparsing/core.py
pyparsing.core.Each
import typing from .results import ParseResults, _ParseResultsWithOffset class Each(ParseExpression): """Requires all given :class:`ParserElement` s to be found, but in any order. Expressions may be separated by whitespace. May be constructed using the ``'&'`` operator. Example:: color = one...
class Each(ParseExpression): '''Requires all given :class:`ParserElement` s to be found, but in any order. Expressions may be separated by whitespace. May be constructed using the ``'&'`` operator. Example:: color = one_of("RED ORANGE YELLOW GREEN BLUE PURPLE BLACK WHITE BROWN") shape_t...
6
1
22
1
21
1
4
0.46
1
13
8
0
5
9
5
109
174
23
104
33
96
48
79
30
73
14
6
4
22
321,657
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/pyparsing/core.py
pyparsing.core.Empty
class Empty(Literal): """ An empty token, will always match. """ def __init__(self, match_string='', *, matchString='') -> None: super().__init__('') self._may_return_empty = True self.mayIndexError = False def _generateDefaultName(self) -> str: return 'Empty' ...
class Empty(Literal): ''' An empty token, will always match. ''' def __init__(self, match_string='', *, matchString='') -> None: pass def _generateDefaultName(self) -> str: pass def parseImpl(self, instring, loc, do_actions=True) -> ParseImplReturnType: pass
4
1
3
0
3
0
1
0.33
1
2
0
3
3
2
3
103
15
3
9
6
5
3
9
6
5
1
7
0
3
321,658
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/pyparsing/core.py
pyparsing.core.FollowedBy
from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast class FollowedBy(ParseElementEnhance): """Lookahead matching of the given parse expression. ``FollowedBy`` does *not* advance the parsing position within the input string, it only verifies that the specified parse ex...
class FollowedBy(ParseElementEnhance): '''Lookahead matching of the given parse expression. ``FollowedBy`` does *not* advance the parsing position within the input string, it only verifies that the specified parse expression matches at the current position. ``FollowedBy`` always returns a null tok...
3
1
5
1
4
1
1
2.25
1
2
0
1
2
1
2
105
34
8
8
5
5
18
8
5
5
1
6
0
2
321,659
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/pyparsing/core.py
pyparsing.core.Forward
import typing import warnings from .util import _FifoCache, _UnboundedCache, __config_flags, _collapse_string_to_ranges, _escape_regex_range_chars, _flatten, LRUMemo as _LRUMemo, UnboundedMemo as _UnboundedMemo, replaced_by_pep8 import copy import traceback from typing import Any, Callable, Generator, NamedTuple, Seque...
class Forward(ParseElementEnhance): ''' Forward declaration of an expression to be defined later - used for recursive grammars, such as algebraic infix notation. When the expression is known, it is assigned to the ``Forward`` variable using the ``'<<'`` operator. Note: take care when assigning ...
14
1
17
1
14
3
3
0.3
1
12
3
0
13
9
13
116
266
30
183
45
167
55
127
42
113
14
6
5
41
321,660
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/pyparsing/core.py
pyparsing.core.GoToColumn
class GoToColumn(PositionToken): """Token to advance to a specific column of input text; useful for tabular report scraping. """ def __init__(self, colno: int) -> None: super().__init__() self.col = colno def preParse(self, instring: str, loc: int) -> int: if col(loc, instr...
class GoToColumn(PositionToken): '''Token to advance to a specific column of input text; useful for tabular report scraping. ''' def __init__(self, colno: int) -> None: pass def preParse(self, instring: str, loc: int) -> int: pass def parseImpl(self, instring, loc, do_actions=...
4
1
8
1
8
0
2
0.13
1
4
1
0
3
1
3
99
32
5
24
9
20
3
20
9
16
4
7
1
7
321,661
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/pyparsing/core.py
pyparsing.core.Group
from .results import ParseResults, _ParseResultsWithOffset class Group(TokenConverter): """Converter to return the matched tokens as a list - useful for returning tokens of :class:`ZeroOrMore` and :class:`OneOrMore` expressions. The optional ``aslist`` argument when set to True will return the parsed ...
class Group(TokenConverter): '''Converter to return the matched tokens as a list - useful for returning tokens of :class:`ZeroOrMore` and :class:`OneOrMore` expressions. The optional ``aslist`` argument when set to True will return the parsed tokens as a Python list instead of a pyparsing ParseResults....
3
1
7
1
6
0
2
1.15
1
5
2
0
2
2
2
106
35
7
13
5
10
15
9
5
6
3
7
1
4
321,662
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/pyparsing/core.py
pyparsing.core.IndentedBlock
class IndentedBlock(ParseElementEnhance): """ Expression to match one or more expressions at a given indentation level. Useful for parsing text where structure is implied by indentation (like Python source code). """ class _Indent(Empty): def __init__(self, ref_col: int) -> None: ...
class IndentedBlock(ParseElementEnhance): ''' Expression to match one or more expressions at a given indentation level. Useful for parsing text where structure is implied by indentation (like Python source code). ''' class _Indent(Empty): def __init__(self, ref_col: int) -> None: ...
8
1
13
2
10
2
2
0.26
1
9
7
0
2
4
2
105
62
10
42
24
33
11
35
21
28
3
6
1
6
321,663
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/pyparsing/core.py
pyparsing.core.Keyword
from .util import _FifoCache, _UnboundedCache, __config_flags, _collapse_string_to_ranges, _escape_regex_range_chars, _flatten, LRUMemo as _LRUMemo, UnboundedMemo as _UnboundedMemo, replaced_by_pep8 import typing class Keyword(Token): """ Token to exactly match a specified string as a keyword, that is, it ...
class Keyword(Token): ''' Token to exactly match a specified string as a keyword, that is, it must be immediately preceded and followed by whitespace or non-keyword characters. Compare with :class:`Literal`: - ``Literal("if")`` will match the leading ``'if'`` in ``'ifAndOnlyIf'``. - ``Key...
6
2
19
1
16
2
4
0.41
1
6
1
1
3
9
4
99
115
16
70
27
56
29
46
18
41
8
6
4
14
321,664
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/pyparsing/core.py
pyparsing.core.LineEnd
class LineEnd(PositionToken): """Matches if current position is at the end of a line within the parse string """ def __init__(self) -> None: super().__init__() self.whiteChars.discard('\n') self.set_whitespace_chars(self.whiteChars, copy_defaults=False) self.set_name('en...
class LineEnd(PositionToken): '''Matches if current position is at the end of a line within the parse string ''' def __init__(self) -> None: pass def parseImpl(self, instring, loc, do_actions=True) -> ParseImplReturnType: pass
3
1
8
0
8
0
3
0.19
1
2
1
0
2
1
2
98
21
2
16
4
13
3
13
3
10
4
7
2
5
321,665
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/pyparsing/core.py
pyparsing.core.LineStart
class LineStart(PositionToken): """Matches if current position is at the beginning of a line within the parse string Example:: test = '''\\ AAA this line AAA and this line AAA but not this one B AAA and definitely not this one ''' for t in (LineSt...
class LineStart(PositionToken): '''Matches if current position is at the beginning of a line within the parse string Example:: test = '''\ AAA this line AAA and this line AAA but not this one B AAA and definitely not this one ''' for t in (LineSt...
4
1
7
1
6
0
2
0.75
1
6
2
0
3
2
3
99
47
12
20
7
16
15
20
7
16
4
7
2
7
321,666
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/pyparsing/core.py
pyparsing.core.Literal
class Literal(Token): """ Token to exactly match a specified string. Example:: Literal('abc').parse_string('abc') # -> ['abc'] Literal('abc').parse_string('abcdef') # -> ['abc'] Literal('abc').parse_string('ab') # -> Exception: Expected "abc" For case-insensitive matching, ...
class Literal(Token): ''' Token to exactly match a specified string. Example:: Literal('abc').parse_string('abc') # -> ['abc'] Literal('abc').parse_string('abcdef') # -> ['abc'] Literal('abc').parse_string('ab') # -> Exception: Expected "abc" For case-insensitive matching, use...
6
1
6
0
5
0
2
0.46
1
5
3
3
5
6
5
100
51
10
28
12
22
13
26
12
20
4
6
2
9
321,667
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/pyparsing/core.py
pyparsing.core.Located
from .results import ParseResults, _ParseResultsWithOffset class Located(ParseElementEnhance): """ Decorates a returned token with its starting and ending locations in the input string. This helper adds the following results names: - ``locn_start`` - location where matched expression begins -...
class Located(ParseElementEnhance): ''' Decorates a returned token with its starting and ending locations in the input string. This helper adds the following results names: - ``locn_start`` - location where matched expression begins - ``locn_end`` - location where matched expression ends - ...
2
1
12
0
11
1
2
1.58
1
1
1
0
1
0
1
104
40
9
12
5
10
19
11
5
9
2
6
1
2
321,668
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/pyparsing/core.py
pyparsing.core.MatchFirst
import typing import warnings class MatchFirst(ParseExpression): """Requires that at least one :class:`ParserElement` is found. If more than one expression matches, the first one listed is the one that will match. May be constructed using the ``'|'`` operator. Example:: # construct MatchFirst...
class MatchFirst(ParseExpression): '''Requires that at least one :class:`ParserElement` is found. If more than one expression matches, the first one listed is the one that will match. May be constructed using the ``'|'`` operator. Example:: # construct MatchFirst using '|' operator # wa...
7
1
14
1
13
1
4
0.19
1
10
6
0
6
3
6
110
108
15
79
19
70
15
56
15
49
9
6
3
21
321,669
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/pyparsing/core.py
pyparsing.core.NoMatch
class NoMatch(Token): """ A token that will never match. """ def __init__(self) -> None: super().__init__() self._may_return_empty = True self.mayIndexError = False self.errmsg = 'Unmatchable token' def parseImpl(self, instring, loc, do_actions=True) -> ParseImplRet...
class NoMatch(Token): ''' A token that will never match. ''' def __init__(self) -> None: pass def parseImpl(self, instring, loc, do_actions=True) -> ParseImplReturnType: pass
3
1
4
0
4
0
1
0.38
1
2
1
0
2
3
2
97
13
2
8
6
5
3
8
6
5
1
6
0
2
321,670
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/pyparsing/core.py
pyparsing.core.NotAny
from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast class NotAny(ParseElementEnhance): """ Lookahead to disallow matching with the given parse expression. ``NotAny`` does *not* advance the parsing position within the input string, it only verifies that the specified p...
class NotAny(ParseElementEnhance): ''' Lookahead to disallow matching with the given parse expression. ``NotAny`` does *not* advance the parsing position within the input string, it only verifies that the specified parse expression does *not* match at the current position. Also, ``NotAny`` does ...
4
1
5
0
4
1
1
1.67
1
3
1
0
3
3
3
106
41
9
12
7
8
20
12
7
8
2
6
1
4
321,671
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/pyparsing/core.py
pyparsing.core.OneOrMore
class OneOrMore(_MultipleMatch): """ Repetition of one or more of the given expression. Parameters: - ``expr`` - expression that must match one or more times - ``stop_on`` - (default= ``None``) - expression for a terminating sentinel (only required if the sentinel would ordinarily match the ...
class OneOrMore(_MultipleMatch): ''' Repetition of one or more of the given expression. Parameters: - ``expr`` - expression that must match one or more times - ``stop_on`` - (default= ``None``) - expression for a terminating sentinel (only required if the sentinel would ordinarily match the re...
2
1
2
0
2
0
1
6.33
1
1
0
0
1
0
1
108
30
8
3
2
1
19
3
2
1
1
7
0
1
321,672
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/pyparsing/core.py
pyparsing.core.Opt
from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast from .results import ParseResults, _ParseResultsWithOffset class Opt(ParseElementEnhance): """ Optional matching of the given expression. Parameters: - ``expr`` - expression that must match zero or more times -...
class Opt(ParseElementEnhance): ''' Optional matching of the given expression. Parameters: - ``expr`` - expression that must match zero or more times - ``default`` (optional) - value to be returned if the optional expression is not found. Example:: # US postal code can be a 5-digit zip,...
4
1
10
0
10
1
2
1
1
6
2
0
3
3
3
106
74
14
31
14
25
31
25
12
21
4
6
3
7
321,673
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/pyparsing/core.py
pyparsing.core.Or
import typing from operator import itemgetter import warnings from .results import ParseResults, _ParseResultsWithOffset class Or(ParseExpression): """Requires that at least one :class:`ParserElement` is found. If two expressions match, the expression that matches the longest string will be used. May be co...
class Or(ParseExpression): '''Requires that at least one :class:`ParserElement` is found. If two expressions match, the expression that matches the longest string will be used. May be constructed using the ``'^'`` operator. Example:: # construct Or using '^' operator number = Word(n...
7
1
22
2
19
2
6
0.18
1
15
7
0
6
3
6
110
156
20
116
26
107
21
92
22
85
23
6
4
34
321,674
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/pyparsing/core.py
pyparsing.core.ParseElementEnhance
import typing from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast from .util import _FifoCache, _UnboundedCache, __config_flags, _collapse_string_to_ranges, _escape_regex_range_chars, _flatten, LRUMemo as _LRUMemo, UnboundedMemo as _UnboundedMemo, replaced_by_pep8 import warnings cla...
class ParseElementEnhance(ParserElement): '''Abstract subclass of :class:`ParserElement`, for combining and post-processing parsed tokens. ''' def __init__(self, expr: Union[ParserElement, str], savelist: bool=False) -> None: pass def recurse(self) -> list[ParserElement]: pass ...
11
1
9
0
8
0
3
0.08
1
13
8
13
10
6
10
103
107
15
87
23
76
7
79
22
68
6
5
3
31
321,675
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/pyparsing/core.py
pyparsing.core.ParseExpression
import typing from collections.abc import Iterable from .util import _FifoCache, _UnboundedCache, __config_flags, _collapse_string_to_ranges, _escape_regex_range_chars, _flatten, LRUMemo as _LRUMemo, UnboundedMemo as _UnboundedMemo, replaced_by_pep8 import warnings class ParseExpression(ParserElement): """Abstract...
class ParseExpression(ParserElement): '''Abstract subclass of ParserElement, for combining and post-processing parsed tokens. ''' def __init__(self, exprs: typing.Iterable[ParserElement], savelist: bool=False) -> None: pass def recurse(self) -> list[ParserElement]: pass def a...
12
3
14
1
12
1
3
0.13
1
10
3
4
11
4
11
104
170
22
131
28
117
17
93
26
81
8
5
3
36
321,676
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/pyparsing/core.py
pyparsing.core.ParserElement
from abc import ABC, abstractmethod import typing import warnings from .util import _FifoCache, _UnboundedCache, __config_flags, _collapse_string_to_ranges, _escape_regex_range_chars, _flatten, LRUMemo as _LRUMemo, UnboundedMemo as _UnboundedMemo, replaced_by_pep8 import copy from collections import deque import traceb...
null
98
52
22
3
12
8
3
0.69
1
48
28
4
66
22
73
93
1,970
318
991
340
809
679
772
223
685
24
4
6
267
321,677
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/pyparsing/core.py
pyparsing.core.PositionToken
class PositionToken(Token): def __init__(self) -> None: super().__init__() self._may_return_empty = True self.mayIndexError = False
class PositionToken(Token): def __init__(self) -> None: pass
2
0
4
0
4
0
1
0
1
1
0
7
1
2
1
96
5
0
5
4
3
0
5
4
3
1
6
0
1
321,678
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/pyparsing/core.py
pyparsing.core.PrecededBy
import typing from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast class PrecededBy(ParseElementEnhance): """Lookbehind matching of the given parse expression. ``PrecededBy`` does not advance the parsing position within the input string, it only verifies that the specified...
class PrecededBy(ParseElementEnhance): '''Lookbehind matching of the given parse expression. ``PrecededBy`` does not advance the parsing position within the input string, it only verifies that the specified parse expression matches prior to the current position. ``PrecededBy`` always returns a nul...
3
1
24
2
22
1
5
0.55
1
13
8
0
2
7
2
105
79
11
44
17
41
24
41
16
38
5
6
2
10
321,679
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/pyparsing/core.py
pyparsing.core.QuotedString
from .util import _FifoCache, _UnboundedCache, __config_flags, _collapse_string_to_ranges, _escape_regex_range_chars, _flatten, LRUMemo as _LRUMemo, UnboundedMemo as _UnboundedMemo, replaced_by_pep8 import typing import re class QuotedString(Token): """ Token for matching strings that are delimited by quoting ...
class QuotedString(Token): ''' Token for matching strings that are delimited by quoting characters. Defined with the following parameters: - ``quote_char`` - string of one or more characters defining the quote delimiting string - ``esc_char`` - character to re_escape quotes, typically backsla...
5
1
50
5
40
5
7
0.35
1
9
1
0
3
20
3
98
234
29
152
45
131
53
81
29
76
13
6
3
29
321,680
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/pyparsing/core.py
pyparsing.core.Regex
from functools import cached_property from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast from .results import ParseResults, _ParseResultsWithOffset import re class Regex(Token): """Token for matching strings that match a given regular expression. Defined with string specifyi...
class Regex(Token): '''Token for matching strings that match a given regular expression. Defined with string specifying the regular expression in a form recognized by the stdlib Python `re module <https://docs.python.org/3/library/re.html>`_. If the given regex contains named groups (defined using ``(...
17
3
14
2
10
2
3
0.37
1
10
2
0
10
9
10
105
196
40
118
43
92
44
95
30
82
7
6
2
33
321,681
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/pyparsing/core.py
pyparsing.core.SkipTo
import typing from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast from .results import ParseResults, _ParseResultsWithOffset class SkipTo(ParseElementEnhance): """ Token for skipping over all undefined text until the matched expression is found. Parameters: - ``...
class SkipTo(ParseElementEnhance): ''' Token for skipping over all undefined text until the matched expression is found. Parameters: - ``expr`` - target expression marking the end of the data to be skipped - ``include`` - if ``True``, the target expression is also parsed (the skipped text...
5
1
21
2
18
2
5
0.85
1
8
4
0
4
8
4
107
150
19
71
32
58
60
60
24
55
12
6
4
18
321,682
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/pyparsing/core.py
pyparsing.core.StringEnd
class StringEnd(PositionToken): """ Matches if current position is at the end of the parse string """ def __init__(self) -> None: super().__init__() self.set_name('end of text') def parseImpl(self, instring, loc, do_actions=True) -> ParseImplReturnType: if loc < len(instrin...
class StringEnd(PositionToken): ''' Matches if current position is at the end of the parse string ''' def __init__(self) -> None: pass def parseImpl(self, instring, loc, do_actions=True) -> ParseImplReturnType: pass
3
1
6
1
6
0
3
0.25
1
2
1
0
2
0
2
98
18
3
12
3
9
3
12
3
9
4
7
1
5
321,683
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/pyparsing/core.py
pyparsing.core.StringStart
class StringStart(PositionToken): """Matches if current position is at the beginning of the parse string """ def __init__(self) -> None: super().__init__() self.set_name('start of text') def parseImpl(self, instring, loc, do_actions=True) -> ParseImplReturnType: if loc != 0...
class StringStart(PositionToken): '''Matches if current position is at the beginning of the parse string ''' def __init__(self) -> None: pass def parseImpl(self, instring, loc, do_actions=True) -> ParseImplReturnType: pass
3
1
5
1
4
1
2
0.5
1
2
1
0
2
0
2
98
15
3
8
3
5
4
8
3
5
2
7
1
3
321,684
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/pyparsing/core.py
pyparsing.core.Suppress
from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast class Suppress(TokenConverter): """Converter for ignoring the results of a parsed expression. Example:: source = "a, b, c,d" wd = Word(alphas) wd_list1 = wd + (',' + wd)[...] print(wd_list1....
class Suppress(TokenConverter): '''Converter for ignoring the results of a parsed expression. Example:: source = "a, b, c,d" wd = Word(alphas) wd_list1 = wd + (',' + wd)[...] print(wd_list1.parse_string(source)) # often, delimiters that are useful during parsing are just...
6
1
4
0
3
0
2
1.29
1
6
3
0
5
0
5
109
53
14
17
6
11
22
17
6
11
2
7
1
8
321,685
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/pyparsing/core.py
pyparsing.core.Tag
from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast from .results import ParseResults, _ParseResultsWithOffset class Tag(Token): """ A meta-element for inserting a named result into the parsed tokens that may be checked later in a parse action or while processing the ...
class Tag(Token): ''' A meta-element for inserting a named result into the parsed tokens that may be checked later in a parse action or while processing the parsed results. Accepts an optional tag value, defaulting to `True`. Example:: end_punc = "." | ("!" + Tag("enthusiastic"))) ...
4
1
4
0
4
0
1
1.21
1
4
1
0
3
5
3
98
41
10
14
9
10
17
14
9
10
1
6
0
3
321,686
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/pyparsing/core.py
pyparsing.core.Token
class Token(ParserElement): """Abstract :class:`ParserElement` subclass, for defining atomic matching patterns. """ def __init__(self) -> None: super().__init__(savelist=False) def _generateDefaultName(self) -> str: return type(self).__name__
class Token(ParserElement): '''Abstract :class:`ParserElement` subclass, for defining atomic matching patterns. ''' def __init__(self) -> None: pass def _generateDefaultName(self) -> str: pass
3
1
2
0
2
0
1
0.6
1
2
0
11
2
0
2
95
10
2
5
3
2
3
5
3
2
1
5
0
2
321,687
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/pyparsing/core.py
pyparsing.core.TokenConverter
from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast class TokenConverter(ParseElementEnhance): """ Abstract subclass of :class:`ParseElementEnhance`, for converting parsed results. """ def __init__(self, expr: Union[ParserElement, str], savelist=False) -> None: ...
class TokenConverter(ParseElementEnhance): ''' Abstract subclass of :class:`ParseElementEnhance`, for converting parsed results. ''' def __init__(self, expr: Union[ParserElement, str], savelist=False) -> None: pass
2
1
3
0
3
1
1
1
1
2
0
4
1
1
1
104
8
1
4
3
2
4
4
3
2
1
6
0
1
321,688
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/pyparsing/core.py
pyparsing.core.White
class White(Token): """Special matching class for matching whitespace. Normally, whitespace is ignored by pyparsing grammars. This class is included when some whitespace structures are significant. Define with a string containing the whitespace characters to be matched; default is ``" \\t\\r\\n"`...
class White(Token): '''Special matching class for matching whitespace. Normally, whitespace is ignored by pyparsing grammars. This class is included when some whitespace structures are significant. Define with a string containing the whitespace characters to be matched; default is ``" \t\r\n"``. ...
4
1
13
2
11
0
3
0.15
1
4
1
0
3
5
3
98
77
9
59
14
53
9
29
12
25
4
6
1
8
321,689
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/pyparsing/core.py
pyparsing.core.Word
import typing from .util import _FifoCache, _UnboundedCache, __config_flags, _collapse_string_to_ranges, _escape_regex_range_chars, _flatten, LRUMemo as _LRUMemo, UnboundedMemo as _UnboundedMemo, replaced_by_pep8 import re class Word(Token): """Token for matching words composed of allowed character sets. Para...
class Word(Token): '''Token for matching words composed of allowed character sets. Parameters: - ``init_chars`` - string of all characters that should be used to match as a word; "ABC" will match "AAA", "ABAB", "CBAC", etc.; if ``body_chars`` is also specified, then this is the string of ...
6
1
37
5
32
1
9
0.36
1
7
1
1
4
13
4
99
249
40
155
46
135
56
115
32
109
27
6
5
44
321,690
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/pyparsing/core.py
pyparsing.core.WordEnd
class WordEnd(PositionToken): """Matches if the current position is at the end of a :class:`Word`, and is not followed by any character in a given set of ``word_chars`` (default= ``printables``). To emulate the ``\x08`` behavior of regular expressions, use ``WordEnd(alphanums)``. ``WordEnd`` will al...
class WordEnd(PositionToken): '''Matches if the current position is at the end of a :class:`Word`, and is not followed by any character in a given set of ``word_chars`` (default= ``printables``). To emulate the ```` behavior of regular expressions, use ``WordEnd(alphanums)``. ``WordEnd`` will also ...
3
1
9
0
9
0
3
0.39
1
4
1
0
2
2
2
98
27
2
18
8
13
7
13
6
10
3
7
2
5
321,691
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/pyparsing/core.py
pyparsing.core.WordStart
class WordStart(PositionToken): """Matches if the current position is at the beginning of a :class:`Word`, and is not preceded by any character in a given set of ``word_chars`` (default= ``printables``). To emulate the ``\x08`` behavior of regular expressions, use ``WordStart(alphanums)``. ``WordSta...
class WordStart(PositionToken): '''Matches if the current position is at the beginning of a :class:`Word`, and is not preceded by any character in a given set of ``word_chars`` (default= ``printables``). To emulate the ```` behavior of regular expressions, use ``WordStart(alphanums)``. ``WordStart`...
3
1
8
0
8
0
3
0.5
1
4
1
0
2
1
2
98
26
2
16
6
11
8
11
4
8
3
7
2
5
321,692
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/pyparsing/core.py
pyparsing.core.ZeroOrMore
import typing from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast from .results import ParseResults, _ParseResultsWithOffset class ZeroOrMore(_MultipleMatch): """ Optional repetition of zero or more of the given expression. Parameters: - ``expr`` - expression that m...
class ZeroOrMore(_MultipleMatch): ''' Optional repetition of zero or more of the given expression. Parameters: - ``expr`` - expression that must match zero or more times - ``stop_on`` - expression for a terminating sentinel (only required if the sentinel would ordinarily match the repetition ...
4
1
5
0
5
0
1
0.53
1
5
2
0
3
1
3
110
32
6
17
11
7
9
11
5
7
2
7
1
4
321,693
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/pyparsing/core.py
pyparsing.core._MultipleMatch
import typing from typing import Any, Callable, Generator, NamedTuple, Sequence, TextIO, Union, cast import warnings class _MultipleMatch(ParseElementEnhance): def __init__(self, expr: Union[str, ParserElement], stop_on: typing.Optional[Union[ParserElement, str]]=None, *, stopOn: typing.Optional[Union[ParserEleme...
class _MultipleMatch(ParseElementEnhance): def __init__(self, expr: Union[str, ParserElement], stop_on: typing.Optional[Union[ParserElement, str]]=None, *, stopOn: typing.Optional[Union[ParserElement, str]]=None) -> None: pass def stopOn(self, ender) -> ParserElement: pass def parseImpl(...
5
0
18
1
17
1
4
0.03
1
6
3
2
4
2
4
107
75
6
67
24
56
2
45
18
40
7
6
3
16
321,694
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/pyparsing/core.py
pyparsing.core._NullToken
class _NullToken: def __bool__(self): return False def __str__(self): return ''
class _NullToken: def __bool__(self): pass def __str__(self): pass
3
0
2
0
2
0
1
0
0
0
0
0
2
0
2
2
6
1
5
3
2
0
5
3
2
1
0
0
2
321,695
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/pyparsing/core.py
pyparsing.core._ParseActionIndexError
class _ParseActionIndexError(Exception): """ Internal wrapper around IndexError so that IndexErrors raised inside parse actions aren't misinterpreted as IndexErrors raised inside ParserElement parseImpl methods. """ def __init__(self, msg: str, exc: BaseException) -> None: self.msg: str...
class _ParseActionIndexError(Exception): ''' Internal wrapper around IndexError so that IndexErrors raised inside parse actions aren't misinterpreted as IndexErrors raised inside ParserElement parseImpl methods. ''' def __init__(self, msg: str, exc: BaseException) -> None: pass
2
1
3
0
3
0
1
1.25
1
1
0
0
1
2
1
11
10
1
4
4
2
5
4
4
2
1
3
0
1
321,696
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/pyparsing/core.py
pyparsing.core._PendingSkip
class _PendingSkip(ParserElement): def __init__(self, expr: ParserElement, must_skip: bool=False) -> None: super().__init__() self.anchor = expr self.must_skip = must_skip def _generateDefaultName(self) -> str: return str(self.anchor + Empty()).replace('Empty', '...') def ...
class _PendingSkip(ParserElement): def __init__(self, expr: ParserElement, must_skip: bool=False) -> None: pass def _generateDefaultName(self) -> str: pass def __add__(self, other) -> ParserElement: pass def must_skip(t): pass def ...
8
0
6
1
5
0
1
0.07
1
6
2
0
5
2
5
98
39
8
29
11
21
2
24
11
16
2
5
1
10
321,697
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/pyparsing/core.py
pyparsing.core._SingleCharLiteral
class _SingleCharLiteral(Literal): def parseImpl(self, instring, loc, do_actions=True) -> ParseImplReturnType: if instring[loc] == self.firstMatchChar: return (loc + 1, self.match) raise ParseException(instring, loc, self.errmsg, self)
class _SingleCharLiteral(Literal): def parseImpl(self, instring, loc, do_actions=True) -> ParseImplReturnType: pass
2
0
4
0
4
0
2
0
1
1
1
0
1
0
1
101
5
0
5
2
3
0
5
2
3
2
7
1
2
321,698
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/pyparsing/core.py
pyparsing.core.__compat__
from .util import _FifoCache, _UnboundedCache, __config_flags, _collapse_string_to_ranges, _escape_regex_range_chars, _flatten, LRUMemo as _LRUMemo, UnboundedMemo as _UnboundedMemo, replaced_by_pep8 class __compat__(__config_flags): """ A cross-version compatibility configuration for pyparsing features that wi...
class __compat__(__config_flags): ''' A cross-version compatibility configuration for pyparsing features that will be released in a future version. By setting values in this configuration to True, those features can be enabled in prior versions for compatibility development and testing. - ``col...
1
1
0
0
0
0
0
1.43
1
0
0
0
0
0
0
1
21
4
7
5
6
10
5
5
4
0
1
0
0
321,699
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/pyparsing/core.py
pyparsing.core.__diag__
from .util import _FifoCache, _UnboundedCache, __config_flags, _collapse_string_to_ranges, _escape_regex_range_chars, _flatten, LRUMemo as _LRUMemo, UnboundedMemo as _UnboundedMemo, replaced_by_pep8 class __diag__(__config_flags): _type_desc = 'diagnostic' warn_multiple_tokens_in_named_alternation = False ...
class __diag__(__config_flags): @classmethod def enable_all_warnings(cls) -> None: pass
3
0
3
0
3
0
2
0
1
0
0
0
0
0
1
2
20
3
17
16
14
0
16
15
14
2
1
1
2