org.snapscript.parse.GrammarResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap Show documentation
Show all versions of snap Show documentation
Dynamic scripting for the JVM
package org.snapscript.parse;
import java.util.Map;
public class GrammarResolver {
private final Map grammars;
public GrammarResolver(Map grammars) {
this.grammars = grammars;
}
public Grammar resolve(String name) {
return grammars.get(name);
}
}