Class: Crokus::Type
Overview
.….… types .….……
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#precisions ⇒ Object
Returns the value of attribute precisions.
Instance Method Summary collapse
-
#initialize(name) ⇒ Type
constructor
A new instance of Type.
Methods inherited from Ast
Constructor Details
#initialize(name) ⇒ Type
Returns a new instance of Type.
63 64 65 66 |
# File 'lib/crokus/ast.rb', line 63 def initialize name @precisions=[] @name=name end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
62 63 64 |
# File 'lib/crokus/ast.rb', line 62 def name @name end |
#precisions ⇒ Object
Returns the value of attribute precisions.
62 63 64 |
# File 'lib/crokus/ast.rb', line 62 def precisions @precisions end |