Class: RLSL::Prism::IR::FuncCall
- Defined in:
- lib/rlsl/prism/ir/expressions.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#receiver ⇒ Object
readonly
Returns the value of attribute receiver.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(name, args = [], receiver = nil, type = nil) ⇒ FuncCall
constructor
A new instance of FuncCall.
Methods inherited from Node
Constructor Details
#initialize(name, args = [], receiver = nil, type = nil) ⇒ FuncCall
Returns a new instance of FuncCall.
98 99 100 101 102 103 104 |
# File 'lib/rlsl/prism/ir/expressions.rb', line 98 def initialize(name, args = [], receiver = nil, type = nil) super() @name = name @args = args @receiver = receiver @type = type end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
94 95 96 |
# File 'lib/rlsl/prism/ir/expressions.rb', line 94 def args @args end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
94 95 96 |
# File 'lib/rlsl/prism/ir/expressions.rb', line 94 def name @name end |
#receiver ⇒ Object (readonly)
Returns the value of attribute receiver.
94 95 96 |
# File 'lib/rlsl/prism/ir/expressions.rb', line 94 def receiver @receiver end |