de.grogra.xl.query
public final class Query extends java.lang.Object implements BytecodeSerialization.Serializable
| Constructor and Description |
|---|
Query(CompoundPattern predicate,
boolean forProduction,
Variable queryState,
Variable[] variables) |
| Modifier and Type | Method and Description |
|---|---|
static Graph |
currentGraph(RuntimeModel model) |
void |
findBooleanMatches(BooleanConsumer cons,
Frame frame,
QueryState qs) |
void |
findByteMatches(ByteConsumer cons,
Frame frame,
QueryState qs) |
void |
findCharMatches(CharConsumer cons,
Frame frame,
QueryState qs) |
void |
findDoubleMatches(DoubleConsumer cons,
Frame frame,
QueryState qs) |
void |
findFloatMatches(FloatConsumer cons,
Frame frame,
QueryState qs) |
void |
findIntMatches(IntConsumer cons,
Frame frame,
QueryState qs) |
void |
findLongMatches(LongConsumer cons,
Frame frame,
QueryState qs) |
void |
findObjectMatches(ObjectConsumer cons,
Frame frame,
QueryState qs) |
void |
findShortMatches(ShortConsumer cons,
Frame frame,
QueryState qs) |
void |
findVoidMatches(VoidConsumer cons,
Frame frame,
QueryState qs) |
void |
write(BytecodeSerialization out) |
public Query(CompoundPattern predicate, boolean forProduction, Variable queryState, Variable[] variables)
public static Graph currentGraph(RuntimeModel model)
public void findBooleanMatches(BooleanConsumer cons, Frame frame, QueryState qs)
public void findByteMatches(ByteConsumer cons, Frame frame, QueryState qs)
public void findCharMatches(CharConsumer cons, Frame frame, QueryState qs)
public void findDoubleMatches(DoubleConsumer cons, Frame frame, QueryState qs)
public void findFloatMatches(FloatConsumer cons, Frame frame, QueryState qs)
public void findIntMatches(IntConsumer cons, Frame frame, QueryState qs)
public void findLongMatches(LongConsumer cons, Frame frame, QueryState qs)
public void findObjectMatches(ObjectConsumer cons, Frame frame, QueryState qs)
public void findShortMatches(ShortConsumer cons, Frame frame, QueryState qs)
public void findVoidMatches(VoidConsumer cons, Frame frame, QueryState qs)
public void write(BytecodeSerialization out) throws java.io.IOException
write in interface BytecodeSerialization.Serializablejava.io.IOException