class BowlingScorer::Lexer
- BowlingScorer::Lexer
- Reference
- Object
Defined in:
bowling-scorer/lexer.crConstant Summary
-
GUTTER =
"-"
-
GUTTER_C =
'-'
-
NUMBERS =
"0123456789"
-
SPARE =
"/"
-
SPARE_C =
'/'
-
STRIKE =
"X"
-
String representation of our tokens.
-
STRIKE_C =
'X'
-
Char representation of our tokens.
Constructors
Instance Method Summary
- #char : Char | TokenType
- #char=(char : Char | TokenType)
- #game : String
- #index : Int32
- #index=(index : Int32)
- #next_token : Token