Package com.github.sommeri.less4j.utils.ProblemsPrinter

Examples of com.github.sommeri.less4j.utils.ProblemsPrinter.AbsoluteSourceNamePrinter


 
  private static String errorPlace(HiddenTokenAwareTree offendingNode) {
    if (offendingNode==null)
      return "";

    AbsoluteSourceNamePrinter printer = new AbsoluteSourceNamePrinter();
    String filename = printer.printSourceName(offendingNode.getSource());
   
    return "\n Offending place: " + filename + " " + offendingNode.getLine() + ":" + (offendingNode.getCharPositionInLine() + 1);
  }
View Full Code Here


  private static String errorPlace(ASTCssNode offendingNode) {
    if (offendingNode==null)
      return "";

    AbsoluteSourceNamePrinter printer = new AbsoluteSourceNamePrinter();
    String filename = printer.printSourceName(offendingNode.getSource());
   
    return "\n Offending place: " + filename + " " + offendingNode.getSourceLine() + ":" + offendingNode.getSourceColumn();
  }
View Full Code Here

TOP

Related Classes of com.github.sommeri.less4j.utils.ProblemsPrinter.AbsoluteSourceNamePrinter

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.