class RubyLsp::NodeContext

This class allows listeners to access contextual information about a node in the AST, such as its parent, its namespace nesting, and the surrounding CallNode (e.g. a method call).

Attributes

call_node (attr_reader)

nesting (attr_reader)

node (attr_reader)

parent (attr_reader)

surrounding_method (attr_reader)

Public Class Methods

new(node, parent, nesting_nodes, call_node)

Public Instance Methods

fully_qualified_name()

locals_for_scope()