Parses a file containing a Kate XML syntax definition into a Syntax description. Note that the resulting Syntax must be processed with resolveKeywords (once the full syntax map is assembled) before it can be used for tokenizing; the functions in Skylighting.Loader do this automatically.
Moduleskylighting-core-0.15Haskell2010
Skylighting.Parser
- 5 values
- Packageskylighting-core-0.15
- Exports5
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceParser.hs
Adds a syntax definition to a syntax map, replacing any existing definition with the same name.
Resolve Keyword matchers that refer to lists; following up include directives in the syntax map and producing WordSets.
Scan a list of Syntaxs and make sure that IncludeRules never asks for a syntax not in this list. Produces a list of pairs where the first element is the including syntax name and the second element is the (missing) included syntax name. This is intended for sanity checks to avoid run-time errors.