]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/environment/filter/AcceptAllNamespaceFilter.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / environment / filter / AcceptAllNamespaceFilter.java
1 package org.simantics.scl.compiler.environment.filter;
2
3 public enum AcceptAllNamespaceFilter implements NamespaceFilter {
4     INSTANCE;
5
6     @Override
7     public boolean isValueIncluded(String name) {
8         return true;
9     }
10     
11     @Override
12     public String toString() {
13         return "AcceptAll";
14     }
15
16     @Override
17     public boolean isSubsetOf(NamespaceFilter filter) {
18         return filter == INSTANCE;
19     }
20 }