CreateSimpleLexer

inner class CreateSimpleLexer(shortcutStylePatterns: List<StylePattern>, fallthroughStylePatterns: List<StylePattern>)

Constructors

Link copied to clipboard
fun CreateSimpleLexer(shortcutStylePatterns: List<StylePattern>, fallthroughStylePatterns: List<StylePattern>)

Functions

Link copied to clipboard
fun decorate(job: Job)

Lexes job.sourceCode and produces an output array job.decorations of style classes preceded by the position at which they start in job.sourceCode in order.