Class: Furnace::AVM2::Tokens::FunctionNameToken
- Inherits:
-
Code::SurroundedToken
- Object
- Code::SurroundedToken
- Furnace::AVM2::Tokens::FunctionNameToken
- Defined in:
- lib/furnace-avm2/source/declaration_tokens/function_name_token.rb
Instance Method Summary collapse
Instance Method Details
#text_before ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/furnace-avm2/source/declaration_tokens/function_name_token.rb', line 3 def text_before case @options[:type] when :getter "function get " when :setter "function set " else "function " end end |