MCPcopy Create free account

hub / github.com/JRMurr/tix / functions

Functions2,574 in github.com/JRMurr/tix

↓ 1 callersMethodformatting
Format a document.
crates/lsp/tests/common/mod.rs:575
↓ 1 callersMethodfree_vars
Collect all free type variables in this type.
crates/comment_parser/src/lib.rs:344
↓ 1 callersFunctionfunc_strat
( inner: S, )
crates/lang_check/src/pbt/mod.rs:313
↓ 1 callersFunctiongenerate_custom_system
Generate a single custom system by invoking the current tix binary as a subprocess with `stubs generate module`. Subprocess invocation mirrors the CLI
crates/lsp/src/store_stubs.rs:238
↓ 1 callersFunctiongenerate_tix
Generate the complete lib.tix file content.
scripts/gen_lib_stubs.py:820
↓ 1 callersMethodget
Get the entry for a TyId.
crates/lang_check/src/storage.rs:117
↓ 1 callersMethodget_dependents
Return the set of files that import the given path.
crates/lang_check/src/coordinator.rs:599
↓ 1 callersFunctionget_inferred_root_with_aliases_and_context
( src: &str, aliases: &TypeAliasRegistry, context_args: HashMap<SmolStr, ParsedTy>, )
crates/lang_check/src/tests.rs:3654
↓ 1 callersMethodget_or_create_nested_static
Look up or create an implicit nested `MergingSet` for a static key.
crates/lang_ast/src/lower.rs:478
↓ 1 callersMethodglobal_vals
Get the global val declarations map.
crates/lang_check/src/aliases.rs:513
↓ 1 callersFunctionhandle_workspace_symbols
Convenience wrapper for use from `server.rs` — calls `workspace_symbols` with the locked state. Separated so the handler can remain thin.
crates/lsp/src/workspace_symbols.rs:136
↓ 1 callersFunctionhas_cross_file_merge
Check whether any module path has chunks assigned to different files.
crates/lsp/src/pbt_stubs.rs:126
↓ 1 callersMethodhas_cycle
DFS cycle detection for alias references.
crates/lang_check/src/aliases.rs:749
↓ 1 callersFunctionhas_existing_annotation
Check whether the syntax node already has a doc comment annotation. Walks backward through preceding siblings/tokens looking for a comment that conta
crates/lsp/src/code_actions.rs:618
↓ 1 callersFunctionhas_no_module_directive
Check whether the file has a `no-module` directive in its leading comments. Scans the first tokens of the syntax tree for a comment containing `no-mo
crates/lsp/src/ty_nav.rs:140
↓ 1 callersFunctionhas_nocheck_directive
Returns `true` if the file contains a `# tix-nocheck` comment anywhere.
crates/lang_ast/src/comment.rs:135
↓ 1 callersMethodhas_non_primitive_lambda_param
Returns true if any Lambda has a non-primitive param type.
crates/lang_ty/src/arena.rs:239
↓ 1 callersMethodhas_non_primitive_lambda_param_inner
( &self, ty: TyRef, visited: &mut FxHashSet<TyRef>, )
crates/lang_ty/src/arena.rs:244
↓ 1 callersMethodhas_shared_tyvar_across_lambda_params
Returns true if any TyVar index appears in Lambda param position more than once across distinct Lambdas.
crates/lang_ty/src/arena.rs:313
↓ 1 callersMethodindex
(&self, index: ExprId)
crates/lang_ast/src/lib.rs:216
↓ 1 callersMethodinfer_bin_op
(&mut self, lhs: ExprId, rhs: ExprId, op: &BinOP)
crates/lang_check/src/infer_expr.rs:883
↓ 1 callersMethodinfer_bindings
Infer bindings (for let-in or attrset bodies). Returns nothing for let-in, returns the AttrSetTy for attrsets.
crates/lang_check/src/infer_expr.rs:1014
↓ 1 callersMethodinfer_bindings_to_attrset
Like infer_bindings, but also constructs the AttrSetTy for use in attrset expressions.
crates/lang_check/src/infer_expr.rs:1041
↓ 1 callersMethodinfer_expr_inner
(&mut self, e: ExprId)
crates/lang_check/src/infer_expr.rs:106
↓ 1 callersMethodinfer_pbt_assert_builtin
(&mut self, name: &str)
crates/lang_check/src/infer_expr.rs:1114
↓ 1 callersMethodinfer_prog
(self, groups: GroupedDefs)
crates/lang_check/src/infer.rs:90
↓ 1 callersMethodinfer_reference
(&mut self, e: ExprId, var_name: &SmolStr)
crates/lang_check/src/infer_expr.rs:524
↓ 1 callersMethodinfer_scc_group
Infer an SCC group, returning any errors that occurred. Cleanup (level exit, deferred overload bookkeeping, poly_type_env updates) always runs regardl
crates/lang_check/src/infer.rs:341
↓ 1 callersMethodinfer_scc_group_inner
Inner logic for SCC group inference. Returns the inferred (name, ty) pairs and any errors that occurred. Inference continues past errors — a failed bi
crates/lang_check/src/infer.rs:530
↓ 1 callersFunctioninit_phase
Returns (PhaseResult, Option<stdout>) — stdout contains the generated tix.toml on success.
crates/repo_check/src/runner.rs:112
↓ 1 callersFunctioninit_tracing
Initialize the tracing subscriber (replaces env_logger). When `show_timing` is true, enables span-level timing events so that tracing spans automatic
crates/cli/src/timing.rs:16
↓ 1 callersMethodintern_output_ty_inner
( &mut self, arena: &TypeArena, ty: TyRef, var_map: &mut HashMap<u32, TyId>,
crates/lang_check/src/lib.rs:1144
↓ 1 callersMethodintern_parsed_ty
( &mut self, ty: &ParsedTy, substitutions: &HashMap<TypeVarValue, TyId>, )
crates/lang_check/src/lib.rs:1526
↓ 1 callersMethodinvalidate_inner
( &self, path: &Path, reverse_deps: &HashMap<PathBuf, HashSet<PathBuf>>, visit
crates/lang_check/src/coordinator.rs:578
↓ 1 callersFunctioninvoke_module_nix_eval
Wrap the user's options expression in the generic `extract-options.nix` helper, then run `nix eval --json` and return the parsed tree.
crates/cli/src/gen_stubs.rs:893
↓ 1 callersFunctioninvoke_pkgs_classify
Invoke `nix eval --json` to classify nixpkgs attributes recursively.
crates/cli/src/gen_stubs.rs:1062
↓ 1 callersMethodis_both
(self)
crates/lang_check/src/collect.rs:44
↓ 1 callersFunctionis_builtin_expr
Recursive helper for `is_builtin_call`. The `depth` parameter prevents infinite loops through pathological alias chains.
crates/lang_ast/src/narrow.rs:588
↓ 1 callersFunctionis_callpackage_callee
Check whether an ExprId refers to something named `callPackage`. Matches two patterns: - `callPackage` — a bare `Reference("callPackage")` - `pkgs.ca
crates/lang_check/src/imports.rs:116
↓ 1 callersFunctionis_complex_signature
Check if the signature contains pseudo-code or other untranslatable notation.
scripts/gen_lib_stubs.py:309
↓ 1 callersFunctionis_function_ty
Check if a type is a function (Lambda), unwrapping Named wrappers.
crates/lsp/src/completion.rs:1397
↓ 1 callersMethodis_intersection_of_lambdas
Returns true if this type is an intersection where every member is a lambda. Such annotations declare overloaded function types that can't be verified
crates/comment_parser/src/lib.rs:530
↓ 1 callersFunctionis_module_return_shape
Check if the body expression looks like a NixOS/HM module return shape: typically an attrset with keys like `options`, `config`, `imports`, `meta`.
crates/lang_ast/src/classify.rs:427
↓ 1 callersFunctionis_passthrough_of
Check if a file is a pass-through barrel for the given origin path. A pass-through file imports origin_path and returns the result directly.
crates/lsp/src/import_nav.rs:214
↓ 1 callersFunctionis_select_attrpath
Check whether a syntax node is an attrpath element inside a Select expression. Returns true when the node is a child of an `Attrpath` whose parent is
crates/lsp/src/hover.rs:324
↓ 1 callersFunctionis_set_like
Check if a type is "set-like" — submodule, attrsOf, or freeform union. These types almost always have non-null defaults (`{}`) when a default is decla
crates/cli/src/gen_stubs.rs:215
↓ 1 callersFunctionis_top_level_export
Determine whether `target` is a top-level export of this file. A name is considered a top-level export when it appears as a field in the file's root
crates/lsp/src/rename.rs:148
↓ 1 callersFunctionis_trivial_binding
Check if a name's binding value is a trivial literal (int, float, string, bool, path) whose type is obvious from the syntax.
crates/lsp/src/inlay_hint.rs:97
↓ 1 callersFunctionis_type_interpolable
Whether a concrete type can be used in Nix string interpolation. In Nix, `"${expr}"` works for strings, paths, and attrsets (derivations). It does NO
crates/lang_check/src/infer.rs:1644
↓ 1 callersMethodis_unlimited
(&self)
crates/lang_ty/src/arc_ty.rs:248
↓ 1 callersMethodlabel
(&self)
crates/cli/src/gen_stubs.rs:484
↓ 1 callersFunctionlegend
()
crates/lsp/src/semantic_tokens.rs:40
↓ 1 callersMethodlift_expr_slots
Recursively lift all pre-allocated expression TyId slots under `expr` to the current level. This ensures that during extrusion, these slots are treate
crates/lang_check/src/infer.rs:1478
↓ 1 callersMethodlift_reachable_vars
Walk the type graph reachable from `ty_id` and lift any variables below the current level to the current level. This ensures that variables from stub
crates/lang_check/src/infer.rs:1496
↓ 1 callersMethodlift_reachable_vars_inner
(&mut self, ty_id: TyId, visited: &mut FxHashSet<TyId>)
crates/lang_check/src/infer.rs:1501
↓ 1 callersFunctionline_of_offset
Convert a byte offset to a 0-indexed line number.
crates/lang_ast/src/comment.rs:127
↓ 1 callersMethodlink_extruded_var
Link a freshly extruded variable to the original polymorphic variable. Per the SimpleSub paper, we use direct bounds manipulation rather than constra
crates/lang_check/src/infer.rs:1003
↓ 1 callersFunctionlist_element
Get the element type of a list type. Returns `Any` if not a known list type.
crates/lang_check/src/pbt/stub_compose.rs:471
↓ 1 callersMethodload_inline_alias
Register a single inline type alias (from a doc comment in a .nix file). Inline aliases shadow any existing alias with the same name.
crates/lang_check/src/aliases.rs:498
↓ 1 callersFunctionload_noogle_data
Build noogle data-json via nix and load the JSON.
scripts/gen_lib_stubs.py:229
↓ 1 callersFunctionlookup_global_builtin
Returns the static name string if `name` is a known global builtin (i.e. available without the `builtins.` prefix in Nix).
crates/lang_ast/src/nameres.rs:93
↓ 1 callersFunctionlower_diagnostics_to_tix
Convert lowering-phase diagnostics into `TixDiagnostic`s. Lowering diagnostics carry their own `AstPtr` spans (they don't have an `ExprId` location).
crates/lang_check/src/diagnostic.rs:740
↓ 1 callersMethodlower_lambda
(&mut self, lam: &ast::Lambda, ptr: AstPtr)
crates/lang_ast/src/lower.rs:313
↓ 1 callersMethodlower_path
(&mut self, path: &ast::Path)
crates/lang_ast/src/lower.rs:281
↓ 1 callersMethodlower_string_interpolation
( &mut self, parts: Vec<rnix::ast::InterpolPart<String>>, )
crates/lang_ast/src/lower.rs:266
↓ 1 callersFunctionmain
()
scripts/gen_lib_stubs.py:1061
↓ 1 callersFunctionmatch_quality
Determine how well `name_lower` matches `query_lower`. Returns `None` if the name doesn't match at all.
crates/lsp/src/workspace_symbols.rs:79
↓ 1 callersMethodmerge
(self, other: Polarity)
crates/lang_ty/src/simplify.rs:29
↓ 1 callersMethodmerge_attr_value
( &mut self, ctx: &mut LowerCtx, attr: ast::Attr, value: BindingValueKind,
crates/lang_ast/src/lower.rs:593
↓ 1 callersMethodmerge_attrpath_val
(&mut self, ctx: &mut LowerCtx, apv: rnix::ast::AttrpathValue)
crates/lang_ast/src/lower.rs:421
↓ 1 callersFunctionmerge_by_filename
Merge individual files that share the same filename across sibling directories into a filename-specific glob like `ancestor/**/name.nix`. For example
crates/cli/src/init.rs:466
↓ 1 callersMethodmerge_inherit
(&mut self, ctx: &mut LowerCtx, inherit: ast::Inherit)
crates/lang_ast/src/lower.rs:502
↓ 1 callersMethodmerge_nested_attr_value
Recursively walk a multi-segment attribute path like `a.b.c = val`, creating implicit nested attrsets for intermediate segments.
crates/lang_ast/src/lower.rs:443
↓ 1 callersFunctionmerge_parent
Get the parent directory for merging purposes. - `dir/**/*.nix` → dir's parent - `dir/file.nix` → dir (the file's parent directory)
crates/cli/src/init.rs:439
↓ 1 callersFunctionmerge_parsed_attrsets
Recursively merge two parsed attrsets. For each field in `new`: - If both old and new have a field and both are `AttrSet`, recurse (nested module merg
crates/lang_check/src/aliases.rs:847
↓ 1 callersFunctionmerge_sibling_globs
Try to merge sibling `dir/**/*.nix` globs (and individual files) into a broader `parent/**/*.nix` glob. Iterates until no more merges are possible, ha
crates/cli/src/init.rs:286
↓ 1 callersFunctionminimal_tix_toml
()
crates/repo_check/src/runner.rs:170
↓ 1 callersFunctionmodule_source_to_nix
Translate a [`ModuleSource`] into a Nix syntax fragment suitable for splicing into a `modules` list passed to `evalModules` or `eval-config.nix`. - `
crates/lsp/src/store_stubs.rs:369
↓ 1 callersFunctionmodule_to_attrset_inner
(declarations: &[TixDeclaration], counter: &mut usize)
crates/lang_check/src/aliases.rs:805
↓ 1 callersFunctionname_kind_of_set
(set: &ast::AttrSet)
crates/lang_ast/src/ast_utils.rs:42
↓ 1 callersMethodnarrow_scope
(&self)
crates/lang_ast/src/nameres.rs:568
↓ 1 callersFunctionnixpkgs_src
Resolve the pinned nixpkgs path via the flake. Same mechanism as `nixpkgs_lib.rs::nixpkgs_src` — duplicated intentionally (see SESSION.md for the shar
crates/cli/tests/custom_stubs.rs:34
↓ 1 callersFunctionnixpkgs_src
Resolve the pinned nixpkgs path via `nix eval --raw .#nixpkgs-src`.
crates/cli/tests/nixpkgs_lib.rs:28
↓ 1 callersFunctionnow_iso8601
()
crates/repo_check/src/main.rs:293
↓ 1 callersFunctionoutput_ty_field_count_inner_arena
(arena: &TypeArena, ty: TyRef, budget: usize)
crates/lang_check/src/constrain.rs:941
↓ 1 callersFunctionoutput_ty_to_parsed_ty
(arena: &lang_ty::TypeArena, ty_ref: TyRef)
crates/lang_check/src/lib.rs:123
↓ 1 callersFunctionparse_and_lower
(contents: &str)
crates/lang_ast/src/lib.rs:52
↓ 1 callersFunctionparse_context_annotation
Parse a `context: <name>` annotation from a doc comment string. A doc comment like `/** context: nixos */` is stored as the string `"context: nixos"`
crates/comment_parser/src/lib.rs:148
↓ 1 callersFunctionparse_via_comment
Parse a type expression through the doc comment parser (collect.rs). Wraps the expression in a `type: x :: <expr>` doc comment.
crates/comment_parser/src/lib.rs:720
↓ 1 callersFunctionparse_via_tix
Parse a type expression through the .tix parser (tix_collect.rs). Wraps the expression in a `val x :: <expr>;` declaration.
crates/comment_parser/src/lib.rs:730
↓ 1 callersFunctionparsed_ty_arity
Count the function arity (number of arrows along the spine) of a ParsedTy. For example, `a -> b -> c` has arity 2, and `int` has arity 0.
crates/lang_check/src/lib.rs:938
↓ 1 callersMethodpartial_cmp
(&self, other: &Self)
crates/lang_ty/src/arena.rs:827
↓ 1 callersFunctionpeel_lambdas
Peel off `n` Lambda layers from a type and return the resulting return TyRef.
crates/lsp/src/signature_help.rs:306
↓ 1 callersFunctionpipeline_fn_ref
Build a pipeline function reference string based on access pattern.
crates/lang_check/src/pbt/stub_compose.rs:711
↓ 1 callersFunctionpolar_only_vars
(vars: &FxHashMap<u32, VarInfo>)
crates/lang_ty/src/simplify.rs:187
↓ 1 callersFunctionprint_repo_summary
(result: &results::RepoResult)
crates/repo_check/src/main.rs:240
↓ 1 callersFunctionprint_summary
(summary: &results::Summary)
crates/repo_check/src/main.rs:271
↓ 1 callersFunctionprocess_entries
Process noogle data into module-grouped entries and top-level re-exports. Returns: (modules, top_level) where modules is {module_name: [e
scripts/gen_lib_stubs.py:671
↓ 1 callersMethodpropagate_annotation_bounds_inner
(&mut self, annotation_ty: TyId, expr_id: ExprId)
crates/lang_check/src/lib.rs:1383
↓ 1 callersMethodpush_field_doc
(&mut self, field_name: SmolStr, doc: SmolStr)
crates/comment_parser/src/tix_collect.rs:252
← previousnext →801–900 of 2,574, ranked by callers