Class: Furnace::AVM2::Tokens::MultinameToken
- Inherits:
-
Code::TerminalToken
- Object
- Code::TerminalToken
- Furnace::AVM2::Tokens::MultinameToken
- Defined in:
- lib/furnace-avm2/source/declaration_tokens/multiname_token.rb
Instance Method Summary collapse
-
#initialize(origin, multiname, options = {}) ⇒ MultinameToken
constructor
A new instance of MultinameToken.
- #to_text ⇒ Object
Constructor Details
#initialize(origin, multiname, options = {}) ⇒ MultinameToken
Returns a new instance of MultinameToken.
3 4 5 6 |
# File 'lib/furnace-avm2/source/declaration_tokens/multiname_token.rb', line 3 def initialize(origin, multiname, ={}) super(origin, ) @multiname = multiname end |
Instance Method Details
#to_text ⇒ Object
8 9 10 |
# File 'lib/furnace-avm2/source/declaration_tokens/multiname_token.rb', line 8 def to_text name_to_text(@multiname) end |