Class: Kumi::Syntax::ImportDeclaration

Inherits:
Struct
  • Object
show all
Includes:
Node
Defined in:
lib/kumi/syntax/import_declaration.rb

Instance Attribute Summary collapse

Attributes included from Node

#hints

Instance Method Summary collapse

Methods included from Node

#==, #initialize

Instance Attribute Details

#locObject

Returns the value of attribute loc

Returns:

  • (Object)

    the current value of loc



5
6
7
# File 'lib/kumi/syntax/import_declaration.rb', line 5

def loc
  @loc
end

#module_refObject

Returns the value of attribute module_ref

Returns:

  • (Object)

    the current value of module_ref



5
6
7
# File 'lib/kumi/syntax/import_declaration.rb', line 5

def module_ref
  @module_ref
end

#namesObject

Returns the value of attribute names

Returns:

  • (Object)

    the current value of names



5
6
7
# File 'lib/kumi/syntax/import_declaration.rb', line 5

def names
  @names
end

Instance Method Details

#childrenObject



8
# File 'lib/kumi/syntax/import_declaration.rb', line 8

def children = []