Class: RuTu::RClassNode

Inherits:
RObjectNode show all
Defined in:
lib/RuTu.rb

Instance Method Summary collapse

Methods inherited from RObjectNode

#_iv_tbl, #iv_tbl

Methods inherited from RBasicNode

#_klass, #flags, #klass

Methods inherited from ValueNode

#_obj_id, #initialize, #node_id, #same_value?, #to_dot, #walk

Constructor Details

This class inherits a constructor from RuTu::ValueNode

Instance Method Details

#_m_tblObject



79
80
81
# File 'lib/RuTu.rb', line 79

def _m_tbl
  RuTuExt._m_tbl(@value)
end

#_superObject



85
86
87
# File 'lib/RuTu.rb', line 85

def _super
  RuTuExt._super(@value)
end

#colorObject



95
96
97
# File 'lib/RuTu.rb', line 95

def color
  "red"
end

#fieldsObject



92
93
94
# File 'lib/RuTu.rb', line 92

def fields
  super() + [ :m_tbl, :super ]
end

#header_valueObject



76
77
78
# File 'lib/RuTu.rb', line 76

def header_value
  [ super(), RuTuExt._class_path(@value) ]
end

#m_tblObject



82
83
84
# File 'lib/RuTu.rb', line 82

def m_tbl
  walk(_m_tbl(), St_TableNode, "m_tbl")
end

#superObject Also known as: zuper



88
89
90
# File 'lib/RuTu.rb', line 88

def super
  walk(_super(), RClassNode, "super")
end