All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.snapscript.parse.GrammarResolver Maven / Gradle / Ivy

There is a newer version: 1.4.6
Show newest version
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);
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy