A interface for parsers
Author: Jasper Sikorra - jsi@informatik.uni-kiel.de
Version: March 2014
getIdentPos
:: StandardToken -> Pos
|
getCodePos
:: StandardToken -> Pos
|
getOffset
:: StandardToken -> Int
|
getLangtag
:: StandardToken -> Maybe String
|
getCode
:: StandardToken -> String
|
containsDSL
:: StandardToken -> Bool
Check wether a StandardToken contains a DSL or normal Curry |
Type of a Translator for a DSL
Type synonym: LangParser = Pos -> String -> IO (PM String)
Type synonym: Langtag = String
The StandardToken is used by the CIParser and Translator to store informations on Integrated Code
Constructors:
Type synonym: Code = String
Type synonym: Offset = Int
|
|
|
|
|
Check wether a StandardToken contains a DSL or normal Curry
|