Class: AbstractSyntaxTreeKit::Node::FLIP3

Inherits:
AbstractSyntaxTreeKit::Node show all
Defined in:
lib/astkit/node/flip3.rb

Instance Attribute Summary collapse

Attributes inherited from AbstractSyntaxTreeKit::Node

#body, #children, #condition, #els, #first_column, #first_lineno, #last_column, #last_lineno, #type

Instance Method Summary collapse

Constructor Details

#initialize(node:, nd_begin:, nd_end:) ⇒ FLIP3

Returns a new instance of FLIP3.



6
7
8
9
10
# File 'lib/astkit/node/flip3.rb', line 6

def initialize(node:, nd_begin:, nd_end:)
  super(node)
  @begin = nd_begin
  @end = nd_end
end

Instance Attribute Details

#beginObject (readonly)

Returns the value of attribute begin.



4
5
6
# File 'lib/astkit/node/flip3.rb', line 4

def begin
  @begin
end

#endObject (readonly)

Returns the value of attribute end.



4
5
6
# File 'lib/astkit/node/flip3.rb', line 4

def end
  @end
end