Module: Stretto::Tokens::VariableToken
- Defined in:
- lib/stretto/grammar/tokens/value_token.rb
Overview
Represents a variable value parsed from a music string
Instance Method Summary collapse
-
#wrap ⇒ Value::VariableValue
A VariableValue with the parsed text as the name of the variable it references.
Instance Method Details
#wrap ⇒ Value::VariableValue
Returns A VariableValue with the parsed text as the name of the variable it references.
22 23 24 |
# File 'lib/stretto/grammar/tokens/value_token.rb', line 22 def wrap Stretto::Value::VariableValue.new(name.text_value) end |