File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
src/main/java/org/byteskript/skript/lang/syntax/dictionary Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 7
7
package org .byteskript .skript .lang .syntax .dictionary ;
8
8
9
9
import mx .kenzie .foundation .MethodBuilder ;
10
+ import org .byteskript .skript .api .note .Documentation ;
10
11
import org .byteskript .skript .api .syntax .Member ;
11
12
import org .byteskript .skript .compiler .*;
12
13
import org .byteskript .skript .compiler .structure .SectionMeta ;
13
14
import org .byteskript .skript .lang .element .StandardElements ;
14
15
16
+ @ Documentation (
17
+ name = "Dictionary" ,
18
+ description = """
19
+ Tells the compiler about available resources in other files.
20
+ Allows remote types and functions to be 'imported' to avoid using their fully-qualified names in code.
21
+ """ ,
22
+ examples = {
23
+ """
24
+ dictionary:
25
+ import type skript/otherscript/MyType
26
+ import function "cool_func" from skript/otherscript
27
+ """
28
+ }
29
+ )
15
30
public class DictionaryMember extends Member {
16
31
17
32
public DictionaryMember () {
You can’t perform that action at this time.
0 commit comments