Class: Furnace::AVM2::Tokens::FinallyToken
- Inherits:
-
Code::SeparatedToken
- Object
- Code::SeparatedToken
- Furnace::AVM2::Tokens::FinallyToken
- Defined in:
- lib/furnace-avm2/source/implementation_tokens/finally_token.rb
Instance Method Summary collapse
-
#initialize(origin, body, options = {}) ⇒ FinallyToken
constructor
A new instance of FinallyToken.
- #text_before ⇒ Object
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, ={}) super(origin, [ body ], ) end |
Instance Method Details
#text_before ⇒ Object
7 8 9 |
# File 'lib/furnace-avm2/source/implementation_tokens/finally_token.rb', line 7 def text_before "finally " end |