Java 类jdk.nashorn.internal.runtime.regexp.joni.WarnCallback 实例源码

项目:OpenJSharp    文件:ConsAltNode.java   
@Override
public void verifyTree(final Set<Node> set, final WarnCallback warnings) {
    if (!set.contains(this)) {
        set.add(this);
        if (car != null) {
            if (car.parent != this) {
                warnings.warn("broken list car: " + this.getAddressName() + " -> " +  car.getAddressName());
            }
            car.verifyTree(set,warnings);
        }
        if (cdr != null) {
            if (cdr.parent != this) {
                warnings.warn("broken list cdr: " + this.getAddressName() + " -> " +  cdr.getAddressName());
            }
            cdr.verifyTree(set,warnings);
        }
    }
}
项目:openjdk-jdk10    文件:ConsAltNode.java   
@Override
public void verifyTree(final Set<Node> set, final WarnCallback warnings) {
    if (!set.contains(this)) {
        set.add(this);
        if (car != null) {
            if (car.parent != this) {
                warnings.warn("broken list car: " + this.getAddressName() + " -> " +  car.getAddressName());
            }
            car.verifyTree(set,warnings);
        }
        if (cdr != null) {
            if (cdr.parent != this) {
                warnings.warn("broken list cdr: " + this.getAddressName() + " -> " +  cdr.getAddressName());
            }
            cdr.verifyTree(set,warnings);
        }
    }
}
项目:openjdk9    文件:ConsAltNode.java   
@Override
public void verifyTree(final Set<Node> set, final WarnCallback warnings) {
    if (!set.contains(this)) {
        set.add(this);
        if (car != null) {
            if (car.parent != this) {
                warnings.warn("broken list car: " + this.getAddressName() + " -> " +  car.getAddressName());
            }
            car.verifyTree(set,warnings);
        }
        if (cdr != null) {
            if (cdr.parent != this) {
                warnings.warn("broken list cdr: " + this.getAddressName() + " -> " +  cdr.getAddressName());
            }
            cdr.verifyTree(set,warnings);
        }
    }
}
项目:kaziranga    文件:ConsAltNode.java   
@Override
public void verifyTree(final Set<Node> set, final WarnCallback warnings) {
    if (!set.contains(this)) {
        set.add(this);
        if (car != null) {
            if (car.parent != this) {
                warnings.warn("broken list car: " + this.getAddressName() + " -> " +  car.getAddressName());
            }
            car.verifyTree(set,warnings);
        }
        if (cdr != null) {
            if (cdr.parent != this) {
                warnings.warn("broken list cdr: " + this.getAddressName() + " -> " +  cdr.getAddressName());
            }
            cdr.verifyTree(set,warnings);
        }
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:ConsAltNode.java   
@Override
public void verifyTree(final Set<Node> set, final WarnCallback warnings) {
    if (!set.contains(this)) {
        set.add(this);
        if (car != null) {
            if (car.parent != this) {
                warnings.warn("broken list car: " + this.getAddressName() + " -> " +  car.getAddressName());
            }
            car.verifyTree(set,warnings);
        }
        if (cdr != null) {
            if (cdr.parent != this) {
                warnings.warn("broken list cdr: " + this.getAddressName() + " -> " +  cdr.getAddressName());
            }
            cdr.verifyTree(set,warnings);
        }
    }
}
项目:jdk8u_nashorn    文件:ConsAltNode.java   
@Override
public void verifyTree(final Set<Node> set, final WarnCallback warnings) {
    if (!set.contains(this)) {
        set.add(this);
        if (car != null) {
            if (car.parent != this) {
                warnings.warn("broken list car: " + this.getAddressName() + " -> " +  car.getAddressName());
            }
            car.verifyTree(set,warnings);
        }
        if (cdr != null) {
            if (cdr.parent != this) {
                warnings.warn("broken list cdr: " + this.getAddressName() + " -> " +  cdr.getAddressName());
            }
            cdr.verifyTree(set,warnings);
        }
    }
}
项目:infobip-open-jdk-8    文件:ConsAltNode.java   
@Override
public void verifyTree(final Set<Node> set, final WarnCallback warnings) {
    if (!set.contains(this)) {
        set.add(this);
        if (car != null) {
            if (car.parent != this) {
                warnings.warn("broken list car: " + this.getAddressName() + " -> " +  car.getAddressName());
            }
            car.verifyTree(set,warnings);
        }
        if (cdr != null) {
            if (cdr.parent != this) {
                warnings.warn("broken list cdr: " + this.getAddressName() + " -> " +  cdr.getAddressName());
            }
            cdr.verifyTree(set,warnings);
        }
    }
}
项目:OLD-OpenJDK8    文件:ConsAltNode.java   
@Override
public void verifyTree(Set<Node> set, WarnCallback warnings) {
    if (!set.contains(this)) {
        set.add(this);
        if (car != null) {
            if (car.parent != this) {
                warnings.warn("broken list car: " + this.getAddressName() + " -> " +  car.getAddressName());
            }
            car.verifyTree(set,warnings);
        }
        if (cdr != null) {
            if (cdr.parent != this) {
                warnings.warn("broken list cdr: " + this.getAddressName() + " -> " +  cdr.getAddressName());
            }
            cdr.verifyTree(set,warnings);
        }
    }
}
项目:nashorn-backport    文件:ConsAltNode.java   
@Override
public void verifyTree(Set<Node> set, WarnCallback warnings) {
    if (!set.contains(this)) {
        set.add(this);
        if (car != null) {
            if (car.parent != this) {
                warnings.warn("broken list car: " + this.getAddressName() + " -> " +  car.getAddressName());
            }
            car.verifyTree(set,warnings);
        }
        if (cdr != null) {
            if (cdr.parent != this) {
                warnings.warn("broken list cdr: " + this.getAddressName() + " -> " +  cdr.getAddressName());
            }
            cdr.verifyTree(set,warnings);
        }
    }
}
项目:nashorn    文件:ConsAltNode.java   
@Override
public void verifyTree(Set<Node> set, WarnCallback warnings) {
    if (!set.contains(this)) {
        set.add(this);
        if (car != null) {
            if (car.parent != this) {
                warnings.warn("broken list car: " + this.getAddressName() + " -> " +  car.getAddressName());
            }
            car.verifyTree(set,warnings);
        }
        if (cdr != null) {
            if (cdr.parent != this) {
                warnings.warn("broken list cdr: " + this.getAddressName() + " -> " +  cdr.getAddressName());
            }
            cdr.verifyTree(set,warnings);
        }
    }
}
项目:OpenJSharp    文件:Node.java   
public void verifyTree(final Set<Node> set, final WarnCallback warnings) {
    if (!set.contains(this) && getChild() != null) {
        set.add(this);
        if (getChild().parent != this) {
            warnings.warn("broken link to child: " + this.getAddressName() + " -> " + getChild().getAddressName());
        }
        getChild().verifyTree(set, warnings);
    }
}
项目:openjdk-jdk10    文件:Node.java   
public void verifyTree(final Set<Node> set, final WarnCallback warnings) {
    if (!set.contains(this) && getChild() != null) {
        set.add(this);
        if (getChild().parent != this) {
            warnings.warn("broken link to child: " + this.getAddressName() + " -> " + getChild().getAddressName());
        }
        getChild().verifyTree(set, warnings);
    }
}
项目:openjdk9    文件:Node.java   
public void verifyTree(final Set<Node> set, final WarnCallback warnings) {
    if (!set.contains(this) && getChild() != null) {
        set.add(this);
        if (getChild().parent != this) {
            warnings.warn("broken link to child: " + this.getAddressName() + " -> " + getChild().getAddressName());
        }
        getChild().verifyTree(set, warnings);
    }
}
项目:kaziranga    文件:Node.java   
public void verifyTree(final Set<Node> set, final WarnCallback warnings) {
    if (!set.contains(this) && getChild() != null) {
        set.add(this);
        if (getChild().parent != this) {
            warnings.warn("broken link to child: " + this.getAddressName() + " -> " + getChild().getAddressName());
        }
        getChild().verifyTree(set, warnings);
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:Node.java   
public void verifyTree(final Set<Node> set, final WarnCallback warnings) {
    if (!set.contains(this) && getChild() != null) {
        set.add(this);
        if (getChild().parent != this) {
            warnings.warn("broken link to child: " + this.getAddressName() + " -> " + getChild().getAddressName());
        }
        getChild().verifyTree(set, warnings);
    }
}
项目:jdk8u_nashorn    文件:Node.java   
public void verifyTree(final Set<Node> set, final WarnCallback warnings) {
    if (!set.contains(this) && getChild() != null) {
        set.add(this);
        if (getChild().parent != this) {
            warnings.warn("broken link to child: " + this.getAddressName() + " -> " + getChild().getAddressName());
        }
        getChild().verifyTree(set, warnings);
    }
}
项目:infobip-open-jdk-8    文件:Node.java   
public void verifyTree(final Set<Node> set, final WarnCallback warnings) {
    if (!set.contains(this) && getChild() != null) {
        set.add(this);
        if (getChild().parent != this) {
            warnings.warn("broken link to child: " + this.getAddressName() + " -> " + getChild().getAddressName());
        }
        getChild().verifyTree(set, warnings);
    }
}
项目:OLD-OpenJDK8    文件:Node.java   
public void verifyTree(Set<Node> set, WarnCallback warnings) {
    if (!set.contains(this) && getChild() != null) {
        set.add(this);
        if (getChild().parent != this) {
            warnings.warn("broken link to child: " + this.getAddressName() + " -> " + getChild().getAddressName());
        }
        getChild().verifyTree(set, warnings);
    }
}
项目:nashorn-backport    文件:Node.java   
public void verifyTree(Set<Node> set, WarnCallback warnings) {
    if (!set.contains(this) && getChild() != null) {
        set.add(this);
        if (getChild().parent != this) {
            warnings.warn("broken link to child: " + this.getAddressName() + " -> " + getChild().getAddressName());
        }
        getChild().verifyTree(set, warnings);
    }
}
项目:nashorn    文件:Node.java   
public void verifyTree(Set<Node> set, WarnCallback warnings) {
    if (!set.contains(this) && getChild() != null) {
        set.add(this);
        if (getChild().parent != this) {
            warnings.warn("broken link to child: " + this.getAddressName() + " -> " + getChild().getAddressName());
        }
        getChild().verifyTree(set, warnings);
    }
}