| 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 Source #
Constructors
Instances
| Eq Expression Source # | |
Defined in Erb.Ruby | |
| Ord Expression Source # | |
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 Source # | |
Defined in Erb.Ruby Methods showsPrec :: Int -> Expression -> ShowS # show :: Expression -> String # showList :: [Expression] -> ShowS # | |
| Pretty Expression Source # | |
Defined in Erb.Ruby | |
data RubyStatement Source #
Constructors
| Puts !Expression | |
| DropPrevSpace !RubyStatement | |
| DropPrevSpace' | |
| DropNextSpace !RubyStatement |
Instances
| Eq RubyStatement Source # | |
Defined in Erb.Ruby Methods (==) :: RubyStatement -> RubyStatement -> Bool # (/=) :: RubyStatement -> RubyStatement -> Bool # | |
| Show RubyStatement Source # | |
Defined in Erb.Ruby Methods showsPrec :: Int -> RubyStatement -> ShowS # show :: RubyStatement -> String # showList :: [RubyStatement] -> ShowS # | |
reservedOp :: String -> Parser () Source #
whiteSpace :: Parser () Source #
term :: Parser Expression Source #
textblockW :: Maybe Char -> Parser [RubyStatement] Source #
textblock :: Parser [RubyStatement] Source #
rubyblock :: Parser [RubyStatement] Source #
erbparser :: Parser [RubyStatement] Source #
parseErbFile :: FilePath -> IO (Either ParseError [RubyStatement]) Source #
parseErbString :: String -> Either ParseError [RubyStatement] Source #