org.eclipse.emf.mwe.internal.core.ast.parser
Class XmlLocationAnalyser
java.lang.Object
org.eclipse.emf.mwe.internal.core.ast.parser.XmlLocationAnalyser
public class XmlLocationAnalyser
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loader
protected ResourceLoader loader
XmlLocationAnalyser
public XmlLocationAnalyser()
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(java.lang.String resource,
int lineNumber)
newEvaluator
protected XmlLocationAnalyser.XmlFileEvaluator newEvaluator()
newEvaluator__TEST
public XmlLocationAnalyser.XmlFileEvaluator newEvaluator__TEST()
- FOR TEST ONLY