Interface DefaultSyntaxInfos.Expression.Builder<B extends DefaultSyntaxInfos.Expression.Builder<B,E,R>,E extends Expression<R>,R>
- Type Parameters:
B
- The type of builder being used.E
- The Expression class providing the implementation of the syntax info being built.R
- The type of the return type of the Expression.
- All Superinterfaces:
Builder<SyntaxInfo.Builder<?,
,?>, SyntaxInfo<?>> SyntaxInfo.Builder<B,
E>
- Enclosing interface:
DefaultSyntaxInfos.Expression<E extends Expression<R>,
R>
public static interface DefaultSyntaxInfos.Expression.Builder<B extends DefaultSyntaxInfos.Expression.Builder<B,E,R>,E extends Expression<R>,R>
extends SyntaxInfo.Builder<B,E>
An Expression-specific builder is used for constructing a new Expression syntax info.
- See Also:
-
Nested Class Summary
-
Method Summary
Methods inherited from interface org.skriptlang.skript.registration.SyntaxInfo.Builder
addPattern, addPatterns, addPatterns, applyTo, clearPatterns, origin, priority, supplier
-
Method Details
-
build
Builds a new syntax info from the set details.- Specified by:
build
in interfaceBuilder<B extends DefaultSyntaxInfos.Expression.Builder<B,
E, R>, E extends Expression<R>> - Specified by:
build
in interfaceSyntaxInfo.Builder<B extends DefaultSyntaxInfos.Expression.Builder<B,
E, R>, E extends Expression<R>> - Returns:
- A syntax info representing the class providing the syntax's implementation.
-