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

Method build

regex/regex-syntax/src/hir/translate.rs:47–53  ·  view source on GitHub ↗

Build a translator using the current configuration.

(&self)

Source from the content-addressed store, hash-verified

45
46 /// Build a translator using the current configuration.
47 pub fn build(&self) -> Translator {
48 Translator {
49 stack: RefCell::new(vec![]),
50 flags: Cell::new(self.flags),
51 allow_invalid_utf8: self.allow_invalid_utf8,
52 }
53 }
54
55 /// When enabled, translation will permit the construction of a regular
56 /// expression that may match invalid UTF-8.

Callers 5

newMethod · 0.45
parseFunction · 0.45
tFunction · 0.45
t_errFunction · 0.45
t_bytesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected