Class: MilkTea::AST::ForeignParam

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:, type:, mode:, boundary_type:, line: nil, column: nil) ⇒ ForeignParam

Returns a new instance of ForeignParam.



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

def initialize(name:, type:, mode:, boundary_type:, line: nil, column: nil) = super

Instance Attribute Details

#boundary_typeObject (readonly)

Returns the value of attribute boundary_type

Returns:

  • (Object)

    the current value of boundary_type



135
136
137
# File 'lib/milk_tea/core/ast.rb', line 135

def boundary_type
  @boundary_type
end

#columnObject (readonly)

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



135
136
137
# File 'lib/milk_tea/core/ast.rb', line 135

def column
  @column
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



135
136
137
# File 'lib/milk_tea/core/ast.rb', line 135

def line
  @line
end

#modeObject (readonly)

Returns the value of attribute mode

Returns:

  • (Object)

    the current value of mode



135
136
137
# File 'lib/milk_tea/core/ast.rb', line 135

def mode
  @mode
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



135
136
137
# File 'lib/milk_tea/core/ast.rb', line 135

def name
  @name
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



135
136
137
# File 'lib/milk_tea/core/ast.rb', line 135

def type
  @type
end