org.snapscript.parse.GrammarReader Maven / Gradle / Ivy
package org.snapscript.parse;
public class GrammarReader extends PropertyReader {
public GrammarReader(String file) {
super(file);
}
@Override
protected GrammarDefinition create(String name, String value) {
return new GrammarDefinition(name, value);
}
@Override
protected boolean terminal(char value) {
return value == ';';
}
}