yi-0.8.2: The Haskell-Scriptable Editor

Safe HaskellNone
LanguageHaskell2010

Yi.Syntax.Driver

Description

This module defines implementations of syntax-awareness drivers.

Documentation

type Path = [Int] Source

data Cache state tree tt Source

Constructors

Cache 

Fields

path :: Map WindowRef Path
 
cachedStates :: [state]
 
root :: tree (Tok tt)
 
focused :: !(Map WindowRef (tree (Tok tt)))
 

mkHighlighter :: forall state tree tt. (IsTree tree, Show state) => (Scanner Point Char -> Scanner state (tree (Tok tt))) -> Highlighter (Cache state tree tt) (tree (Tok tt)) Source

unzipFM :: Ord k => [(k, (u, v))] -> (Map k u, Map k v) Source

zipWithFM :: Ord k => (u -> v -> w) -> v -> Map k u -> Map k v -> [(k, w)] Source