Class: MilkTea::AST::AttributeApplication

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, arguments:, line: nil, column: nil) ⇒ AttributeApplication

Returns a new instance of AttributeApplication.



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

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

Instance Attribute Details

#argumentsObject (readonly)

Returns the value of attribute arguments

Returns:

  • (Object)

    the current value of arguments



75
76
77
# File 'lib/milk_tea/core/ast.rb', line 75

def arguments
  @arguments
end

#columnObject (readonly)

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



75
76
77
# File 'lib/milk_tea/core/ast.rb', line 75

def column
  @column
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



75
76
77
# File 'lib/milk_tea/core/ast.rb', line 75

def line
  @line
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



75
76
77
# File 'lib/milk_tea/core/ast.rb', line 75

def name
  @name
end