class SyntaxTree::YARV::Decompiler::BlockLabel
When
we’re decompiling, we use a looped case statement to emulate jumping around in the same way the virtual machine would. This class provides convenience methods for generating the AST nodes that have to do with that label.
Attributes
Public Class Methods
Source
# File lib/syntax_tree/yarv/decompiler.rb, line 16 def initialize(name) @name = name end
Public Instance Methods
Source
# File lib/syntax_tree/yarv/decompiler.rb, line 20 def field VarField(Ident(name)) end