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 77package org .byteskript .skript .lang .syntax .dictionary ;
88
99import mx .kenzie .foundation .MethodBuilder ;
10+ import org .byteskript .skript .api .note .Documentation ;
1011import org .byteskript .skript .api .syntax .Member ;
1112import org .byteskript .skript .compiler .*;
1213import org .byteskript .skript .compiler .structure .SectionMeta ;
1314import org .byteskript .skript .lang .element .StandardElements ;
1415
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+ )
1530public class DictionaryMember extends Member {
1631
1732 public DictionaryMember () {
You can’t perform that action at this time.
0 commit comments