Class: MilkTea::AST::Call
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::Call
- Defined in:
- lib/milk_tea/core/ast.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#callee ⇒ Object
readonly
Returns the value of attribute callee.
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(callee:, arguments:, line: nil, column: nil) ⇒ Call
constructor
A new instance of Call.
Constructor Details
#initialize(callee:, arguments:, line: nil, column: nil) ⇒ Call
Returns a new instance of Call.
244 |
# File 'lib/milk_tea/core/ast.rb', line 244 def initialize(callee:, arguments:, line: nil, column: nil) = super |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments
243 244 245 |
# File 'lib/milk_tea/core/ast.rb', line 243 def arguments @arguments end |
#callee ⇒ Object (readonly)
Returns the value of attribute callee
243 244 245 |
# File 'lib/milk_tea/core/ast.rb', line 243 def callee @callee end |
#column ⇒ Object (readonly)
Returns the value of attribute column
243 244 245 |
# File 'lib/milk_tea/core/ast.rb', line 243 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
243 244 245 |
# File 'lib/milk_tea/core/ast.rb', line 243 def line @line end |