Class: AbstractSyntaxTreeKit::Node::DOT3
- Inherits:
-
AbstractSyntaxTreeKit::Node
- Object
- AbstractSyntaxTreeKit::Node
- AbstractSyntaxTreeKit::Node::DOT3
- Defined in:
- lib/astkit/node/dot3.rb
Instance Attribute Summary collapse
-
#begin ⇒ Object
readonly
Returns the value of attribute begin.
-
#end ⇒ Object
readonly
Returns the value of attribute end.
Attributes inherited from AbstractSyntaxTreeKit::Node
#body, #children, #condition, #els, #first_column, #first_lineno, #last_column, #last_lineno, #type
Instance Method Summary collapse
-
#initialize(node:, nd_begin:, nd_end:) ⇒ DOT3
constructor
A new instance of DOT3.
Constructor Details
#initialize(node:, nd_begin:, nd_end:) ⇒ DOT3
Returns a new instance of DOT3.
6 7 8 9 10 |
# File 'lib/astkit/node/dot3.rb', line 6 def initialize(node:, nd_begin:, nd_end:) super(node) @begin = nd_begin @end = nd_end end |
Instance Attribute Details
#begin ⇒ Object (readonly)
Returns the value of attribute begin.
4 5 6 |
# File 'lib/astkit/node/dot3.rb', line 4 def begin @begin end |
#end ⇒ Object (readonly)
Returns the value of attribute end.
4 5 6 |
# File 'lib/astkit/node/dot3.rb', line 4 def end @end end |