コード例 #1
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            BlockStatement o = other as BlockStatement;

            return(o != null && !o.IsNull && this.Statements.DoMatch(o.Statements, match));
        }
コード例 #2
0
 protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
 {
     return(other == null || other.IsNull);
 }
コード例 #3
0
 protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
 {
     return(child.DoMatch(other, match));
 }