uuagc

GenerateCode

Documentation

newtype T_CInterface

Constructors

T_CInterface (Attributes -> NontermIdent -> Bool -> Bool -> Bool -> Maybe Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Options -> ParamMap -> String -> Attributes -> ([String], [Decl], Map (NontermIdent, Int) ([String], Type), Decls)) 

newtype T_CSegment

Constructors

T_CSegment (Attributes -> Bool -> Int -> NontermIdent -> Bool -> Bool -> Bool -> Maybe Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Options -> ParamMap -> String -> Attributes -> ([String], [Decl], Map (NontermIdent, Int) ([String], Type), Decls)) 

newtype T_CSegments

Constructors

T_CSegments (Attributes -> Int -> NontermIdent -> Bool -> Bool -> Bool -> Maybe Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Options -> ParamMap -> String -> Attributes -> ([String], Bool, [Decl], Map (NontermIdent, Int) ([String], Type), Decls)) 

data Inh_CVisit

Constructors

Inh_CVisit 

Fields

allNts_Inh_CVisit :: !(Set NontermIdent)
 
allPragmas_Inh_CVisit :: !PragmaMap
 
aroundMap_Inh_CVisit :: !(Set Identifier)
 
children_Inh_CVisit :: ![(Identifier, Type, ChildKind)]
 
con_Inh_CVisit :: !ConstructorIdent
 
contextMap_Inh_CVisit :: !ContextMap
 
decls_Inh_CVisit :: !Decls
 
inh_Inh_CVisit :: !Attributes
 
instVisitNrs_Inh_CVisit :: !(Map Identifier Int)
 
isLast_Inh_CVisit :: !Bool
 
mergeMap_Inh_CVisit :: !(Map Identifier (Identifier, [Identifier]))
 
nextIntra_Inh_CVisit :: !Exprs
 
nextIntraVars_Inh_CVisit :: !(Set String)
 
nr_Inh_CVisit :: !Int
 
nt_Inh_CVisit :: !NontermIdent
 
o_case_Inh_CVisit :: !Bool
 
o_cata_Inh_CVisit :: !Bool
 
o_costcentre_Inh_CVisit :: !Bool
 
o_data_Inh_CVisit :: !(Maybe Bool)
 
o_linePragmas_Inh_CVisit :: !Bool
 
o_monadic_Inh_CVisit :: !Bool
 
o_newtypes_Inh_CVisit :: !Bool
 
o_pretty_Inh_CVisit :: !Bool
 
o_rename_Inh_CVisit :: !Bool
 
o_sem_Inh_CVisit :: !Bool
 
o_sig_Inh_CVisit :: !Bool
 
o_splitsems_Inh_CVisit :: !Bool
 
o_strictwrap_Inh_CVisit :: !Bool
 
o_traces_Inh_CVisit :: !Bool
 
o_unbox_Inh_CVisit :: !Bool
 
options_Inh_CVisit :: !Options
 
paramInstMap_Inh_CVisit :: !(Map Identifier (NontermIdent, [String]))
 
paramMap_Inh_CVisit :: !ParamMap
 
prefix_Inh_CVisit :: !String
 
quantMap_Inh_CVisit :: !QuantMap
 
syn_Inh_CVisit :: !Attributes
 
terminals_Inh_CVisit :: ![Identifier]
 
unfoldSemDom_Inh_CVisit :: !(NontermIdent -> Int -> [String] -> Type)
 
visitedSet_Inh_CVisit :: !(Set Identifier)
 
with_sig_Inh_CVisit :: !Bool
 
wrappers_Inh_CVisit :: !(Set NontermIdent)
 

newtype T_DeclBlocks

Constructors

T_DeclBlocks (Int -> [String] -> [Decl] -> Bool -> String -> (Expr, [Decl], [String])) 

newtype T_DeclBlocksRoot

Constructors

T_DeclBlocksRoot ([String] -> [Decl] -> Bool -> String -> (Expr, [Decl])) 

newtype T_Pattern

data Inh_Pattern

Constructors

Inh_Pattern 

data Inh_Patterns

Constructors

Inh_Patterns 

newtype T_CGrammar

Constructors

T_CGrammar (Options -> (Seq Error, Program)) 

freevars :: [String] -> [Decl] -> [String]

mkBlockLambda :: Bool -> String -> [String] -> [Decl] -> Expr -> Decl

data DeclsType

Constructors

DeclsLet 
DeclsCase 
DeclsDo 

mkLet :: Bool -> Decls -> Expr -> Expr