skylighting-core-0.14.2: syntax highlighting library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Skylighting.Tokenizer

Synopsis

Documentation

tokenize :: TokenizerConfig -> Syntax -> Text -> Either String [SourceLine] Source #

Tokenize some text using Syntax.

data TokenizerConfig Source #

Configuration options for tokenize.

Constructors

TokenizerConfig 

Fields

Instances

Instances details
Show TokenizerConfig Source # 
Instance details

Defined in Skylighting.Tokenizer