Class: Cheri::Java::Builder::Constants::ConstRec
- Inherits:
-
Object
- Object
- Cheri::Java::Builder::Constants::ConstRec
- Defined in:
- lib/cheri/java/builder/util.rb
Overview
:startdoc:
Instance Method Summary collapse
- #decl_cls ⇒ Object
-
#initialize(t, d, n = nil) ⇒ ConstRec
constructor
A new instance of ConstRec.
- #next_rec ⇒ Object
- #next_rec=(n) ⇒ Object
- #type_cls ⇒ Object
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_cls ⇒ Object
196 197 198 |
# File 'lib/cheri/java/builder/util.rb', line 196 def decl_cls @d end |
#next_rec ⇒ Object
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_cls ⇒ Object
193 194 195 |
# File 'lib/cheri/java/builder/util.rb', line 193 def type_cls @t end |