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