Uses of Class
org.jparsec.error.Location
Packages that use Location
Package
Description
Provides core Parser implementations for parser combinator logic.
Provides interfaces and classes for advanced error handling.
-
Uses of Location in org.jparsec
Fields in org.jparsec declared as LocationMethods in org.jparsec that return LocationModifier and TypeMethodDescriptionprivate 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 LocationMethods in org.jparsec.error that return LocationMethods in org.jparsec.error with parameters of type LocationModifier and TypeMethodDescriptionprivate static String
ParserException.toErrorMessage
(String message, String module, ParseErrorDetails details, Location location) (package private) static String
ErrorReporter.toString
(ParseErrorDetails details, Location location) Constructors in org.jparsec.error with parameters of type LocationModifierConstructorDescriptionParserException
(Throwable cause, ParseErrorDetails details, String moduleName, Location location) Deprecated.ParserException
(ParseErrorDetails details, String moduleName, Location location) Deprecated.ParserException
(ParseErrorDetails details, Location location) Creates aParserException
object.
ParserException.getLine()
andParserException.getColumn()
instead.