Class XmlLocationAnalyser

java.lang.Object
org.eclipse.emf.mwe.internal.core.ast.parser.XmlLocationAnalyser

public class XmlLocationAnalyser extends Object
  • Field Details

  • Constructor Details

    • XmlLocationAnalyser

      public XmlLocationAnalyser()
  • Method Details

    • adapt

      public Location adapt(Location loc)
      the SAX parser has no exact location handling. The offset and length information are updated here.
      TODO: ER: add location of attributes (e.g. for error handling of not existing cartridge file)
      Parameters:
      loc - the (raw) location to be adapted
    • adaptEnd

      public Location adaptEnd(Location loc)
    • findFirstLineOfTag

      public int findFirstLineOfTag(String resource, int lineNumber)
    • newEvaluator

      protected XmlLocationAnalyser.XmlFileEvaluator newEvaluator()
    • newEvaluator__TEST

      public XmlLocationAnalyser.XmlFileEvaluator newEvaluator__TEST()
      FOR TEST ONLY