Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Linter.unusedVariables.skipDeclIdIfPresent stx = if Lean.Syntax.isOfKind stx `Lean.Parser.Command.declId = true then Lean.Syntax.getOp stx 0 else stx
def
Lean.Linter.unusedVariables.isTopLevelDecl
(constDecls : Std.HashSet String.Range)
(stx : Lean.Syntax)
(stack : Lean.Linter.SyntaxStack)
:
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Linter.unusedVariables.matchesUnusedPattern stx x = String.startsWith (Lean.Name.toString (Lean.Syntax.getId stx)) "_"
Equations
- Lean.Linter.unusedVariables.isVariable x stack = Lean.Linter.stackMatches stack [some `null, none, some `null, some `Lean.Parser.Command.variable]
Equations
- Lean.Linter.unusedVariables.isInStructure x stack = Lean.Linter.stackMatches stack [some `null, none, some `null, some `Lean.Parser.Command.structure]
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Linter.unusedVariables.isInDepArrow x stack = Lean.Linter.stackMatches stack [some `null, some `Lean.Parser.Term.explicitBinder, some `Lean.Parser.Term.depArrow]
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.