Skip to content

Library ​

com.jsmacrosce.jsmacros.core.library.Library

Marks a library class and supplies its script-global name and optional guest-language restrictions.
For shared and per-execution libraries, an empty language list allows all languages. Per-language library types are registered only for the listed language classes.

Methods ​

languages ​

languages(): Class<? extends BaseLanguage<?, ?>>[]#
Returns: guest-language classes for this library; empty allows all only for shared and per-execution library types

value ​

value(): String#
Returns: the script-global name for this library