
org.snapscript.tree.InstructionReader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap-all Show documentation
Show all versions of snap-all Show documentation
Dynamic scripting for the JVM
package org.snapscript.tree;
import org.snapscript.common.io.PropertyReader;
public class InstructionReader extends PropertyReader{
public InstructionReader(String file) {
super(file);
}
@Override
protected Instruction create(String name, char[] data, int off, int length, int line) {
String type = format(data, off, length);
if(type != null) {
return new Instruction(type, name);
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy