Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- alexIndexInt32OffAddr :: AlexAddr -> Int# -> Int#
- quickIndex :: Array Int (AlexAcc (Any :: Type)) -> Int -> AlexAcc (Any :: Type)
- data AlexReturn a
- alexScan :: (AlexPosn, Char, [Byte], String) -> Int -> AlexReturn (AlexAction LocToken)
- alexScanUser :: t -> (AlexPosn, Char, [Byte], String) -> Int -> AlexReturn (AlexAction LocToken)
- alex_scan_tkn :: t1 -> t2 -> Int# -> AlexInput -> Int# -> AlexLastAcc -> (AlexLastAcc, (AlexPosn, Char, [Byte], String))
- data AlexLastAcc
- = AlexNone
- | AlexLastAcc !Int !AlexInput !Int
- | AlexLastSkip !AlexInput !Int
- data AlexAcc user
- data LocToken = LocToken {}
- data Token
- = Nulls
- | First
- | Name Text
- | String Text
- | Iconst Word
- | Fconst Double
- | NumberedParam Word
- | HaskellParam Text
- | LParen
- | RParen
- | Comma
- | Mul
- | Div
- | Add
- | Sub
- | Mod
- | Exponent
- | Equals
- | NotEquals
- | LT
- | LTE
- | GT
- | GTE
- | Dot
- | Semicolon
- | EOF
- | COLON_EQUALS
- | EQUALS_GREATER
- | ABORT_P
- | AUTHORIZATION
- | BETWEEN
- | ABSOLUTE_P
- | ACCESS
- | ACTION
- | ADD_P
- | ADMIN
- | AFTER
- | AGGREGATE
- | ALL
- | ALSO
- | ALTER
- | ALWAYS
- | ANALYSE
- | ANALYZE
- | AND
- | ANY
- | ARRAY
- | AS
- | ASC
- | ASSERTION
- | ASSIGNMENT
- | ASYMMETRIC
- | AT
- | ATTACH
- | ATTRIBUTE
- | BACKWARD
- | BEFORE
- | BEGIN_P
- | BIGINT
- | BINARY
- | BIT
- | BOOLEAN_P
- | BOTH
- | BY
- | CACHE
- | CALL
- | CALLED
- | CASCADE
- | CASCADED
- | CASE
- | CAST
- | CATALOG_P
- | CHAIN
- | CHARACTER
- | CHARACTERISTICS
- | CHAR_P
- | CHECK
- | CHECKPOINT
- | CLASS
- | CLOSE
- | CLUSTER
- | COALESCE
- | COLLATE
- | COLLATION
- | COLUMN
- | COLUMNS
- | COMMENT
- | COMMENTS
- | COMMIT
- | COMMITTED
- | CONCURRENTLY
- | CONFIGURATION
- | CONFLICT
- | CONNECTION
- | CONSTRAINT
- | CONSTRAINTS
- | CONTENT_P
- | CONTINUE_P
- | CONVERSION_P
- | COPY
- | COST
- | CREATE
- | CROSS
- | CSV
- | CUBE
- | CURRENT_CATALOG
- | CURRENT_DATE
- | CURRENT_P
- | CURRENT_ROLE
- | CURRENT_SCHEMA
- | CURRENT_TIME
- | CURRENT_TIMESTAMP
- | CURRENT_USER
- | CURSOR
- | CYCLE
- | DATABASE
- | DATA_P
- | DAY_P
- | DEALLOCATE
- | DEC
- | DECIMAL_P
- | DECLARE
- | DEFAULT
- | DEFAULTS
- | DEFERRABLE
- | DEFERRED
- | DEFINER
- | DELETE_P
- | DELIMITER
- | DELIMITERS
- | DEPENDS
- | DESC
- | DETACH
- | DICTIONARY
- | DISABLE_P
- | DISCARD
- | DISTINCT
- | DO
- | DOCUMENT_P
- | DOMAIN_P
- | DOUBLE_P
- | DROP
- | EACH
- | ELSE
- | ENABLE_P
- | ENCODING
- | ENCRYPTED
- | END_P
- | ENUM_P
- | ESCAPE
- | EVENT
- | EXCEPT
- | EXCLUDE
- | EXCLUDING
- | EXCLUSIVE
- | EXECUTE
- | EXISTS
- | EXPLAIN
- | EXTENSION
- | EXTERNAL
- | EXTRACT
- | FALSE_P
- | FAMILY
- | FETCH
- | FILTER
- | FIRST_P
- | FLOAT_P
- | FOLLOWING
- | FOR
- | FORCE
- | FOREIGN
- | FORWARD
- | FREEZE
- | FROM
- | FULL
- | FUNCTION
- | FUNCTIONS
- | GENERATED
- | GLOBAL
- | GRANT
- | GRANTED
- | GREATEST
- | GROUPING
- | GROUPS
- | GROUP_P
- | HANDLER
- | HAVING
- | HEADER_P
- | HOLD
- | HOUR_P
- | IDENTITY_P
- | IF_P
- | ILIKE
- | IMMEDIATE
- | IMMUTABLE
- | IMPLICIT_P
- | IMPORT_P
- | INCLUDE
- | INCLUDING
- | INCREMENT
- | INDEX
- | INDEXES
- | INHERIT
- | INHERITS
- | INITIALLY
- | INLINE_P
- | INNER_P
- | INOUT
- | INPUT_P
- | INSENSITIVE
- | INSERT
- | INSTEAD
- | INTEGER
- | INTERSECT
- | INTERVAL
- | INTO
- | INT_P
- | INVOKER
- | IN_P
- | IS
- | ISNULL
- | ISOLATION
- | JOIN
- | KEY
- | LABEL
- | LANGUAGE
- | LARGE_P
- | LAST
- | LATERAL_P
- | LEADING
- | LEAKPROOF
- | LEAST
- | LEFT
- | LEVEL
- | LIKE
- | LIMIT
- | LISTEN
- | LOAD
- | LOCAL
- | LOCALTIME
- | LOCALTIMESTAMP
- | LOCATION
- | LOCKED
- | LOCK_P
- | LOGGED
- | MAPPING
- | MATCH
- | MATERIALIZED
- | MAXVALUE
- | METHOD
- | MINUTE_P
- | MINVALUE
- | MODE
- | MONTH_P
- | MOVE
- | NAMES
- | NAME_P
- | NATIONAL
- | NATURAL
- | NCHAR
- | NEW
- | NEXT
- | NO
- | NONE
- | NOT
- | NOTHING
- | NOTIFY
- | NOTNULL
- | NOWAIT
- | NULLIF
- | NULLS_P
- | NULL_P
- | NUMERIC
- | OBJECT_P
- | OF
- | OFF
- | OFFSET
- | OIDS
- | OLD
- | ON
- | ONLY
- | OPERATOR
- | OPTION
- | OPTIONS
- | OR
- | ORDER
- | ORDINALITY
- | OTHERS
- | OUTER_P
- | OUT_P
- | OVER
- | OVERLAPS
- | OVERLAY
- | OVERRIDING
- | OWNED
- | OWNER
- | PARALLEL
- | PARSER
- | PARTIAL
- | PARTITION
- | PASSING
- | PASSWORD
- | PLACING
- | PLANS
- | POLICY
- | POSITION
- | PRECEDING
- | PRECISION
- | PREPARE
- | PREPARED
- | PRESERVE
- | PRIMARY
- | PRIOR
- | PRIVILEGES
- | PROCEDURAL
- | PROCEDURE
- | PROCEDURES
- | PROGRAM
- | PUBLICATION
- | QUOTE
- | RANGE
- | READ
- | REAL
- | REASSIGN
- | RECHECK
- | RECURSIVE
- | REF
- | REFERENCES
- | REFERENCING
- | REFRESH
- | REINDEX
- | RELATIVE_P
- | RELEASE
- | RENAME
- | REPEATABLE
- | REPLACE
- | REPLICA
- | RESET
- | RESTART
- | RESTRICT
- | RETURNING
- | RETURNS
- | REVOKE
- | RIGHT
- | ROLE
- | ROLLBACK
- | ROLLUP
- | ROUTINE
- | ROUTINES
- | ROW
- | ROWS
- | RULE
- | SAVEPOINT
- | SCHEMA
- | SCHEMAS
- | SCROLL
- | SEARCH
- | SECOND_P
- | SECURITY
- | SELECT
- | SEQUENCE
- | SEQUENCES
- | SERIALIZABLE
- | SERVER
- | SESSION
- | SESSION_USER
- | SET
- | SETOF
- | SETS
- | SHARE
- | SHOW
- | SIMILAR
- | SIMPLE
- | SKIP
- | SMALLINT
- | SNAPSHOT
- | SOME
- | SQL_P
- | STABLE
- | STANDALONE_P
- | START
- | STATEMENT
- | STATISTICS
- | STDIN
- | STDOUT
- | STORAGE
- | STORED
- | STRICT_P
- | STRIP_P
- | SUBSCRIPTION
- | SUBSTRING
- | SUPPORT
- | SYMMETRIC
- | SYSID
- | SYSTEM_P
- | TABLE
- | TABLES
- | TABLESAMPLE
- | TABLESPACE
- | TEMP
- | TEMPLATE
- | TEMPORARY
- | TEXT_P
- | THEN
- | TIES
- | TIME
- | TIMESTAMP
- | TO
- | TRAILING
- | TRANSACTION
- | TRANSFORM
- | TREAT
- | TRIGGER
- | TRIM
- | TRUE_P
- | TRUNCATE
- | TRUSTED
- | TYPES_P
- | TYPE_P
- | UNBOUNDED
- | UNCOMMITTED
- | UNENCRYPTED
- | UNION
- | UNIQUE
- | UNKNOWN
- | UNLISTEN
- | UNLOGGED
- | UNTIL
- | UPDATE
- | USER
- | USING
- | VACUUM
- | VALID
- | VALIDATE
- | VALIDATOR
- | VALUES
- | VALUE_P
- | VARCHAR
- | VARIADIC
- | VARYING
- | VERBOSE
- | VERSION_P
- | VIEW
- | VIEWS
- | VOLATILE
- | WHEN
- | WHERE
- | WHITESPACE_P
- | WINDOW
- | WITH
- | WITHIN
- | WITHOUT
- | WORK
- | WRAPPER
- | WRITE
- | XMLATTRIBUTES
- | XMLCONCAT
- | XMLELEMENT
- | XMLEXISTS
- | XMLFOREST
- | XMLNAMESPACES
- | XMLPARSE
- | XMLPI
- | XMLROOT
- | XMLSERIALIZE
- | XMLTABLE
- | XML_P
- | YEAR_P
- | YES_P
- | ZONE
- data AlexUserState = AlexUserState {}
- alexInitUserState :: AlexUserState
- getFilePath :: Alex FilePath
- setFilePath :: FilePath -> Alex ()
- unLex :: Token -> String
- unquoteString :: String -> String
- alexEOF :: Alex LocToken
- lex' :: (String -> Token) -> AlexAction LocToken
- lex :: Token -> AlexAction LocToken
- alexMonadScan' :: Alex LocToken
- alexErrorPosn :: AlexPosn -> String -> Alex a
- runAlexWithFilepath :: Alex a -> FilePath -> String -> Either String a
- lexAll :: Alex [LocToken]
- testLex' :: String -> Either String [LocToken]
- testLex :: String -> Either String [Token]
- alex_action_1 :: AlexAction LocToken
- alex_action_2 :: AlexAction LocToken
- alex_action_3 :: AlexAction LocToken
- alex_action_4 :: AlexAction LocToken
- alex_action_5 :: AlexAction LocToken
- alex_action_6 :: AlexAction LocToken
- alex_action_7 :: AlexAction LocToken
- alex_action_8 :: AlexAction LocToken
- alex_action_9 :: AlexAction LocToken
- alex_action_10 :: AlexAction LocToken
- alex_action_11 :: AlexAction LocToken
- alex_action_12 :: AlexAction LocToken
- alex_action_13 :: AlexAction LocToken
- alex_action_14 :: AlexAction LocToken
- alex_action_15 :: AlexAction LocToken
- alex_action_16 :: AlexAction LocToken
- alex_action_17 :: AlexAction LocToken
- alex_action_18 :: AlexAction LocToken
- alex_action_19 :: AlexAction LocToken
- alex_action_20 :: AlexAction LocToken
- alex_action_21 :: AlexAction LocToken
- alex_action_22 :: AlexAction LocToken
- alex_action_23 :: AlexAction LocToken
- alex_action_24 :: AlexAction LocToken
- alex_action_25 :: AlexAction LocToken
- alex_action_26 :: AlexAction LocToken
- alex_action_27 :: AlexAction LocToken
- alex_action_28 :: AlexAction LocToken
- alex_action_29 :: AlexAction LocToken
- alex_action_30 :: AlexAction LocToken
- alex_action_31 :: AlexAction LocToken
- alex_action_32 :: AlexAction LocToken
- alex_action_33 :: AlexAction LocToken
- alex_action_34 :: AlexAction LocToken
- alex_action_35 :: AlexAction LocToken
- alex_action_36 :: AlexAction LocToken
- alex_action_37 :: AlexAction LocToken
- alex_action_38 :: AlexAction LocToken
- alex_action_39 :: AlexAction LocToken
- alex_action_40 :: AlexAction LocToken
- alex_action_41 :: AlexAction LocToken
- alex_action_42 :: AlexAction LocToken
- alex_action_43 :: AlexAction LocToken
- alex_action_44 :: AlexAction LocToken
- alex_action_45 :: AlexAction LocToken
- alex_action_46 :: AlexAction LocToken
- alex_action_47 :: AlexAction LocToken
- alex_action_48 :: AlexAction LocToken
- alex_action_49 :: AlexAction LocToken
- alex_action_50 :: AlexAction LocToken
- alex_action_51 :: AlexAction LocToken
- alex_action_52 :: AlexAction LocToken
- alex_action_53 :: AlexAction LocToken
- alex_action_54 :: AlexAction LocToken
- alex_action_55 :: AlexAction LocToken
- alex_action_56 :: AlexAction LocToken
- alex_action_57 :: AlexAction LocToken
- alex_action_58 :: AlexAction LocToken
- alex_action_59 :: AlexAction LocToken
- alex_action_60 :: AlexAction LocToken
- alex_action_61 :: AlexAction LocToken
- alex_action_62 :: AlexAction LocToken
- alex_action_63 :: AlexAction LocToken
- alex_action_64 :: AlexAction LocToken
- alex_action_65 :: AlexAction LocToken
- alex_action_66 :: AlexAction LocToken
- alex_action_67 :: AlexAction LocToken
- alex_action_68 :: AlexAction LocToken
- alex_action_69 :: AlexAction LocToken
- alex_action_70 :: AlexAction LocToken
- alex_action_71 :: AlexAction LocToken
- alex_action_72 :: AlexAction LocToken
- alex_action_73 :: AlexAction LocToken
- alex_action_74 :: AlexAction LocToken
- alex_action_75 :: AlexAction LocToken
- alex_action_76 :: AlexAction LocToken
- alex_action_77 :: AlexAction LocToken
- alex_action_78 :: AlexAction LocToken
- alex_action_79 :: AlexAction LocToken
- alex_action_80 :: AlexAction LocToken
- alex_action_81 :: AlexAction LocToken
- alex_action_82 :: AlexAction LocToken
- alex_action_83 :: AlexAction LocToken
- alex_action_84 :: AlexAction LocToken
- alex_action_85 :: AlexAction LocToken
- alex_action_86 :: AlexAction LocToken
- alex_action_87 :: AlexAction LocToken
- alex_action_88 :: AlexAction LocToken
- alex_action_89 :: AlexAction LocToken
- alex_action_90 :: AlexAction LocToken
- alex_action_91 :: AlexAction LocToken
- alex_action_92 :: AlexAction LocToken
- alex_action_93 :: AlexAction LocToken
- alex_action_94 :: AlexAction LocToken
- alex_action_95 :: AlexAction LocToken
- alex_action_96 :: AlexAction LocToken
- alex_action_97 :: AlexAction LocToken
- alex_action_98 :: AlexAction LocToken
- alex_action_99 :: AlexAction LocToken
- alex_action_100 :: AlexAction LocToken
- alex_action_101 :: AlexAction LocToken
- data AlexAddr = AlexA# Addr#
- alexIndexInt16OffAddr :: AlexAddr -> Int# -> Int#
- utf8Encode :: Char -> [Word8]
- type Byte = Word8
- type AlexInput = (AlexPosn, Char, [Byte], String)
- ignorePendingBytes :: AlexInput -> AlexInput
- alexInputPrevChar :: AlexInput -> Char
- alexGetByte :: AlexInput -> Maybe (Byte, AlexInput)
- data AlexPosn = AlexPn !Int !Int !Int
- alexStartPos :: AlexPosn
- alexMove :: AlexPosn -> Char -> AlexPosn
- data AlexState = AlexState {}
- runAlex :: String -> Alex a -> Either String a
- newtype Alex a = Alex {}
- alexGetInput :: Alex AlexInput
- alexSetInput :: AlexInput -> Alex ()
- alexError :: String -> Alex a
- alexGetStartCode :: Alex Int
- alexSetStartCode :: Int -> Alex ()
- alexGetUserState :: Alex AlexUserState
- alexSetUserState :: AlexUserState -> Alex ()
- alexMonadScan :: Alex LocToken
- type AlexAction result = AlexInput -> Int -> Alex result
- skip :: p1 -> p2 -> Alex LocToken
- begin :: Int -> p1 -> p2 -> Alex LocToken
- andBegin :: AlexAction result -> Int -> AlexAction result
- token :: (AlexInput -> Int -> token) -> AlexAction token
- alex_tab_size :: Int
- alex_base :: AlexAddr
- alex_table :: AlexAddr
- alex_check :: AlexAddr
- alex_deflt :: AlexAddr
- alex_accept :: Array Int (AlexAcc user)
- alex_actions :: Array Int (AlexAction LocToken)
Documentation
data AlexReturn a Source #
alexScanUser :: t -> (AlexPosn, Char, [Byte], String) -> Int -> AlexReturn (AlexAction LocToken) Source #
alex_scan_tkn :: t1 -> t2 -> Int# -> AlexInput -> Int# -> AlexLastAcc -> (AlexLastAcc, (AlexPosn, Char, [Byte], String)) Source #
data AlexLastAcc Source #
setFilePath :: FilePath -> Alex () Source #
unquoteString :: String -> String Source #
remove single quotes, and '' escape sequences
utf8Encode :: Char -> [Word8] Source #
Encode a Haskell String to a list of Word8 values, in UTF8 format.
alexInputPrevChar :: AlexInput -> Char Source #
alexSetInput :: AlexInput -> Alex () Source #
alexSetStartCode :: Int -> Alex () Source #
alexSetUserState :: AlexUserState -> Alex () Source #
andBegin :: AlexAction result -> Int -> AlexAction result Source #
alex_tab_size :: Int Source #