Class: MilkTea::AST::IncludeDirective

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value:, line: nil, column: nil) ⇒ IncludeDirective

Returns a new instance of IncludeDirective.



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

def initialize(value:, line: nil, column: nil) = super

Instance Attribute Details

#columnObject (readonly)

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



66
67
68
# File 'lib/milk_tea/core/ast.rb', line 66

def column
  @column
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



66
67
68
# File 'lib/milk_tea/core/ast.rb', line 66

def line
  @line
end

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



66
67
68
# File 'lib/milk_tea/core/ast.rb', line 66

def value
  @value
end