Class NbtPathStringParser
java.lang.Object
org.cyclops.cyclopscore.nbt.path.parse.NbtPathStringParser
A parser for strings within NBT path expressions in the form of "ab\"c".
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionParse a string that starts and ends with doubles quotes and; Can handle escape sequences within that string.
-
Constructor Details
-
NbtPathStringParser
public NbtPathStringParser()
-
-
Method Details
-
parse
Parse a string that starts and ends with doubles quotes and; Can handle escape sequences within that string.- Parameters:
source
- The source stringpos
- Where to start parse; The index of the opening double quote- Returns:
- Parse result
-