gnu.text
Interface SourceLocator
- org.xml.sax.Locator
- AccessExp, ApplyExp, BeginExp, BlockExp, CatchClause, ChainLambdas, ClassExp, Compilation, Declaration, ErrorExp, ExitExp, Expression, ExpWalker, FindCapturedVars, FindTailCalls, FluidLetExp, IfExp, InlineCalls, LambdaExp, LangExp, LetExp, ModuleExp, ObjectExp, PairWithPosition, PatternScope, PushApply, QuoteExp, ReferenceExp, ResolveNames, ScopeExp, SetExp, SourceError, SourceMessages, SynchronizedExp, TemplateScope, ThisExp, Translator, TryExp, XMLFilter, XQResolveNames
public interface SourceLocator
extends org.xml.sax.Locator
getColumnNumber
public int getColumnNumber()
Return current column number.
The "first" column is column 1; unknown is -1.
getFileName
public String getFileName()
Normally same as getSystemId.
getLineNumber
public int getLineNumber()
Return current line number.
The "first" line is line 1; unknown is -1.
getPublicId
public String getPublicId()
getSystemId
public String getSystemId()
isStableSourceLocation
public boolean isStableSourceLocation()
True if position is unlikely to change.
True for an expression but not an input file.