public override void Visit(BoolLiteral literal) { if (typeof(T) == typeof(BoolLiteral)) { mCollectedNodes.Add(literal as T); } base.Visit(literal); }
public bool Equals(BoolLiteral other) { return(Value == other?.Value); }