Class: Furnace::AVM2::Tokens::MultinameToken

Inherits:
Code::TerminalToken
  • Object
show all
Defined in:
lib/furnace-avm2/source/declaration_tokens/multiname_token.rb

Instance Method Summary collapse

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, options={})
  super(origin, options)
  @multiname = multiname
end

Instance Method Details

#to_textObject



8
9
10
# File 'lib/furnace-avm2/source/declaration_tokens/multiname_token.rb', line 8

def to_text
  name_to_text(@multiname)
end