Class NbtPathExpressionParseHandlerAllChildren.Expression
java.lang.Object
org.cyclops.cyclopscore.nbt.path.parse.NbtPathExpressionParseHandlerAllChildren.Expression
- All Implemented Interfaces:
INbtPathExpression
- Enclosing class:
NbtPathExpressionParseHandlerAllChildren
public static class NbtPathExpressionParseHandlerAllChildren.Expression
extends Object
implements INbtPathExpression
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NbtPathExpressionParseHandlerAllChildren.Expression -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasNavigation(INbtPathNavigation child) Create a navigation for this expression with the given navigation as child.matchContexts(Stream<NbtPathExpressionExecutionContext> executionContexts) Find all matches for the given stream of NBT tags.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface INbtPathExpression
asNavigation, match, match, test, test
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Expression
public Expression()
-
-
Method Details
-
matchContexts
public NbtPathExpressionMatches matchContexts(Stream<NbtPathExpressionExecutionContext> executionContexts) Description copied from interface:INbtPathExpressionFind all matches for the given stream of NBT tags.- Specified by:
matchContextsin interfaceINbtPathExpression- Parameters:
executionContexts- A stream of NBT execution contexts.- Returns:
- The matches.
-