java.lang.Object
de.grogra.xl.query.Pattern
de.grogra.xl.query.BuiltInPattern
de.grogra.xl.query.AbstractExpressionPattern
- All Implemented Interfaces:
BytecodeSerialization.Serializable
- Direct Known Subclasses:
ExpressionPattern
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.xl.query.Pattern
Pattern.Matcher
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
protected final int
protected final int
protected final int
Fields inherited from class de.grogra.xl.query.Pattern
CONTEXT_MASK, INPUT_MASK, NODE_MASK, NULL_MATCHER, OUTPUT_MASK
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractExpressionPattern
(Type[] termTypes, int type, int pathIn, int pathOut) -
Method Summary
Modifier and TypeMethodDescriptioncreateMatcher
(Graph src, XBitSet providedConstants, IntList neededConstantsOut) protected abstract void
findMatchesImpl
(QueryState qs, MatchConsumer consumer, int arg, Frame frame) int
getParameterKind
(int index) Methods inherited from class de.grogra.xl.query.Pattern
getDeclaredParameterCount, getParameterCount, getParameterType, isDeleting, paramString, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.grogra.xl.query.BytecodeSerialization.Serializable
write
-
Field Details
-
EXPRESSION
public static final int EXPRESSION- See Also:
-
CONDITION
public static final int CONDITION- See Also:
-
BLOCK
public static final int BLOCK- See Also:
-
type
protected final int type -
pathIn
protected final int pathIn -
pathOut
protected final int pathOut
-
-
Constructor Details
-
AbstractExpressionPattern
-
-
Method Details
-
getParameterKind
public int getParameterKind(int index) - Specified by:
getParameterKind
in classPattern
-
createMatcher
public Pattern.Matcher createMatcher(Graph src, XBitSet providedConstants, IntList neededConstantsOut) - Specified by:
createMatcher
in classPattern
-
findMatchesImpl
protected abstract void findMatchesImpl(QueryState qs, MatchConsumer consumer, int arg, Frame frame)
-