Class FileSourceLocator

    • Constructor Detail

      • FileSourceLocator

        public FileSourceLocator​(int lineNumber,
                                 int charNumber)

        Constructor for FileSourceLocator.

        Parameters:
        lineNumber - a int.
        charNumber - a int.
    • Method Detail

      • getLineNumber

        public int getLineNumber()
        The line number in the file where the object is located
        Returns:
        the line number
      • getCharNumber

        public int getCharNumber()
        The character number in the file where the object is located.
        Returns:
        the character number