MCPcopy Create free account
hub / github.com/cherryramatisdev/regexer / parse

Function parse

regexer/src/lib.rs:4–9  ·  view source on GitHub ↗
(input: String)

Source from the content-addressed store, hash-verified

2mod transpiler;
3
4pub fn parse(input: String) -> String {
5 let tokens = lexer::tokens::tokenize(input);
6 let ast = lexer::ast::parse(tokens);
7
8 return transpiler::regex::transpile(ast);
9}

Callers 2

mainFunction · 0.50
on_eventMethod · 0.50

Calls 2

tokenizeFunction · 0.85
transpileFunction · 0.85

Tested by

no test coverage detected