de.cau.cs.kieler.krep.evalbench.smakc
Class Tracer

java.lang.Object
  extended by de.cau.cs.kieler.krep.evalbench.smakc.Tracer

public final class Tracer
extends Object

Generate mapping between kit file and the KEP assembler that was generated by smakc.

Rating red

Method Summary
static Map<Integer,Integer> trace(String kitfile, String kasmfile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

trace

public static Map<Integer,Integer> trace(String kitfile,
                                         String kasmfile)
                                  throws IOException,
                                         kiel.util.kit.parser.ParserException,
                                         kiel.util.kit.lexer.LexerException
Parameters:
kitfile - sycnchart in kit format
kasmfile - kep assembler for the synchcart generated by smakc!
Returns:
a mapping from lines in the kit file to lines in the kasm file
Throws:
IOException - thrown if a file cannot be read
kiel.util.kit.parser.ParserException - thrown at parsing of the kit file
kiel.util.kit.lexer.LexerException - thrown at lexing of the kit file