Class: Jade::Frontend::UsageAnalysis::Reference

Inherits:
Data
  • Object
show all
Defined in:
lib/jade/frontend/usage_analysis/reference_index.rb

Overview

owner is the key of the enclosing declaration or implementation, nil only at module level. Declaration owners share the symbol_key namespace, so a reference's owner can be looked up in the index that produced it.

Instance Attribute Summary collapse

Instance Attribute Details

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



8
9
10
# File 'lib/jade/frontend/usage_analysis/reference_index.rb', line 8

def kind
  @kind
end

#ownerObject (readonly)

Returns the value of attribute owner

Returns:

  • (Object)

    the current value of owner



8
9
10
# File 'lib/jade/frontend/usage_analysis/reference_index.rb', line 8

def owner
  @owner
end

#rangeObject (readonly)

Returns the value of attribute range

Returns:

  • (Object)

    the current value of range



8
9
10
# File 'lib/jade/frontend/usage_analysis/reference_index.rb', line 8

def range
  @range
end

#symbol_keyObject (readonly)

Returns the value of attribute symbol_key

Returns:

  • (Object)

    the current value of symbol_key



8
9
10
# File 'lib/jade/frontend/usage_analysis/reference_index.rb', line 8

def symbol_key
  @symbol_key
end