ZipperAG-0.9: An implementationg of Attribute Grammars using Functional Zippers

Safe HaskellNone

Language.Grammars.ZipperAG.Examples.DESK.DESK_circular

Documentation

data Root Source

Constructors

Root Program 

Instances

Data Root 
Show Root 
Typeable Root 

data Program Source

Constructors

PRINT Expression ConstPart 

Instances

Data Program 
Show Program 
Typeable Program 

data Expression Source

Instances

Data Expression 
Show Expression 
Typeable Expression 

data Factor Source

Constructors

Name ConstName 
Number Int 

Instances

Data Factor 
Show Factor 
Typeable Factor 

data ConstName Source

Constructors

Id String 

Instances

Data ConstName 
Show ConstName 
Typeable ConstName 

data ConstPart Source

Instances

Data ConstPart 
Show ConstPart 
Typeable ConstPart 

data ConstDef Source

Constructors

EqualInt ConstName Int 
EqualString ConstName String 

Instances

Data ConstDef 
Show ConstDef 
Typeable ConstDef 

code :: Zipper Root -> StringSource

ok :: Zipper Root -> BoolSource

name :: Zipper Root -> StringSource

data Root_HO Source

Constructors

Root_HO SymbolTable 

Instances

Data Root_HO 
Show Root_HO 
Typeable Root_HO 

data SymbolTable Source

Constructors

NilST 
ConsST Tuple SymbolTable 

Instances

Data SymbolTable 
Show SymbolTable 
Typeable SymbolTable 

data Tuple Source

Constructors

TupleInt String Int 
TupleString String String 

Instances

Data Tuple 
Show Tuple 
Typeable Tuple 

isInST :: String -> Zipper Root_HO -> BoolSource

getValue :: String -> Zipper Root_HO -> IntSource

apply :: [(String, Int)] -> Tuple -> TupleSource

solvedSymbols :: Zipper Root_HO -> [(String, Int)]Source

auxSolvedSymbols :: Zipper Root_HO -> [(String, Int)]Source

semantics :: Root -> IO ()Source

constructor :: Typeable a => Zipper a -> StringSource

lexeme_Id :: Zipper a -> StringSource

constructor_HO :: Typeable a => Zipper a -> StringSource