示例#1
0
 protected internal override bool DoMatch(AstNode other, Match match)
 {
     match.Add(this.groupName, other);
     return(other != null && !other.IsNull);
 }
示例#2
0
 protected internal override bool DoMatch(AstNode other, Match match)
 {
     match.Add(this.groupName, other);
     return(GetChildByRole(ElementRole).DoMatch(other, match));
 }