Module: Wukong::FlatPack::Tokens
- Defined in:
- lib/wukong/model/flatpack_parser/tokens.rb
Defined Under Namespace
Classes: BasicToken, BoolToken, FixedPointToken, FloatToken, IgnoreToken, IntToken, StringToken, Token
Constant Summary collapse
- TOKEN_CLASSES =
{}
Class Method Summary collapse
Class Method Details
.token_for_indicator(indicator) ⇒ Object
6 7 8 |
# File 'lib/wukong/model/flatpack_parser/tokens.rb', line 6 def self.token_for_indicator(indicator) return TOKEN_CLASSES[indicator].new end |