Hets - the Heterogeneous Tool Set

Copyright(c) Christian Maeder and Uni Bremen 2002-2004
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred

HasCASL.HToken

Contents

Description

parser for HasCASL IDs extending Common.Keywords and Common.Token

Synopsis

HasCASL keyword handling

hascasl_reserved_ops :: [String]

HasCASL's reserved symbols in lambda terms and patterns

hascasl_type_ops :: [String]

HasCASL's reserved symbols in function types

hascasl_reserved_words :: [String]

HasCASL's reserved words

scanHCWords :: GenParser Char st String

HasCASL's identifier words (scanAnyWords)

scanHCSigns :: GenParser Char st String

HasCASL's identifier signs (scanAnySigns)

hascasl_reserved_tops :: [String]

symbols illegal in types and variables

hcKeysFew :: ([String], [String])

symbols illegal in types, variables and constructors

HasCASL Id parsers

var :: GenParser Char st Id

non-type variables

hcKeys :: ([String], [String])

the HasCASL keys for mixId

ite :: GenParser Char st [Token]

if-then-else-identifier

opId :: GenParser Char st Id

operation Id (reserved stuff excluded)

hconsId :: GenParser Char st Id

constructor Id

typeVar :: GenParser Char st Id

simple Id without compound list (only a words)

classId :: GenParser Char st Id

simple Id possibly with compound list