Skip to content
instance method

Prism::Translation::Parser#tokenize

tokenize(source_buffer, recover = false)

Parses a source buffer and returns the AST, the source code comments, and the tokens emitted by the lexer.