Class: Stretto::Tokens::ControllerChangeToken
Overview
Token result from parsing a controller change
Instance Method Summary collapse
Methods inherited from HashToken
Instance Method Details
#controller ⇒ Value
15 16 17 |
# File 'lib/stretto/grammar/tokens/controller_change_token.rb', line 15 def controller Value.new(__controller.wrap) end |
#to_stretto(pattern) ⇒ MusicElements::ControllerChange
10 11 12 |
# File 'lib/stretto/grammar/tokens/controller_change_token.rb', line 10 def to_stretto(pattern) Stretto::MusicElements::ControllerChange.new(self, pattern) end |