MCPcopy Create free account
hub / github.com/AxlLind/AdventOfCode / RegexType

Class RegexType

2018/src/20.py:4–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2from collections import defaultdict, deque
3
4class RegexType:
5 SIMPLE = 0
6 OR = 1
7 LIST = 2
8
9Regex = tuple[RegexType, str | list['Regex']]
10Graph = dict[tuple[int,int],set[tuple[int,int]]]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected