Idea detail
outbound_one_hop
reqlan rq/extension/language/support/open-file-sequencing.rq:169
Summary
The hot path parses imported files only.
For each import in the open buffer, parse that file once, then stop.
Read idea names, idea lines, and import aliases. Do not parse files that the import references.
Do not read SQLite.
Prefer the open buffer text when that import is already open and dirty.
Cache each parse by path plus file stamp ( modified time and size ) ( session.rs ).
A current stamp is one `stat`. Read and parse the file only when the stamp changed.
Cache the open buffer by URI plus text fingerprint ( open_file_hot_path ).
local_symbolic_analysis stays file-local. This hop is outside that extract.
An extensionless import path prefers `.rq`, then the path as written
( implicit_file_extension ).
A qualified reference that is not an import waits for lazy_features_after_outbound.
Related: open_file_algorithm, non_web_reference_navigation.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | session.rs, analysis.rs, parse-source.ts |
| status | done |
| tests | parity.rs:from_import_tokens_link_independently, parity.rs:reports_an_error_when_an_import_path_file_does_not_exist, parity.rs:extensionless_path_confirms_the_neighbor_idea, outbound-hop.test.ts:reuses a cached neighbor parse for the same content, outbound-hop.test.ts:does not parse a neighbor of the neighbor |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | open_file_algorithm | reqlan rq/extension/language/support/open-file-sequencing.rq | outbound_one_hop |
| references | ast_lifecycle | reqlan rq/extension/language/support/open-file-sequencing.rq | outbound_one_hop |
| references | open_file_hot_path | reqlan rq/extension/language/support/open-file-sequencing.rq | outbound_one_hop |
| references | missing_reference_colour_sequence | reqlan rq/extension/language/support/open-file-sequencing.rq | outbound_one_hop |
| references | native_cache_retention | reqlan rq/extension/language/support/open-file-sequencing.rq | outbound_one_hop |
| references | non_web_reference_navigation | reqlan rq/extension/language/syntax/features-syntax-highlighting.rq | outbound_one_hop |
| references | local_symbolic_analysis | reqlan rq/indexer/indexer.rq | outbound_one_hop |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…