Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
Instances
Show IString Source # | |
Generic IString Source # | |
Binary IString Source # | |
type Rep IString Source # | |
Defined in Text.TemplateToolkitAST type Rep IString = D1 (MetaData "IString" "Text.TemplateToolkitAST" "template-toolkit-0.1.1.0-B7i8p7wEmSL9kCkTZXDz11" False) (C1 (MetaCons "IString" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :+: C1 (MetaCons "IVar" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Var))) |
VString Text | |
VIString [IString] | |
VInt Integer | |
VFloat Double | |
VArray [Expr] | |
VArrayRange Expr Expr | |
VArrayV Array | |
VHash [(String, Expr)] | |
VHashV Hash | |
VRef String | |
VCode Stmt | |
Undef |
Instances
Show VarNode Source # | |
Generic VarNode Source # | |
Binary VarNode Source # | |
type Rep VarNode Source # | |
Defined in Text.TemplateToolkitAST type Rep VarNode = D1 (MetaData "VarNode" "Text.TemplateToolkitAST" "template-toolkit-0.1.1.0-B7i8p7wEmSL9kCkTZXDz11" False) ((C1 (MetaCons "VarKey" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :+: C1 (MetaCons "VarIndex" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int))) :+: (C1 (MetaCons "VarMethod" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Expr])) :+: C1 (MetaCons "VarRef" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Var)))) |
Instances
Instances
Instances
Show Else Source # | |
Generic Else Source # | |
Binary Else Source # | |
type Rep Else Source # | |
Defined in Text.TemplateToolkitAST type Rep Else = D1 (MetaData "Else" "Text.TemplateToolkitAST" "template-toolkit-0.1.1.0-B7i8p7wEmSL9kCkTZXDz11" False) (C1 (MetaCons "Else" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Stmt)) :+: C1 (MetaCons "Elsif" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Expr) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Stmt) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Else))))) |
Seq | |
SComment | |
SText | |
SIf | |
SWhile | |
SForeach | |
| |
SNext | |
SLast | |
SBlock | |
SProcess | |
| |
SWrapper | |
| |
SAssign | |
| |
SExpr | |
SFilter | |
|
parseTemplateWithStmtId :: Text -> TName -> StmtId -> Either ParseError Stmt Source #
parseTemplate :: TName -> Text -> Either ParseError Stmt Source #