Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Documentation
TokenPosn
records the location of a token in the input text. It has three
fields: the address (number of characters preceding the token), line number
and column of a token within the file.
Note: The lexer assumes the usual eight character tab stops.
Instances
Eq TokenPosn Source # | |
Data TokenPosn Source # | |
Defined in Language.JavaScript.Parser.SrcLocation gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TokenPosn -> c TokenPosn # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TokenPosn # toConstr :: TokenPosn -> Constr # dataTypeOf :: TokenPosn -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TokenPosn) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TokenPosn) # gmapT :: (forall b. Data b => b -> b) -> TokenPosn -> TokenPosn # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TokenPosn -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TokenPosn -> r # gmapQ :: (forall d. Data d => d -> u) -> TokenPosn -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TokenPosn -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TokenPosn -> m TokenPosn # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TokenPosn -> m TokenPosn # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TokenPosn -> m TokenPosn # | |
Read TokenPosn Source # | |
Show TokenPosn Source # | |