HTC API Documentation
Safe HaskellSafe-Inferred

Parser

Synopsis

Documentation

happyLex :: (t -> [a] -> t) -> (Int# -> (a, Token) -> [(a, Token)] -> t) -> [(a, Token)] -> t Source #

happyReport :: Int# -> (AlexPosn, Token) -> [String] -> ([(AlexPosn, Token)] -> HappyIdentity a) -> [(AlexPosn, Token)] -> HappyIdentity a Source #

newtype HappyIdentity a Source #

Constructors

HappyIdentity a 

Instances

Instances details
Applicative HappyIdentity Source # 
Instance details

Defined in Parser

Functor HappyIdentity Source # 
Instance details

Defined in Parser

Methods

fmap :: (a -> b) -> HappyIdentity a -> HappyIdentity b

(<$) :: a -> HappyIdentity b -> HappyIdentity a

Monad HappyIdentity Source # 
Instance details

Defined in Parser

happyThen1 :: Monad m => m t -> (t -> t -> m b) -> t -> m b Source #

happyFmap1 :: (t -> b) -> (t -> HappyIdentity t) -> t -> HappyIdentity b Source #

happyReport' :: [(AlexPosn, Token)] -> [String] -> ([(AlexPosn, Token)] -> HappyIdentity a) -> HappyIdentity a Source #

happySeq :: a -> b -> b Source #

GenericTemplate.hs,v 1.26 20050114 14:47:22 simonmar Exp $

type Happy_Int = Int# Source #

data HappyStk a infixr 9 Source #

Constructors

HappyStk a (HappyStk a) infixr 9 

happyAccept :: Int# -> p -> Happy_Int -> p -> HappyStk a -> b -> HappyIdentity a Source #

happyNextAction :: Int# -> Happy_Int -> Int# Source #

happyIndexActionTable :: Int# -> Happy_Int -> Maybe Int Source #

data HappyAction Source #

Instances

Instances details
Show HappyAction Source # 
Instance details

Defined in Parser

Methods

showsPrec :: Int -> HappyAction -> ShowS

show :: HappyAction -> String

showList :: [HappyAction] -> ShowS

data HappyAddr Source #

Constructors

HappyA# Addr# 

happyTokenToString :: Int -> String Source #

happyDoSeq :: a -> b -> b Source #

happyDontSeq :: a -> b -> b Source #