class

Icr::Completion::Index

Inherits Reference < Object

Constructors

default

The index baked into THIS program (empty table when never opted in).

Source
new(table : String)

Parse a table; also the unit-test entry point (pass any TSV fixture).

Source

Instance methods

ancestors
Source
completions(prefix : String) : Array(String)

Type names by prefix — for word completion.

Source
constant_names(type : String) : Array(String)

Constant (and nested type) names on type — Math. → PI, E.

Source
constants
Source
entries
Source
member_names(type : String) : Array(String)

Instance methods reachable on type, inherited ones included (ancestor lists were baked flattened, so no recursive walk needed).

Source
search(query : String, limit : Int32 = 10) : Array(Hit)

Fuzzy search over "Owner.name(args)" / "Owner#name(args)" labels: substring matches rank by position, in-order subsequence matches after them; ties broken alphabetically for stable menus.

Source
self_method_names(type : String) : Array(String)

Class/module-level methods defined on type itself (metaclass inheritance isn't baked — Foo.bar completes only for defs on Foo).

Source
type?(name : String) : String | Nil
Source
types
Source