Commit 10c1f4a7 authored by Lubomir Bulej's avatar Lubomir Bulej

ClassParser: renamed to DislClassParser to simplify merge of the rest of the "newagent" code.

ProcessorParser: renamed to ArgProcessorParser to simplify merge of the rest of the "newagent" code.
parent 83e291b6
......@@ -22,7 +22,7 @@ import org.objectweb.asm.tree.MethodNode;
import ch.usi.dag.disl.cbloader.ClassByteLoader;
import ch.usi.dag.disl.cbloader.ManifestHelper;
import ch.usi.dag.disl.cbloader.ManifestHelper.ManifestInfo;
import ch.usi.dag.disl.classparser.ClassParser;
import ch.usi.dag.disl.classparser.DislClassParser;
import ch.usi.dag.disl.exception.DiSLException;
import ch.usi.dag.disl.exception.DiSLIOException;
import ch.usi.dag.disl.exception.DiSLInMethodException;
......@@ -122,7 +122,7 @@ public final class DiSL {
// - create snippets
// - create static context methods
final ClassParser parser = new ClassParser();
final DislClassParser parser = new DislClassParser();
for (final InputStream classIS : dislClasses) {
......@@ -37,7 +37,7 @@ import ch.usi.dag.disl.util.AsmHelper;
import ch.usi.dag.disl.util.Constants;
import ch.usi.dag.disl.util.ReflectionHelper;
class ProcessorParser extends AbstractParser {
class ArgProcessorParser extends AbstractParser {
// first map argument is ASM type representing processor class where the
// processor is defined
......@@ -23,10 +23,10 @@ import ch.usi.dag.disl.localvar.LocalVars;
import ch.usi.dag.disl.processor.Proc;
import ch.usi.dag.disl.snippet.Snippet;
public class ClassParser {
public class DislClassParser {
SnippetParser snippetParser = new SnippetParser();
ProcessorParser processorParser = new ProcessorParser();
ArgProcessorParser processorParser = new ArgProcessorParser();
public void parse(InputStream is) throws ParserException,
SnippetParserException, ReflectionException, ScopeParserException,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment