Package com.google.caja.lexer

Examples of com.google.caja.lexer.SourceBreaks


    }
    return null;
  }

  private FilePosition positionFrom(JsonML jsonML) {
    SourceBreaks breaks = breaksPerFile.get(jsonML.getAttribute(TagAttr.SOURCE));
    if (breaks == null) { return FilePosition.UNKNOWN; }
    int pos = (Integer) jsonML.getAttribute(TagAttr.OPAQUE_POSITION);
    int start = pos >>> 16;
    return breaks.toFilePosition(start, (pos & 0xfff) + start);
  }
View Full Code Here

TOP

Related Classes of com.google.caja.lexer.SourceBreaks

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.