Class: Furnace::AVM2::Tokens::ClassSpecifiersToken

Inherits:
SpecifiersToken
  • Object
show all
Defined in:
lib/furnace-avm2/source/declaration_tokens/class_specifiers_token.rb

Instance Method Summary collapse

Methods inherited from SpecifiersToken

#to_text

Instance Method Details

#specifiersObject



5
6
7
8
9
10
11
# File 'lib/furnace-avm2/source/declaration_tokens/class_specifiers_token.rb', line 5

def specifiers
  list = []
  list << "final"   if @origin.final?
  list << "dynamic" unless @origin.sealed?
  list << "public"
  list
end