hpp-0.4.0: A Haskell pre-processor

Safe HaskellNone
LanguageHaskell2010

Hpp.Expansion

Description

Line expansion is the core input token processing logic. Object-like macros are substituted, and function-like macro applications are expanded.

Synopsis

Documentation

expandLine :: (HasError m, Monad m, HasEnv m) => Config -> Int -> Parser m [TOKEN] [TOKEN] Source #

Expand all macros to the end of the current line or until all in-progress macro invocations are complete, whichever comes last.