public class ChildCatcher<P extends ParseContext<P>>
extends java.lang.Object
Constructor and Description |
---|
ChildCatcher(P parentContext,
int index) |
Modifier and Type | Method and Description |
---|---|
P |
getChild()
The child context.
|
static <P extends ParseContext<P>> |
watchRootContext(P rootContext,
java.util.function.Consumer<P> childContextConsumer) |
public ChildCatcher(P parentContext, int index)
public P getChild()
public static <P extends ParseContext<P>> void watchRootContext(P rootContext, java.util.function.Consumer<P> childContextConsumer)