Class: MateExample::PrintScopeTree

Inherits:
Jface::Action
  • Object
show all
Defined in:
lib/javamateview/example.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#windowObject

Returns the value of attribute window.



220
221
222
# File 'lib/javamateview/example.rb', line 220

def window
  @window
end

Instance Method Details

#runObject



222
223
224
# File 'lib/javamateview/example.rb', line 222

def run
  puts @window.mate_text.parser.root.pretty(0)
end