Class INbtPathExpressionParseHandler.HandleResult
java.lang.Object
org.cyclops.cyclopscore.nbt.path.parse.INbtPathExpressionParseHandler.HandleResult
- Enclosing interface:
- INbtPathExpressionParseHandler
A result data object for
INbtPathExpressionParseHandler
.-
Field Summary
-
Constructor Summary
ConstructorDescriptionHandleResult
(INbtPathExpression prefixExpression, int consumedExpressionLength) -
Method Summary
-
Field Details
-
INVALID
-
-
Constructor Details
-
HandleResult
-
-
Method Details
-
isValid
public boolean isValid()- Returns:
- If the handler could produce a valid expression.
-
getPrefixExpression
- Returns:
- The expression (for a part) of the given string expression.
-
getConsumedExpressionLength
public int getConsumedExpressionLength()- Returns:
- The length of the string expression that was consumed.
-