MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / compile_pattern

Method compile_pattern

Lib/lib2to3/patcomp.py:56–66  ·  view source on GitHub ↗

Compiles a pattern string to a nested pytree.*Pattern object.

(self, input, debug=False, with_tree=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

compile_patternMethod · 0.95
compile_patternFunction · 0.45

Calls 5

compile_nodeMethod · 0.95
tokenize_wrapperFunction · 0.85
PatternSyntaxErrorClass · 0.85
strFunction · 0.85
parse_tokensMethod · 0.80

Tested by

no test coverage detected