Package ch.njol.skript.lang
package ch.njol.skript.lang
Contains all code related to parsing scripts.
-
ClassDescriptionA condition which must be fulfilled for the trigger to continue.Represents an element that can print details involving an event.Represents an expression that can be used as the default value of a certain type or event.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
Sectionthat may also be used as an effect, meaning there may be no section to parse.Represents the Effect aspect of an EffectSection.A syntax element that restricts the events it can be used in.Used to describe the intention of aTriggerItem.Represents a stop sections intent.Represents a stop trigger intent.Expression<T>Represents an expression.Represents an expression's information, for use when creating new instances of expressions.A list of expressions.A dummy trigger item representing the 'section' aspect of aSectionExpression.Used to define in which order to parse expressions.An InputSource represents a syntax that can provide a value forExprInputto use.KeyedValue<T>A record that represents a key-value pairA record that represents a pair of lists: one for keys and one for values.Represents an expression that is able to return a set of keys linked to its values.Represents an expression that is able to accept a set of keys linked to values during theChanger.ChangeMode.SETChanger.Literal<T>A literal, e.g.LiteralList<T>A list of literals.Loopable<T>Represents a loop section.Used to provide context as to where an element is being parsed from.A section that can decide what it does with its contents, as code isn't parsed by default.Data stored in theParserInstanceto keep track of the current section being parsed.ASectionimplementing this interface can execute a task when it is exited by an'exit'or'return'effect.To be used in sections that delay the execution of their code through aTrigger.Deprecated, for removal: This API element is subject to removal in a future version.Represents a condition that can be simplified during initialization.A SkriptEvent is like a condition.The listening behavior of a Skript event.SkriptEventInfo<E extends SkriptEvent>SkriptEventInfo.ModernSkriptEventInfo<E extends SkriptEvent>Internal wrapper class for providing compatibility with the new Registration API.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 effectsRepresents a general part of the syntax.SyntaxElementInfo<E extends SyntaxElement>Utility class to build syntax strings, primarily intended for use inDebuggable.toString(Event, boolean)implementations.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".This interface provides methods forConditions to provide expected and received values forEffAssertor others to use to in debugging or testing scenarios.
Structuremethods should be used.