Portability | portable |
---|---|
Stability | alpha |
Maintainer | John MacFarlane <jgm@berkeley.edu> |
Text.Highlighting.Kate.Definitions
Description
Definitions for data structures needed by highlighting-kate.
- type ContextStack = Map String [String]
- data SyntaxState = SyntaxState {}
- type LabeledSource = ([String], String)
- type SourceLine = [LabeledSource]
Documentation
type ContextStack = Map String [String]
A stack of context names for each language. (Language-specific context stacks must be maintained because of IncludeRules.)
data SyntaxState
State for syntax parser.
Constructors
SyntaxState | |
Fields
|
Instances
type LabeledSource = ([String], String)
A pair consisting of a list of attributes and some text.
type SourceLine = [LabeledSource]
A line of source, list of labeled source items.