Class ParseTagPatternElement
java.lang.Object
ch.njol.skript.patterns.PatternElement
ch.njol.skript.patterns.ParseTagPatternElement
A
PatternElement that applies a parse mark when matched.-
Constructor Summary
ConstructorsConstructorDescriptionParseTagPatternElement(int mark) ParseTagPatternElement(@NotNull String tag) -
Method Summary
Modifier and TypeMethodDescriptiongetCombinations(boolean clean) Gets the combinations available to thisPatternElement.@Nullable MatchResultmatch(String expr, MatchResult matchResult) toString()toString(SkriptPattern.StringificationProperties properties) Constructs a string representation of this pattern element.Methods inherited from class PatternElement
getAllCombinations, matchNext, toFullString, toFullString
-
Constructor Details
-
ParseTagPatternElement
public ParseTagPatternElement(int mark) -
ParseTagPatternElement
-
-
Method Details
-
match
- Specified by:
matchin classPatternElement
-
toString
- Specified by:
toStringin classPatternElement
-
toString
Description copied from class:PatternElementConstructs a string representation of this pattern element.- Specified by:
toStringin classPatternElement- Parameters:
properties- Properties to consider during stringification.- Returns:
- A string representation of this pattern element.
-
getCombinations
Gets the combinations available to thisPatternElement.- Specified by:
getCombinationsin classPatternElement- Parameters:
clean- Whether the parse mark/tag should be excluded.- Returns:
- The combinations.
-