match method

  1. @override
Map<Variable, Node>? match(
  1. Node other
)
override

Implementation

@override
Map<Variable, Node>? match(Node other) {
  final bindings = newBindings();
  if (this != other) {
    bindings[this] = other;
  }
  return bindings;
}