Class: Cheri::Java::Builder::Constants::ConstRec

Inherits:
Object
  • Object
show all
Defined in:
lib/cheri/java/builder/util.rb

Overview

:startdoc:

Instance Method Summary collapse

Constructor Details

#initialize(t, d, n = nil) ⇒ ConstRec

Returns a new instance of ConstRec.



188
189
190
191
192
# File 'lib/cheri/java/builder/util.rb', line 188

def initialize(t,d,n=nil)
  @t = t
  @d = d
  @n = n if n
end

Instance Method Details

#decl_clsObject



196
197
198
# File 'lib/cheri/java/builder/util.rb', line 196

def decl_cls
  @d  
end

#next_recObject



199
200
201
# File 'lib/cheri/java/builder/util.rb', line 199

def next_rec
  @n  
end

#next_rec=(n) ⇒ Object



202
203
204
# File 'lib/cheri/java/builder/util.rb', line 202

def next_rec=(n)
  @n = n  
end

#type_clsObject



193
194
195
# File 'lib/cheri/java/builder/util.rb', line 193

def type_cls
  @t  
end