Package net.gereon.jloom.core

Examples of net.gereon.jloom.core.TranslationContext


      println("Note that CMD is the command you just used to get this help text,");
      println("e.g. \"java -jar jloom-1.0.0.jar\".");
      return;
    }
   
    TranslationContext tc = JLoomTools.translate(args[0]);
    Collection<TranslationProblem> problems = tc.getProblems();
    if (problems.size() > 0) {
      TextInfo info = new TextInfo(tc.getInputText());
      for (TranslationProblem p : problems) {
        int start = p.getStart();
        int line = info.getLineNumber(start);
        int col = start - info.getLineStart(line);
        println("");
View Full Code Here

TOP

Related Classes of net.gereon.jloom.core.TranslationContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.