Class: Stretto::Tokens::AttackDecayToken
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Stretto::Tokens::AttackDecayToken
- Defined in:
- lib/stretto/grammar/tokens/attack_decay_token.rb
Overview
Token result from parsing attack and decay syntax
Instance Method Summary collapse
Instance Method Details
#attack ⇒ NumericToken, ...
10 11 12 |
# File 'lib/stretto/grammar/tokens/attack_decay_token.rb', line 10 def attack _attack.value.wrap if _attack and _attack.text_value.present? end |
#decay ⇒ NumericToken, ...
15 16 17 |
# File 'lib/stretto/grammar/tokens/attack_decay_token.rb', line 15 def decay _decay.value.wrap if _decay and _decay.text_value.present? end |