simple-templates-0.8.0.1: A basic template language for the Simple web framework

Safe HaskellTrustworthy
LanguageHaskell2010

Web.Simple.Templates.Parser

Description

Language parser

Synopsis

Documentation

reservedWords :: [Text] Source

Reserved words: for, endfor, sep, if, else, endif, true, false

pAST :: Parser AST Source

Parse an AST

pRaw :: Parser AST Source

pExpr :: Parser AST Source

Anything that can be evaluated: for, if or value

pIf :: Parser AST Source

pFor :: Parser AST Source

pFunc :: Parser AST Source

pValue :: Parser AST Source

A variable, function call, literal, etc

pVar :: Parser AST Source

pIndex :: Parser AST Source

pLiteral :: Parser AST Source

pNull :: Parser AST Source

pBoolean :: Parser AST Source

pString :: Parser AST Source

pNumber :: Parser AST Source

pArray :: Parser AST Source