Class: Java::org::jruby::ir::IRScope

Inherits:
Object
  • Object
show all
Defined in:
lib/jruby_visualizer/core_ext/ir_scope.rb

Instance Method Summary collapse

Instance Method Details

#cfg!Object

return the CFG and if it is not created yet construct it as a side-effect



11
12
13
14
# File 'lib/jruby_visualizer/core_ext/ir_scope.rb', line 11

def cfg!
  buildCFG unless get_cfg
  get_cfg
end

#keyObject

Return a key for storage into the ScopeRegistry.



4
5
6
# File 'lib/jruby_visualizer/core_ext/ir_scope.rb', line 4

def key
  "#{get_name}[#{get_file_name}:#{get_line_number}]".to_sym
end