Skip to content

SymbolKind

Inspect a symbol definition's kind to identify functions, classes, methods, or notebook targets. Import SymbolKind from linescope.

enum linescope.enums.SymbolKind[source]

Classify a statically resolved project definition.

Definitions identify functions, classes, methods, or notebooks.

  • FUNCTION
  • CLASS
  • METHOD
  • NOTEBOOK
Attributes

FUNCTION : SymbolKind

Identify a function definition outside a class body.

CLASS : SymbolKind

Identify a project class definition.

METHOD : SymbolKind

Identify a function defined in a class body.

NOTEBOOK : SymbolKind

Identify a captured notebook navigation target.