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