Documentation
data SymbolTable elt Source
mkSymbolTable :: [(String, tok)] -> SymbolTable tokSource
newContext :: SymbolTable tok -> SymbolTable tokSource
lookupSymbol :: SymbolTable tok -> String -> Maybe tokSource
lookupType :: SymbolTable tok -> String -> Maybe tokSource
addType :: SymbolTable tok -> String -> tok -> SymbolTable tokSource
addKeyword :: SymbolTable tok -> String -> tok -> SymbolTable tokSource
combineSyms :: SymbolTable tok -> SymbolTable tok -> SymbolTable tokSource