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