Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JRMurr/tix
/ functions
Functions
2,574 in github.com/JRMurr/tix
⨍
Functions
2,574
◇
Types & classes
237
↓ 2 callers
Function
scan_all_import_paths
Scan a module for all import paths without resolving types. Combines `scan_literal_imports` and `scan_callpackage_imports`, normalizes paths, applies
crates/lang_check/src/imports.rs:229
↓ 2 callers
Function
scan_callpackage_imports
Scan a module's AST for `callPackage <literal-path> <overrides>` patterns. The Nix desugaring of `callPackage ./pkg.nix {}` is: `Apply { fun: Apply {
crates/lang_check/src/imports.rs:136
↓ 2 callers
Function
scan_literal_imports
Scan a module's AST for `import <literal-path>` patterns. Walks all expressions looking for Apply nodes where: - `fun` is a Reference("import") that
crates/lang_check/src/imports.rs:48
↓ 2 callers
Method
schedule_analysis
Schedule analysis for a file. The text is stored immediately in `pending_text` so that request handlers (e.g. completion) can re-parse it on the fly,
crates/lsp/src/server.rs:159
↓ 2 callers
Function
scope_at_token
Find the scope at the given token by walking ancestor syntax nodes until one maps to an ExprId with a registered scope. When the token is whitespace
crates/lsp/src/completion.rs:1262
↓ 2 callers
Method
selection_range
Selection ranges for multiple positions in a file.
crates/lsp/tests/common/mod.rs:616
↓ 2 callers
Function
semantic_tokens
(analysis: &FileSnapshot, root: &rnix::Root)
crates/lsp/src/semantic_tokens.rs:47
↓ 2 callers
Function
sig_label
Extract the signature label from a SignatureHelp result.
crates/lsp/src/signature_help.rs:338
↓ 2 callers
Function
signature_help
Entry point: try to produce signature help for the given cursor position. Walks up from the cursor token looking for enclosing Apply nodes. When foun
crates/lsp/src/signature_help.rs:28
↓ 2 callers
Method
signature_help
Signature help at a given position.
crates/lsp/tests/common/mod.rs:473
↓ 2 callers
Function
simplify_once
(arena: &mut TypeArena, ty: TyRef)
crates/lang_ty/src/simplify.rs:374
↓ 2 callers
Function
sorted_names
Helper: sort a layer's file names for deterministic comparison.
crates/lang_check/src/file_graph.rs:216
↓ 2 callers
Method
summary
Print a summary table to stderr.
crates/cli/src/timing.rs:104
↓ 2 callers
Method
syntax_for_file
(&self, path: &Path)
crates/lang_check/src/coordinator.rs:677
↓ 2 callers
Method
synth_builtins_attrset
Synthesize the `builtins` attrset containing all known builtins as fields.
crates/lang_check/src/builtins.rs:254
↓ 2 callers
Method
synthesize_builtin
Synthesize the type for a named builtin. Returns fresh type vars for polymorphic builtins so each reference is independent.
crates/lang_check/src/builtins.rs:158
↓ 2 callers
Function
tix_cli
()
crates/cli/tests/custom_stubs.rs:27
↓ 2 callers
Function
translate_signature
Translate a noogle type signature to .tix syntax. Returns a TranslationResult with the translated signature or a reason for failure.
scripts/gen_lib_stubs.py:484
↓ 2 callers
Function
truncate_string
(s: &str, max_len: usize)
crates/repo_check/src/runner.rs:272
↓ 2 callers
Function
try_literal_comparison
Check if `var_expr` is a reference to a local name and `literal_expr` is a recognized literal (null, true, false, int, float, string, path). Returns t
crates/lang_ast/src/narrow.rs:419
↓ 2 callers
Method
try_load_module_stub
Best-effort load of a module stub from `builtin_stubs_dir`. Given an alias name like `"Pkgs"`, looks for `pkgs.tix` in the stubs directory. If found
crates/lang_check/src/aliases.rs:681
↓ 2 callers
Method
type_name
(&self)
crates/cli/src/gen_stubs.rs:476
↓ 2 callers
Method
union
(&mut self, a: TyId, b: TyId)
crates/lang_check/src/collect.rs:102
↓ 2 callers
Method
union_contains_member
Check if a Union type tree contains a specific TyId as a leaf member. Used for union absorption: `(A ∨ B) ∨ B = A ∨ B`. When variable isolation create
crates/lang_check/src/constrain.rs:515
↓ 2 callers
Function
unwrap_let_in
Unwrap nested let-in expressions to find the inner body.
crates/lang_ast/src/classify.rs:415
↓ 2 callers
Method
update_ephemeral_stub
Store or update the file signature in the coordinator cache. Returns `true` if the type actually changed (callers use this to decide whether to trigge
crates/lsp/src/state.rs:795
↓ 2 callers
Function
warnings_to_diagnostics
Convert a batch of `LocatedWarning`s into `TixDiagnostic`s.
crates/lang_check/src/diagnostic.rs:682
↓ 2 callers
Function
workspace_symbols
SymbolInformation.deprecated field is deprecated but required
crates/lsp/src/workspace_symbols.rs:28
↓ 2 callers
Method
workspace_symbols
SymbolInformation has deprecated fields
crates/lsp/tests/common/mod.rs:673
↓ 2 callers
Function
write_json_output
Serialize the JSON output to stdout.
crates/cli/src/json_output.rs:161
↓ 2 callers
Method
write_members_truncated
( &self, members: &[TyRef], separator: &str, depth: usize, buf: &mut S
crates/lang_ty/src/arena.rs:659
↓ 1 callers
Function
add_invalid_interpolation_actions
( analysis: &FileSnapshot, params: &CodeActionParams, root: &rnix::Root, uri: &Url, action
crates/lsp/src/code_actions.rs:466
↓ 1 callers
Function
add_missing_field_actions
( analysis: &FileSnapshot, params: &CodeActionParams, root: &rnix::Root, uri: &Url, action
crates/lsp/src/code_actions.rs:66
↓ 1 callers
Function
add_path_concatenation_actions
( analysis: &FileSnapshot, params: &CodeActionParams, root: &rnix::Root, uri: &Url, action
crates/lsp/src/code_actions.rs:257
↓ 1 callers
Function
add_string_coercion_actions
( analysis: &FileSnapshot, params: &CodeActionParams, root: &rnix::Root, uri: &Url, action
crates/lsp/src/code_actions.rs:368
↓ 1 callers
Function
add_type_annotation_actions
( analysis: &FileSnapshot, params: &CodeActionParams, root: &rnix::Root, uri: &Url, action
crates/lsp/src/code_actions.rs:536
↓ 1 callers
Function
analyze
( arena: &TypeArena, ty: TyRef, positive: bool, path: &mut Vec<PathSegment>, vars: &mut Fx
crates/lang_ty/src/simplify.rs:73
↓ 1 callers
Method
any_node_matches_inner
( &self, ty: TyRef, pred: &impl Fn(&OutputTy) -> bool, visited: &mut FxHashSet
crates/lang_ty/src/arena.rs:466
↓ 1 callers
Function
apply_limits
(cli_override: Option<u64>)
crates/lsp/src/lib.rs:171
↓ 1 callers
Function
apply_simplification
( arena: &mut TypeArena, ty: TyRef, substitution: &FxHashMap<u32, u32>, removable: &FxHashSet<
crates/lang_ty/src/simplify.rs:217
↓ 1 callers
Function
arb_bool_str
()
crates/lang_check/src/pbt/mod.rs:51
↓ 1 callers
Function
arb_float_str
()
crates/lang_check/src/pbt/mod.rs:83
↓ 1 callers
Function
arb_guard_condition
Recursive generator for guard conditions on `__narr_x`. Leaves: type predicates, compound predicates, literal equality, hasField. Recursion (depth 2)
crates/lang_check/src/pbt/mod.rs:964
↓ 1 callers
Function
arb_int_str
()
crates/lang_check/src/pbt/mod.rs:64
↓ 1 callers
Function
arb_leaf_with_typeof
Generate a ParsedTy leaf that may or may not be a TypeOf.
crates/lang_check/src/pbt/type_ops.rs:156
↓ 1 callers
Function
arb_prim
()
crates/lang_ty/src/arbitrary.rs:388
↓ 1 callers
Function
arb_prim_leaf
Leaf strategy producing (RawTy, NixTextStr) for primitive types.
crates/lang_check/src/pbt/frozen.rs:173
↓ 1 callers
Function
arb_split_stubs
()
crates/lsp/src/pbt_stubs.rs:186
↓ 1 callers
Function
arb_str_value
()
crates/lang_check/src/pbt/mod.rs:104
↓ 1 callers
Function
async_lsp_main
(mem_limit_override: Option<u64>, log_level_override: Option<String>)
crates/lsp/src/lib.rs:98
↓ 1 callers
Function
build_cooccurrence_substitution
(vars: &FxHashMap<u32, VarInfo>)
crates/lang_ty/src/simplify.rs:161
↓ 1 callers
Function
build_exclude_set
Build a GlobSet from the `[project] exclude` patterns.
crates/cli/src/config.rs:59
↓ 1 callers
Function
build_file_analysis
Build a `FileAnalysis` from inference inputs and check result. This is the legacy path used during the transition — handlers will eventually read from
crates/lsp/src/state.rs:138
↓ 1 callers
Function
build_hm_nix_expr
Build the nix expression for evaluating Home Manager options.
crates/cli/src/gen_stubs.rs:726
↓ 1 callers
Function
build_merged_stubs_dir
Create a user-owned merged-stubs directory at `~/.cache/tix/custom-stubs/<cache_key>/`. The directory contains copies of every `.tix` file from `built
crates/lsp/src/store_stubs.rs:161
↓ 1 callers
Function
build_nix_expr
Build the full nix expression that imports extract-options.nix and passes the correct `options` argument.
crates/cli/src/gen_stubs.rs:674
↓ 1 callers
Function
build_pkgs_classify_expr
Build the nix expression that recursively classifies nixpkgs attributes. For each attr, we try to evaluate it and record: - `type`: result of `builti
crates/cli/src/gen_stubs.rs:997
↓ 1 callers
Function
build_selection_range
( analysis: &FileSnapshot, pos: Position, root: &rnix::Root, )
crates/lsp/src/selection_range.rs:24
↓ 1 callers
Function
build_signature_help
Build `SignatureHelp` from a function type (as arena + TyRef), the number of parameters being applied, and the active parameter index.
crates/lsp/src/signature_help.rs:144
↓ 1 callers
Function
build_split_stubs
(num_files: usize, assignments: Vec<usize>)
crates/lsp/src/pbt_stubs.rs:138
↓ 1 callers
Function
build_test_case
Build a NixTestCase for a given pattern index and stub set.
crates/lsp/src/pbt_stubs.rs:257
↓ 1 callers
Method
canonicalize_concrete
(&mut self, ty: &Ty<TyId>, polarity: Polarity)
crates/lang_check/src/collect.rs:553
↓ 1 callers
Method
canonicalize_inner
(&mut self, ty_id: TyId, polarity: Polarity)
crates/lang_check/src/collect.rs:263
↓ 1 callers
Function
capitalize
Capitalize a name for use as a type alias reference (first char uppercase, rest unchanged). Module names like `python313Packages` become `Python313Pac
crates/cli/src/gen_stubs.rs:1098
↓ 1 callers
Function
capitalize_first
Capitalize the first character of a string.
crates/lsp/src/hover.rs:394
↓ 1 callers
Function
chase_import_target
Chase through Apply chains to find an import target. `import ./foo.nix { args }` desugars to `Apply(Apply(import, ./foo.nix), { args })`. The inner `
crates/lsp/src/state.rs:866
↓ 1 callers
Function
check_balanced
Check that braces, brackets, and parens are balanced.
scripts/gen_lib_stubs.py:549
↓ 1 callers
Function
check_cache
Check if a cached store path exists and is still valid.
crates/lsp/src/store_stubs.rs:532
↓ 1 callers
Function
check_explicit_context
Check doc comments for `/** context: X */` annotations.
crates/lang_ast/src/classify.rs:159
↓ 1 callers
Method
check_interpolation_types
(&self)
crates/lang_check/src/infer.rs:1576
↓ 1 callers
Function
check_phase
( tix_path: &Path, work_dir: &Path, tix_toml_path: &Path, timeout: Duration, )
crates/repo_check/src/runner.rs:180
↓ 1 callers
Method
check_shared_lambda_param_tyvars
( &self, ty: TyRef, seen: &mut FxHashSet<u32>, visited: &mut FxHashSet<TyRef>,
crates/lang_ty/src/arena.rs:319
↓ 1 callers
Function
check_source
Type-check Nix source from scratch (parses, lowers, resolves, infers). Convenience for tests and simple callers.
crates/lang_check/src/lib.rs:331
↓ 1 callers
Function
check_str_with_context
Helper to type-check a string with context args applied to the root lambda.
crates/lang_check/src/tests.rs:3617
↓ 1 callers
Function
classify_bare_attrset
Classify a bare attrset (not inside a lambda).
crates/lang_ast/src/classify.rs:324
↓ 1 callers
Function
classify_file
Classify a single file, returning None if parsing fails.
crates/cli/src/init.rs:111
↓ 1 callers
Function
classify_ident
Classify an identifier token using the source map and name resolution.
crates/lsp/src/semantic_tokens.rs:179
↓ 1 callers
Function
classify_outcome
(init_result: &Option<PhaseResult>, check_result: &PhaseResult)
crates/repo_check/src/runner.rs:232
↓ 1 callers
Function
classify_token
Classify a single syntax token. Returns (token_type_index, modifier_bitset) or None if the token should be skipped (whitespace, delimiters, etc.).
crates/lsp/src/semantic_tokens.rs:121
↓ 1 callers
Function
clear_all_cache
Delete all entries in both cache dirs (`store-stubs/` and `custom-stubs/`). Returns the combined counts + dirs, or `None` if the platform has no stand
crates/lsp/src/store_stubs.rs:459
↓ 1 callers
Function
clone_phase
(entry: &RepoEntry, repo_dir: &Path, reuse_cache: bool)
crates/repo_check/src/runner.rs:103
↓ 1 callers
Function
cmd_clean
(manifest_path: &std::path::Path)
crates/repo_check/src/main.rs:224
↓ 1 callers
Function
cmd_diff
( baseline_path: &std::path::Path, current_path: &std::path::Path, )
crates/repo_check/src/main.rs:196
↓ 1 callers
Function
cmd_list
(manifest_path: &std::path::Path)
crates/repo_check/src/main.rs:212
↓ 1 callers
Function
cmd_run
( manifest_path: &std::path::Path, tix_path_arg: Option<&std::path::Path>, output_path: Option<&st
crates/repo_check/src/main.rs:115
↓ 1 callers
Method
cmp
(&self, other: &Self)
crates/lang_ty/src/attrset.rs:84
↓ 1 callers
Method
cmp
(&self, other: &Self)
crates/lang_ty/src/arc_ty.rs:76
↓ 1 callers
Function
collect_bindings_and_root
Collect deduplicated binding types and root type from inference results. Returns `(bindings_map, root_type_string)`. Both are empty/None if inference
crates/cli/src/main.rs:1368
↓ 1 callers
Function
collect_body_attrset_keys
Collect top-level attrset keys from the body expression. If body is a let-in, looks at the inner body. If body is an attrset, collects its static key
crates/lang_ast/src/classify.rs:401
↓ 1 callers
Function
collect_cross_file_edits
Scan all open files for imports pointing at `current_path`, and collect TextEdits that rename Select field references from `old_name` to `new_name`.
crates/lsp/src/rename.rs:171
↓ 1 callers
Function
collect_diagnosed_names
Collect NameIds that have an existing diagnostic targeting them. Uses the source map to map ExprId → NameId where possible.
crates/lsp/src/diagnostics.rs:187
↓ 1 callers
Function
collect_expected_type_path
Walk UP the syntax tree from the cursor token to find a callsite (Apply node) and collect the nesting path along the way. Path steps are ordered bott
crates/lsp/src/completion.rs:749
↓ 1 callers
Method
collect_free_vars
(&self, set: &mut std::collections::HashSet<TypeVarValue>)
crates/comment_parser/src/lib.rs:350
↓ 1 callers
Method
collect_module_field_docs
Recursively collect doc comments from module val declarations and register them as field docs on the capitalized module alias.
crates/lang_check/src/aliases.rs:436
↓ 1 callers
Function
collect_names
Collect all symbol names (including children).
crates/lsp/tests/e2e_document_symbols.rs:38
↓ 1 callers
Function
collect_nix_files
Recursively collect .nix files under `dir`, excluding `tests/` and `deprecated/` path segments.
crates/cli/tests/nixpkgs_lib.rs:46
↓ 1 callers
Function
collect_param_types
Peel off Lambda layers from a function type to extract parameter TyRefs. Stops after `max_params` or when the type is no longer a Lambda.
crates/lsp/src/signature_help.rs:190
↓ 1 callers
Function
collect_path_literals
Recursively collect resolved Nix-file path literals from an expression subtree.
crates/lsp/src/state.rs:900
↓ 1 callers
Function
collect_recursive
(dir: &Path, out: &mut Vec<PathBuf>)
crates/lsp/tests/e2e_nixpkgs.rs:75
↓ 1 callers
Function
collect_recursive
(dir: &Path, out: &mut Vec<PathBuf>)
crates/cli/tests/nixpkgs_lib.rs:53
← previous
next →
601–700 of 2,574, ranked by callers