de.grogra.xl.query
public final class CompoundPattern extends BuiltInPattern
| Modifier and Type | Class and Description |
|---|---|
static class |
CompoundPattern.Matcher |
| Modifier and Type | Field and Description |
|---|---|
static int |
ATOMIC |
static int |
BREAKING |
static int |
SIMPLE |
CONTEXT_MASK, INPUT_MASK, NODE_MASK, NULL_MATCHER, OUTPUT_MASK| Constructor and Description |
|---|
CompoundPattern(Type[] types,
boolean[] paramIsNode,
boolean[] forceParamIsContext,
Pattern[] predicates,
boolean[] predIsContext,
short[][] paramMappings,
short[][] dependencies,
short[][] foldings,
int in,
int out,
int direction,
int predType,
boolean optional,
java.lang.String continueLabel) |
| Modifier and Type | Method and Description |
|---|---|
Pattern.Matcher |
createMatcher(Graph src,
XBitSet providedConstants,
IntList neededConstantsOut)
Creates a Matcher object for this CompoundPattern instance.
|
int |
getInParameter() |
int |
getOutParameter() |
int |
getParameterKind(int index) |
boolean |
isDeleting() |
protected java.lang.String |
paramString() |
void |
write(BytecodeSerialization out) |
getDeclaredParameterCount, getParameterCount, getParameterType, toStringpublic static final int ATOMIC
public static final int BREAKING
public static final int SIMPLE
public CompoundPattern(Type[] types, boolean[] paramIsNode, boolean[] forceParamIsContext, Pattern[] predicates, boolean[] predIsContext, short[][] paramMappings, short[][] dependencies, short[][] foldings, int in, int out, int direction, int predType, boolean optional, java.lang.String continueLabel)
public Pattern.Matcher createMatcher(Graph src, XBitSet providedConstants, IntList neededConstantsOut)
createMatcher in class Patternsrc - the runtime graph in which the created matcher will search for matchesprovidedConstants - specifies which parameters are already boundedneededConstantsOut - specifies which parameters need to be boundedpublic int getInParameter()
public int getOutParameter()
public int getParameterKind(int index)
getParameterKind in class Patternpublic boolean isDeleting()
isDeleting in class Patternprotected java.lang.String paramString()
paramString in class Patternpublic void write(BytecodeSerialization out) throws java.io.IOException
java.io.IOException