All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.truffle.regex.tregex.matchers.BitSetMatcherNodeGen 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(BitSetMatcher.class)
public final class BitSetMatcherNodeGen extends BitSetMatcher {

    private BitSetMatcherNodeGen(boolean invert, int highByte, long[] bitSet) {
        super(invert, highByte, bitSet);
    }

    @Override
    public boolean execute(int arg0Value) {
        return match(arg0Value);
    }

    @Override
    public NodeCost getCost() {
        return NodeCost.MONOMORPHIC;
    }

    public static BitSetMatcher create(boolean invert, int highByte, long[] bitSet) {
        return new BitSetMatcherNodeGen(invert, highByte, bitSet);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy