Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
alex_tab_size :: Int Source #
data AlexReturn a Source #
alex_scan_tkn :: User -> AlexInput -> Int# -> AlexInput -> Int# -> AlexLastAcc -> (AlexLastAcc, AlexInput) Source #
data AlexLastAcc Source #
AlexAccNone | |
AlexAcc Int | |
AlexAccSkip | |
AlexAccPred Int (AlexAccPred user) (AlexAcc user) | |
AlexAccSkipPred (AlexAccPred user) (AlexAcc user) |
alexAndPred :: (t1 -> t2 -> t3 -> t4 -> Bool) -> (t1 -> t2 -> t3 -> t4 -> Bool) -> t1 -> t2 -> t3 -> t4 -> Bool Source #
alexPrevCharMatches :: (Char -> t) -> p1 -> AlexInput -> p2 -> p3 -> t Source #
alexRightContext :: Int -> AlexAccPred User Source #
precedesDoubleColon :: AlexInput -> Bool Source #
parenLevel :: [Token] -> Int Source #
fillConstr :: (a -> Token) -> Constr Source #
resetLexeme :: LexAction () Source #
addToPreviousTokensInLine :: Token -> LexAction () Source #
stabiliseStartCode :: LexAction () Source #
normaliseStartCode :: LexAction () Source #
isValidPosition :: Position -> Bool Source #
Lexeme | |
|
initLexeme :: Lexeme Source #
data StartCodeStatus Source #
Instances
Show StartCodeStatus Source # | |
Defined in Language.Fortran.Lexer.FreeForm showsPrec :: Int -> StartCodeStatus -> ShowS # show :: StartCodeStatus -> String # showList :: [StartCodeStatus] -> ShowS # |
StartCode | |
|
AlexInput | |
|
alexInputPrevChar :: AlexInput -> Char Source #
currentChar :: AlexInput -> Char Source #
isContinuation :: AlexInput -> Bool Source #
alexScanUser :: User -> AlexInput -> Int -> AlexReturn (LexAction (Maybe Token)) Source #
Instances
class SpecifiesType a where Source #
isTypeSpec :: a -> Bool Source #
Instances
SpecifiesType Token Source # | |
Defined in Language.Fortran.Lexer.FreeForm isTypeSpec :: Token -> Bool Source # | |
SpecifiesType [Token] Source # | |
Defined in Language.Fortran.Lexer.FreeForm isTypeSpec :: [Token] -> Bool Source # |
initParseState :: ByteString -> FortranVersion -> String -> ParseState AlexInput Source #
collectFreeTokens :: FortranVersion -> ByteString -> [Token] Source #