-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | syntax highlighting library -- -- Skylighting is a syntax highlighting library with support for over one -- hundred languages. It derives its tokenizers from XML syntax -- definitions used by KDE's KSyntaxHighlighting framework, so any syntax -- supported by that framework can be added. An optional command-line -- program is provided. Skylighting is intended to be the successor to -- highlighting-kate. This package provides generated syntax modules -- based on the KDE XML definitions provided by the -- skylighting-core package. As a result this package is -- licensed under the GPL. @package skylighting @version 0.13 -- | Provides syntax highlighting definitions. THIS FILE IS AUTOMATICALLY -- GENERATED. DO NOT EDIT IT MANUALLY. module Skylighting.Syntax -- | Default mapping from short names to syntax definitions. defaultSyntaxMap :: SyntaxMap module Skylighting -- | Lookup syntax by (in order) full name (case insensitive), short name -- (case insensitive), extension. lookupSyntax :: Text -> SyntaxMap -> Maybe Syntax -- | Lookup a syntax by full name (case insensitive). syntaxByName :: SyntaxMap -> Text -> Maybe Syntax -- | Lookup a syntax by short name (case insensitive). syntaxByShortName :: SyntaxMap -> Text -> Maybe Syntax -- | Returns a list of syntaxes appropriate for the given file extension. syntaxesByExtension :: SyntaxMap -> String -> [Syntax] -- | Returns a list of syntaxes appropriate for the given filename. syntaxesByFilename :: SyntaxMap -> String -> [Syntax]