Mercurial Hosting > nabble
comparison src/nabble/modules/hacks/HacksModule.java @ 0:7ecd1a4ef557
add content
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 Mar 2019 19:15:52 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7ecd1a4ef557 |
---|---|
1 package nabble.modules.hacks; | |
2 | |
3 import nabble.naml.compiler.Module; | |
4 import nabble.naml.compiler.Source; | |
5 | |
6 import java.util.Arrays; | |
7 import java.util.Collection; | |
8 import java.util.Collections; | |
9 import java.util.Set; | |
10 | |
11 | |
12 public enum HacksModule implements Module { | |
13 INSTANCE; | |
14 | |
15 private static final Iterable<Class> extensions = Arrays.<Class>asList( | |
16 UserNamespaceExt.class | |
17 ); | |
18 | |
19 public String getName() { | |
20 return "hacks"; | |
21 } | |
22 | |
23 public Iterable<Class> getExtensions() { | |
24 return extensions; | |
25 } | |
26 | |
27 public Collection<Source> getSources() { | |
28 return Collections.emptyList(); | |
29 } | |
30 | |
31 public Set<String> getDependencies() { | |
32 return Collections.emptySet(); | |
33 } | |
34 } |