MCPcopy Create free account

hub / github.com/ammkrn/nanoda / functions

Functions297 in github.com/ammkrn/nanoda

↓ 1 callersMethodmake_name
(&mut self, new_pos : usize, kind : char, ws : &mut SplitWhitespace)
src/parser.rs:190
↓ 1 callersMethodmake_quotient
(&mut self)
src/parser.rs:291
↓ 1 callersFunctionmax3
(n1 : u16, n2 : u16, n3 : u16)
src/utils.rs:74
↓ 1 callersMethodmaybe_zero
(&self)
src/level.rs:276
↓ 1 callersMethodmk_intro_minor_premise
(&self, motive : &Expr)
src/inductive.rs:378
↓ 1 callersMethodmk_reduction_rule
`intro_idx` is just the position of this particular intro rule in the `intro_minors` seq
src/inductive.rs:420
↓ 1 callersMethodname
(&self)
src/pretty/pretty_printer.rs:556
↓ 1 callersFunctionnew_quot
()
src/quot.rs:28
↓ 1 callersMethodparse_rest_string
(&mut self, ws : &mut SplitWhitespace)
src/parser.rs:143
↓ 1 callersMethodparse_rest_usize
(&mut self, ws : &mut SplitWhitespace)
src/parser.rs:138
↓ 1 callersFunctionpartial_is_pi
(loc : u32, item : T)
src/errors.rs:107
↓ 1 callersMethodpp_app_core
(&self, e : &Expr)
src/pretty/pretty_printer.rs:234
↓ 1 callersMethodpp_bare_binder
(&self, binding : &Binding)
src/pretty/pretty_printer.rs:124
↓ 1 callersMethodpp_const_core
(&self, name : &Name, levels : &Vec<Level>)
src/pretty/pretty_printer.rs:302
↓ 1 callersMethodpp_let_core
(&self, dom : &Binding, val : &Expr, body : &Expr)
src/pretty/pretty_printer.rs:322
↓ 1 callersMethodpp_main
(&self, declar : &Declaration)
src/pretty/pretty_printer.rs:453
↓ 1 callersMethodpp_sort_core
(&self, level : &Level)
src/pretty/pretty_printer.rs:292
↓ 1 callersMethodrecursive_calls
(&self, motive : &Expr, minor_premises : &Vec<Expr>,
src/inductive.rs:392
↓ 1 callersMethodreduce_exps
The entry point for executing a single reduction step on two expressions.
src/tc.rs:217
↓ 1 callersMethodremove_lc
(&self, target : &Name)
src/pretty/pretty_printer.rs:120
↓ 1 callersMethodrender_core
(&self, nest : usize, flatmode : bool,
src/pretty/components.rs:193
↓ 1 callersMethodsanitize_name
(&self, n : &Name)
src/pretty/pretty_printer.rs:84
↓ 1 callersFunctionscope_err
(loc : u32)
src/errors.rs:96
↓ 1 callersMethodswap_local_binding_name
Only used in the pretty printer.
src/expr.rs:236
↓ 1 callersMethodtelescope_core
(&self, binders : &[ParsedBinder], acc : &mut Vec<Doc>)
src/pretty/pretty_printer.rs:159
↓ 1 callersMethodto_axiom
(&self)
src/env.rs:113
↓ 1 callersMethodtry_next
(&mut self, line : &str)
src/parser.rs:96
↓ 1 callersFunctiontry_read_cwd
(suggestion : &PathBuf)
src/cli.rs:67
↓ 1 callersMethodtry_read_files
(&self)
src/cli.rs:61
↓ 1 callersFunctiontry_read_pp_file
()
src/cli.rs:129
↓ 1 callersFunctiontry_read_pp_options
()
src/cli.rs:98
↓ 1 callersMethodunfold_pis
This unfolds consecutive applications of `Pi` into the "core" term, and a list of binders pulled from the Pi applications. This is one of the few plac
src/expr.rs:568
↓ 1 callersFunctionunique_const_names
For some expression `E`, traverse `E`, putting the `Name` field of any constant into a set `S`. This is only used once, when compiling a `Definition`;
src/expr.rs:762
↓ 1 callersFunctionunique_const_names_core
(n : &'l Expr, s : &'s mut HashSet<&'l Name>,
src/expr.rs:769
↓ 1 callersFunctionunique_univ_params_core
(lvl : &'l Level, acc : &'s mut HashSet<&'l Level>)
src/level.rs:303
↓ 1 callersFunctionuniv_params_subset_core
(e : &'l Expr, s : &'s mut HashSet<&'l Level>)
src/expr.rs:814
↓ 1 callersMethodwhnf_lambda
(&mut self, mut f : &Expr, mut apps : Vec<&Expr>)
src/tc.rs:196
Methodas_text
(t : String)
src/pretty/components.rs:117
Methodeq_by_antisymm
Uses antisymmetry to determine whether two levels are equal (according to Lean's rules for sorts) ```pseudo (x ≤ y ∧ y ≤ x) → x = y ```
src/level.rs:251
Methodfmt
(&self, f : &mut std::fmt::Formatter)
src/parser.rs:29
Methodfmt
(&self, f : &mut std::fmt::Formatter)
src/name.rs:105
Methodfmt
(&self, f : &mut std::fmt::Formatter)
src/tc.rs:32
Methodfmt
(&self, f : &mut std::fmt::Formatter)
src/level.rs:347
Methodfmt
(&self, f : &mut std::fmt::Formatter)
src/expr.rs:103
Methodfn_
(&self)
src/pretty/components.rs:30
Functionfoldr
(f : impl Fn(A, B) -> B, i : I, init : B)
src/utils.rs:24
Methodfork_env
(&self)
src/tc.rs:49
Methodfresh_name
Given a suggested prefix and a set of names we want to avoid collisions with, extend the suggestion with an incrementing integer until we get a name t
src/name.rs:50
Methodfrom
(x : Arc<InnerName>)
src/name.rs:79
Methodfrom
(x : Arc<InnerLevel>)
src/level.rs:329
Methodfrom
(x : InnerExpr)
src/expr.rs:701
Methodfrom
(s : &String)
src/pretty/components.rs:59
Methodfrom_str
(s : &str)
src/cli.rs:175
Methodget
(&self, e1 : &Expr, e2 : &Expr)
src/utils.rs:136
Methodget_type
(&self)
src/inductive.rs:121
Methodget_value
(&self, n : &Name)
src/reduction.rs:215
Methodhash
(&self, state : &mut H)
src/reduction.rs:43
Methodhash
(&self, state : &mut H)
src/expr.rs:616
Methodihs
Create a declaration's inductive hypotheses
src/inductive.rs:364
Methodinsert
(&mut self, e : Expr, ee : Expr, val : ShortCircuit)
src/utils.rs:148
Methodis_local
(&self)
src/expr.rs:194
Functionjoin_panic
(loc : u32)
src/errors.rs:90
Methodline
()
src/pretty/components.rs:109
Functionmain
()
src/main.rs:54
Methodmk
(name: Name, univ_params: Arc<Vec<Level>>, ty: Expr, height: Opti
src/env.rs:98
Methodmk
(name : Name, ty : Expr, style : BinderStyle)
src/expr.rs:70
Methodnest
(&self, idx : usize)
src/pretty/components.rs:140
Methodnew
(num_mods : usize)
src/reduction.rs:208
Methodnew
(queue_handle : &'s ModQueue, env_handle : &'s Arc<RwLock<Env>>)
src/parser.rs:50
Methodnew
(unsafe_unchecked : Option<bool>, env : Arc<RwLock<Env>>)
src/tc.rs:38
Methodnew
(name : Name, univ_params : Arc<Vec<Level>>, ty : Expr)
src/env.rs:60
Methodnew
(name: Name, univ_params: Arc<Vec<Level>>, type_: Expr, num_param
src/inductive.rs:66
Methodnew
()
src/expr.rs:727
Methodnew
(priority : usize, doc : Doc)
src/pretty/components.rs:280
Methodnew
(options : Option<PPOptions>, env : &Arc<RwLock<Env>>)
src/pretty/pretty_printer.rs:25
Methodnew_all_false
()
src/pretty/pretty_printer.rs:607
Methodnew_default
()
src/pretty/pretty_printer.rs:619
Methodnew_infix
(func : Name, priority : usize, op : String)
src/pretty/components.rs:21
Methodnew_max
(doc : Doc)
src/pretty/components.rs:287
Methodnew_nondef_rr
(locals : &[Expr], lhs : Expr, rhs : Expr,
src/reduction.rs:92
Methodnew_postfix
(func : Name, priority : usize, op : String)
src/pretty/components.rs:25
Methodnew_prefix
(func : Name, priority : usize, op : String)
src/pretty/components.rs:17
Methodnew_rr
(lhs : Expr, rhs : Expr, def_eq_constraints : Vec<(Expr, Expr)>)
src/reduction.rs:54
Methodop
(&self)
src/pretty/components.rs:46
Methodparse_all
(s : String, queue_handle : &'s ModQueue, env_handle : &'s Arc<RwLock<Env>>)
src/parser.rs:79
Methodprint_declar
(options : Option<PPOptions>, n : &Name, env : &Arc<RwLock<Env>>)
src/pretty/pretty_printer.rs:474
Methodpriority
(&self)
src/pretty/components.rs:38
Functionrender_expr
(e : &Expr, env : &Arc<RwLock<Env>>)
src/pretty/pretty_printer.rs:586
Methodrender_expr
(&self, e : &Expr)
src/pretty/pretty_printer.rs:469
Functionss_and
(ss1 : ShortCircuit, ss2 : ShortCircuit)
src/utils.rs:104
Functionss_forall
(mut seq : impl Iterator<Item = ShortCircuit>)
src/utils.rs:97
Methodswap_name
(&self, other : Name)
src/expr.rs:88
Methodswap_name_and_ty
(&self, other_n : Name, other_t : Expr)
src/expr.rs:92
Functionuniv_params_subset
Given some expression `E` and a set of levels `S_X`, collect all Level::Param elements in `E` into a set `S_E`, and determine whether or not `S_E` is
src/expr.rs:807
Methodwith_capacity
(n : usize)
src/utils.rs:130
Methodwith_capacity
(n : usize)
src/reduction.rs:23
Methodzero_width_line
()
src/pretty/components.rs:113
← previous201–297 of 297, ranked by callers