MCPcopy Create free account
hub / github.com/easy-graph/Easy-Graph / Pattern

Class Pattern

easygraph/readwrite/gml.py:125–134  ·  view source on GitHub ↗

encodes the index of each token-matching pattern in `tokenize`.

Source from the content-addressed store, hash-verified

123
124
125class Pattern(Enum):
126 """encodes the index of each token-matching pattern in `tokenize`."""
127
128 KEYS = 0
129 REALS = 1
130 INTS = 2
131 STRINGS = 3
132 DICT_START = 4
133 DICT_END = 5
134 COMMENT_WHITESPACE = 6
135
136
137class Token(NamedTuple):

Callers 1

tokenizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected