Package ch.njol.skript.lang
@NonNullByDefault({PARAMETER,RETURN_TYPE,FIELD})
package ch.njol.skript.lang
Contains all code related to parsing scripts.
-
InterfaceDescriptionRepresents an expression that can be used as the default value of a certain type and event.Expression<T>Represents an expression.Literal<T>A literal, e.g.Represents a general part of the syntax.Effects which can be tested implement this interface.
-
ClassDescriptionA condition which must be fulfilled for the trigger to continue.An effect which is unconditionally executed when reached, and execution will usually continue with the next item of the trigger after this effect is executed (the stop effect for example stops the trigger, i.e.A
Section
that may also be used as an effect, meaning there may be no section to parse.ExpressionInfo<E extends Expression<T>,T>A list of expressions.LiteralList<T>A list of literals.A section that can decide what it does with its contents, as code isn't parsed by default.To be used in sections that delay the execution of their code through aTrigger
.A SkriptEvent is like a condition.SkriptEventInfo<E extends SkriptEvent>Used for parsing my custom patterns.
Note: All parse methods print one error at most xor any amount of warnings and lower level log messages.Supertype of conditions and effectsSyntaxElementInfo<E extends SyntaxElement>Represents a trigger item, i.e.Represents a section of a trigger, e.g.A literal which has yet to be parsed.Variable<T>Represents a string that may contain expressions, and is thus "variable". -
Enum ClassDescriptionUsed to define in which order to parse expressions.