Class: Furnace::AVM2::Tokens::ImmediateTypenameToken
- Inherits:
-
Code::TerminalToken
- Object
- Code::TerminalToken
- Furnace::AVM2::Tokens::ImmediateTypenameToken
- Includes:
- IsSimple
- Defined in:
- lib/furnace-avm2/source/implementation_tokens/immediate_typename_token.rb
Instance Method Summary collapse
-
#initialize(origin, value, options = {}) ⇒ ImmediateTypenameToken
constructor
A new instance of ImmediateTypenameToken.
- #to_text ⇒ Object
Methods included from IsSimple
Constructor Details
#initialize(origin, value, options = {}) ⇒ ImmediateTypenameToken
Returns a new instance of ImmediateTypenameToken.
5 6 7 8 |
# File 'lib/furnace-avm2/source/implementation_tokens/immediate_typename_token.rb', line 5 def initialize(origin, value, ={}) super(origin, ) @value = value end |
Instance Method Details
#to_text ⇒ Object
10 11 12 |
# File 'lib/furnace-avm2/source/implementation_tokens/immediate_typename_token.rb', line 10 def to_text @value end |