Class: Furnace::AVM2::Tokens::FinallyToken

Inherits:
Code::SeparatedToken
  • Object
show all
Defined in:
lib/furnace-avm2/source/implementation_tokens/finally_token.rb

Instance Method Summary collapse

Constructor Details

#initialize(origin, body, options = {}) ⇒ FinallyToken

Returns a new instance of FinallyToken.



3
4
5
# File 'lib/furnace-avm2/source/implementation_tokens/finally_token.rb', line 3

def initialize(origin, body, options={})
  super(origin, [ body ], options)
end

Instance Method Details

#text_beforeObject



7
8
9
# File 'lib/furnace-avm2/source/implementation_tokens/finally_token.rb', line 7

def text_before
  "finally "
end