Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Token
- = TokPlus
- | TokMinus
- | TokStar
- | TokSlash
- | TokPercent
- | TokExp
- | TokSh
- | TokEqual
- | TokNotequal
- | TokLEq
- | TokGEq
- | TokLT
- | TokGT
- | TokAssign
- | TokLParen
- | TokRParen
- | TokLBrace
- | TokRBrace
- | TokLBracket
- | TokRBracket
- | TokDColon
- | TokSemic
- | TokColon
- | TokComma
- | TokDot
- | TokDDot
- | TokEllipsis
- | TokDLT
- | TokDGT
- | TokAmpersand
- | TokPipe
- | TokDSlash
- | TokTilde
- | TokAnd
- | TokBreak
- | TokDo
- | TokElse
- | TokElseIf
- | TokEnd
- | TokFalse
- | TokFor
- | TokFunction
- | TokGoto
- | TokIf
- | TokIn
- | TokLocal
- | TokNil
- | TokNot
- | TokOr
- | TokRepeat
- | TokReturn
- | TokThen
- | TokTrue
- | TokUntil
- | TokWhile
- | TokFloat
- | TokInt
- | TokSLit
- | TokIdent
- | TokWhiteSpace
- | TokComment
- | TokUntermString
- | TokUntermComment
- | TokUnexpected
Documentation
Lua tokens
TokPlus | + |
TokMinus | - |
TokStar | * |
TokSlash | / |
TokPercent | % |
TokExp | ^ |
TokSh | # |
TokEqual | == |
TokNotequal | ~= |
TokLEq | <= |
TokGEq | >= |
TokLT | < |
TokGT | > |
TokAssign | = |
TokLParen | ( |
TokRParen | ) |
TokLBrace | { |
TokRBrace | } |
TokLBracket | [ |
TokRBracket | ] |
TokDColon | :: |
TokSemic | ; |
TokColon | : |
TokComma | , |
TokDot | . |
TokDDot | .. |
TokEllipsis | ... |
TokDLT | << |
TokDGT | >> |
TokAmpersand | & |
TokPipe | | |
TokDSlash | // |
TokTilde | ~ |
TokAnd | and |
TokBreak | break |
TokDo | do |
TokElse | else |
TokElseIf | elseif |
TokEnd | end |
TokFalse | false |
TokFor | for |
TokFunction | function |
TokGoto | goto |
TokIf | if |
TokIn | in |
TokLocal | local |
TokNil | nil |
TokNot | not |
TokOr | or |
TokRepeat | repeat |
TokReturn | return |
TokThen | then |
TokTrue | true |
TokUntil | until |
TokWhile | while |
TokFloat | floating point number constant |
TokInt | integer number constant |
TokSLit | string constant |
TokIdent | identifier |
TokWhiteSpace | white space |
TokComment | comment |
TokUntermString | unterminated string |
TokUntermComment | unterminated comment |
TokUnexpected | unexpected character |