com.oracle.truffle.regex.tregex.matchers.HybridBitSetMatcherNodeGen Maven / Gradle / Ivy
// CheckStyle: start generated
package com.oracle.truffle.regex.tregex.matchers;
import com.oracle.truffle.api.dsl.GeneratedBy;
import com.oracle.truffle.api.nodes.NodeCost;
@GeneratedBy(HybridBitSetMatcher.class)
public final class HybridBitSetMatcherNodeGen extends HybridBitSetMatcher {
private HybridBitSetMatcherNodeGen(boolean invert, int[] sortedRanges, long[][] bitSets) {
super(invert, sortedRanges, bitSets);
}
@Override
public boolean execute(int arg0Value) {
return match(arg0Value);
}
@Override
public NodeCost getCost() {
return NodeCost.MONOMORPHIC;
}
public static HybridBitSetMatcher create(boolean invert, int[] sortedRanges, long[][] bitSets) {
return new HybridBitSetMatcherNodeGen(invert, sortedRanges, bitSets);
}
}