de.grogra.xl.query
Class Pattern

java.lang.Object
  extended by de.grogra.xl.query.Pattern
All Implemented Interfaces:
BytecodeSerialization.Serializable
Direct Known Subclasses:
BuiltInPattern, UserDefinedPattern

public abstract class Pattern
extends java.lang.Object
implements BytecodeSerialization.Serializable


Nested Class Summary
static class Pattern.Matcher
           
 
Field Summary
static int CONTEXT_MASK
           
static int INPUT_MASK
           
static int NODE_MASK
           
static Pattern.Matcher NULL_MATCHER
           
static int OUTPUT_MASK
           
 
Constructor Summary
protected Pattern(Type[] termTypes, int declaredTermCount)
           
 
Method Summary
abstract  Pattern.Matcher createMatcher(Graph graph, XBitSet bound, IntList requiredAsBound)
           
 int getDeclaredParameterCount()
           
 int getParameterCount()
           
abstract  int getParameterKind(int index)
           
 Type getParameterType(int index)
           
 boolean isDeleting()
           
protected  java.lang.String paramString()
           
 java.lang.String 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 Detail

CONTEXT_MASK

public static final int CONTEXT_MASK
See Also:
Constant Field Values

INPUT_MASK

public static final int INPUT_MASK
See Also:
Constant Field Values

NODE_MASK

public static final int NODE_MASK
See Also:
Constant Field Values

NULL_MATCHER

public static final Pattern.Matcher NULL_MATCHER

OUTPUT_MASK

public static final int OUTPUT_MASK
See Also:
Constant Field Values
Constructor Detail

Pattern

protected Pattern(Type[] termTypes,
                  int declaredTermCount)
Method Detail

createMatcher

public abstract Pattern.Matcher createMatcher(Graph graph,
                                              XBitSet bound,
                                              IntList requiredAsBound)

getDeclaredParameterCount

public final int getDeclaredParameterCount()

getParameterCount

public final int getParameterCount()

getParameterKind

public abstract int getParameterKind(int index)

getParameterType

public final Type getParameterType(int index)

isDeleting

public boolean isDeleting()

paramString

protected java.lang.String paramString()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object