MCPcopy Create free account
hub / github.com/davidblewett/rure-python / check

Method check

regex/regex-syntax/src/ast/parse.rs:2126–2128  ·  view source on GitHub ↗
(self, ast: &Ast)

Source from the content-addressed store, hash-verified

2124 }
2125
2126 fn check(self, ast: &Ast) -> Result<()> {
2127 ast::visit(ast, self)
2128 }
2129
2130 fn increment_depth(&mut self, span: &Span) -> Result<()> {
2131 let new = self.depth.checked_add(1).ok_or_else(|| self.p.error(

Callers 1

parse_with_commentsMethod · 0.80

Calls 1

visitFunction · 0.70

Tested by

no test coverage detected