Code example for Locator

Methods: getColumnNumber, getLineNumber

0
      this.line = -1;
      this.column = -1;
    } 
    else 
    { 
      this.line = locator.getLineNumber();
      this.column = locator.getColumnNumber();
    } 
  } 
 
  /** 
   * Returns the line of the parse position where the error occured. 
   * 
   * @return the line number or -1 if not known. 
   */ 
  public int getLine() 
  { 
    return this.line;
  } 
 
  /**