StrategoDecl

Plain source file: hs2stratego/AST/StrategoDecl.hs (2003-07-29)

StrategoDecl is imported by: StrategoAST2, Prop2Stratego2, TiProp2Stratego2.

module StrategoDecl where
import StrategoTerm(Def)
import StrategoProp(PredDecl,PropDecl)
import Parentheses

-- For top level declarations:

data Decl
  = Def (P Def)
  | Property (P PredDecl)
  | Assert (P PropDecl)
  | Ignored (P String)
  deriving (Show{-,Read-})

def = Def . P
property = Property . P
assert = Assert . P
ignored = Ignored . P

Index

(HTML for this module was generated on 2006-08-12. About the conversion tool.)