Interface ToString
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface for converting a particle and its data to a string representation.
Effectively a custom
Debuggable.toString(Event, boolean) method.-
Method Summary
Modifier and TypeMethodDescriptiontoString(Expression<?> @NotNull [] exprs, SkriptParser.ParseResult parseResult, SyntaxStringBuilder builder) Converts the particle and provided data to a string representation.
-
Method Details
-
toString
SyntaxStringBuilder toString(Expression<?> @NotNull [] exprs, SkriptParser.ParseResult parseResult, SyntaxStringBuilder builder) Converts the particle and provided data to a string representation.- Parameters:
exprs- The expressions used to parse the dataparseResult- The parse result from parsingbuilder- TheSyntaxStringBuilderto append to- Returns:
- The
SyntaxStringBuilderwith the string representation appended
-