Uses of Class
org.jparsec.error.Location
-
Packages that use Location Package Description org.jparsec Provides core Parser implementations for parser combinator logic.org.jparsec.error Provides interfaces and classes for advanced error handling. -
-
Uses of Location in org.jparsec
Fields in org.jparsec declared as Location Modifier and Type Field Description private Location
SourceLocation. location
Methods in org.jparsec that return Location Modifier and Type Method Description private Location
SourceLocator. getLineBreakLocation(int lineIndex)
private Location
SourceLocation. getLocation()
(package private) Location
SourceLocator. locate(int index)
private Location
SourceLocator. location(int l, int c)
(package private) Location
SourceLocator. lookup(int index)
Looks up the location identified byind
using the cached indices of line break characters.(package private) Location
SourceLocator. scanTo(int index)
Scans fromnextIndex
toind
and saves all indices of line break characters intolineBreakIndices
and adjusts the current column number as it goes. -
Uses of Location in org.jparsec.error
Fields in org.jparsec.error declared as Location Modifier and Type Field Description private Location
ParserException. location
Methods in org.jparsec.error that return Location Modifier and Type Method Description Location
ParserException. getLocation()
Deprecated.UseParserException.getLine()
andParserException.getColumn()
instead.Methods in org.jparsec.error with parameters of type Location Modifier and Type Method Description private static java.lang.String
ParserException. toErrorMessage(java.lang.String message, java.lang.String module, ParseErrorDetails details, Location location)
(package private) static java.lang.String
ErrorReporter. toString(ParseErrorDetails details, Location location)
Constructors in org.jparsec.error with parameters of type Location Constructor Description ParserException(java.lang.Throwable cause, ParseErrorDetails details, java.lang.String moduleName, Location location)
Deprecated.ParserException(ParseErrorDetails details, java.lang.String moduleName, Location location)
Deprecated.ParserException(ParseErrorDetails details, Location location)
Creates aParserException
object.
-