chore: remove dead coe

This commit is contained in:
Leonardo de Moura 2021-04-06 19:11:59 -07:00
parent c1b39afacc
commit 487bcaaf2b

View file

@ -1729,12 +1729,6 @@ def isMissing : Syntax → Bool
def isNodeOf (stx : Syntax) (k : SyntaxNodeKind) (n : Nat) : Bool :=
and (stx.isOfKind k) (beq stx.getNumArgs n)
/--
We use this function to implement `Syntax` pattern matching.
We can use it to tweak the behavior of the matcher for special node such as `Syntax.missing`. -/
def isNodeOf' (stx : Syntax) (k : SyntaxNodeKind) (n : Nat) : Bool :=
stx.isNodeOf k n
def isIdent : Syntax → Bool
| ident _ _ _ _ => true
| _ => false