Example #1
0
        public override void Visit(BoolLiteral literal)
        {
            if (typeof(T) == typeof(BoolLiteral))
            {
                mCollectedNodes.Add(literal as T);
            }

            base.Visit(literal);
        }
Example #2
0
 public bool Equals(BoolLiteral other)
 {
     return(Value == other?.Value);
 }