MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / tokenize

Function tokenize

graphlite/src/ast/lexer.rs:1861–1864  ·  view source on GitHub ↗

Public function to tokenize input

(input: &str)

Source from the content-addressed store, hash-verified

1859
1860/// Public function to tokenize input
1861pub fn tokenize(input: &str) -> Result<Vec<Token>, String> {
1862 let mut lexer = Lexer::new(input.to_string());
1863 lexer.tokenize()
1864}
1865
1866// Removed unused test_lexer function

Calls 1

tokenizeMethod · 0.80