class Solargraph::Source::Chain::Link

def == other

def == other
  self.class == other.class and word == other.word
end

def clone_body

Returns:
  • (self) -
def clone_body
  clone.mark_head(false)
end

def clone_head

Returns:
  • (self) -
def clone_head
  clone.mark_head(true)
end

def constant?

def constant?
  is_a?(Chain::Constant)
end

def desc

debugging description of contents; not for machine use
def desc
  word
end

def head?

def head?
  @head ||= false
end

def initialize word = '<undefined>'

Parameters:
  • word (String) --
def initialize word = '<undefined>'
  @word = word
end

def inspect

def inspect
  "#{self.class} #{word}"
end

def inspect

def inspect
  "#<#{self.class} - `#{self.desc}`>"
end

def mark_head bool

Returns:
  • (self) -

Parameters:
  • bool (Boolean) --
def mark_head bool
  @head = bool
  self
end

def nullable?

def nullable?
  false
end

def resolve api_map, name_pin, locals

Returns:
  • (::Array) -

Parameters:
  • locals (::Enumerable) --
  • name_pin (Pin::Base) --
  • api_map (ApiMap) --
def resolve api_map, name_pin, locals
  []
end

def undefined?

def undefined?
  word == '<undefined>'
end