Class: Chelsy::Type::Pointer
- Defined in:
- lib/chelsy/ast.rb
Instance Attribute Summary collapse
-
#pointee ⇒ Object
readonly
Returns the value of attribute pointee.
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(pointee, restrict: false, **rest) ⇒ Pointer
constructor
A new instance of Pointer.
- #qualified? ⇒ Boolean
- #restrict? ⇒ Boolean
- #termination_type ⇒ Object
Methods inherited from Base
Constructor Details
Instance Attribute Details
#pointee ⇒ Object (readonly)
Returns the value of attribute pointee.
375 376 377 |
# File 'lib/chelsy/ast.rb', line 375 def pointee @pointee end |
Instance Method Details
#qualified? ⇒ Boolean
386 387 388 |
# File 'lib/chelsy/ast.rb', line 386 def qualified? @restrict || super end |
#restrict? ⇒ Boolean
384 |
# File 'lib/chelsy/ast.rb', line 384 def restrict?; @restrict end |