Safe Haskell | None |
---|---|
Language | Haskell98 |
Entry point to general Erb service This module share no dependency with Puppet modules
Documentation
Literal !Text | |
Interpolable ![Expression] | |
Symbol !Text | |
Array ![Expression] |
data Expression Source #
Instances
Eq Expression Source # | |
Defined in Erb.Ruby (==) :: Expression -> Expression -> Bool # (/=) :: Expression -> Expression -> Bool # | |
Ord Expression Source # | |
Defined in Erb.Ruby 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 showsPrec :: Int -> Expression -> ShowS # show :: Expression -> String # showList :: [Expression] -> ShowS # | |
Pretty Expression Source # | |
Defined in Erb.Ruby pretty :: Expression -> Doc # prettyList :: [Expression] -> Doc # |
data RubyStatement Source #
Instances
Eq RubyStatement Source # | |
Defined in Erb.Ruby (==) :: RubyStatement -> RubyStatement -> Bool # (/=) :: RubyStatement -> RubyStatement -> Bool # | |
Show RubyStatement Source # | |
Defined in Erb.Ruby 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 #