Class: MilkTea::AST::Specialization

Inherits:
Data
  • Object
show all
Defined in:
lib/milk_tea/core/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(callee:, arguments:, line: nil, column: nil) ⇒ Specialization

Returns a new instance of Specialization.



241
# File 'lib/milk_tea/core/ast.rb', line 241

def initialize(callee:, arguments:, line: nil, column: nil) = super

Instance Attribute Details

#argumentsObject (readonly)

Returns the value of attribute arguments

Returns:

  • (Object)

    the current value of arguments



240
241
242
# File 'lib/milk_tea/core/ast.rb', line 240

def arguments
  @arguments
end

#calleeObject (readonly)

Returns the value of attribute callee

Returns:

  • (Object)

    the current value of callee



240
241
242
# File 'lib/milk_tea/core/ast.rb', line 240

def callee
  @callee
end

#columnObject (readonly)

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



240
241
242
# File 'lib/milk_tea/core/ast.rb', line 240

def column
  @column
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



240
241
242
# File 'lib/milk_tea/core/ast.rb', line 240

def line
  @line
end