| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Erb
Description
Entry point to general Erb service This module share no dependency with Puppet modules
Documentation
Constructors
| Literal !Text | |
| Interpolable ![Expression] | |
| Symbol !Text | |
| Array ![Expression] |
data Expression #
Constructors
Instances
| Eq Expression # | |
Defined in Erb.Ruby | |
| Ord Expression # | |
Defined in Erb.Ruby Methods compare :: Expression -> Expression -> Ordering # (<) :: Expression -> Expression -> Bool # (<=) :: Expression -> Expression -> Bool # (>) :: Expression -> Expression -> Bool # (>=) :: Expression -> Expression -> Bool # max :: Expression -> Expression -> Expression # min :: Expression -> Expression -> Expression # | |
| Show Expression # | |
Defined in Erb.Ruby Methods showsPrec :: Int -> Expression -> ShowS # show :: Expression -> String # showList :: [Expression] -> ShowS # | |
| Pretty Expression # | |
Defined in Erb.Ruby | |
data RubyStatement #
Constructors
| Puts !Expression | |
| DropPrevSpace !RubyStatement | |
| DropPrevSpace' | |
| DropNextSpace !RubyStatement |
Instances
| Eq RubyStatement # | |
Defined in Erb.Ruby Methods (==) :: RubyStatement -> RubyStatement -> Bool # (/=) :: RubyStatement -> RubyStatement -> Bool # | |
| Show RubyStatement # | |
Defined in Erb.Ruby Methods showsPrec :: Int -> RubyStatement -> ShowS # show :: RubyStatement -> String # showList :: [RubyStatement] -> ShowS # | |
def :: GenLanguageDef String u Identity #
lexer :: GenTokenParser String u Identity #
reservedOp :: String -> Parser () #
whiteSpace :: Parser () #
identifier :: Parser String #
term :: Parser Expression #
doubleQuoted :: Parser Value #
singleQuoted :: Parser Value #
textblockW :: Maybe Char -> Parser [RubyStatement] #
textblock :: Parser [RubyStatement] #
rubyblock :: Parser [RubyStatement] #
erbparser :: Parser [RubyStatement] #
parseErbFile :: FilePath -> IO (Either ParseError [RubyStatement]) #
parseErbString :: String -> Either ParseError [RubyStatement] #