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

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