Package ch.njol.skript.patterns
Class OptionalPatternElement
java.lang.Object
ch.njol.skript.patterns.PatternElement
ch.njol.skript.patterns.OptionalPatternElement
A
PatternElement
that contains an optional part, for example [hello world]
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable MatchResult
match(String expr, MatchResult matchResult)
toString()
Methods inherited from class ch.njol.skript.patterns.PatternElement
matchNext, toFullString
-
Constructor Details
-
OptionalPatternElement
-
-
Method Details
-
match
- Specified by:
match
in classPatternElement
-
toString
- Specified by:
toString
in classPatternElement
-