function SyntaxError(message, line, col){

    /**
     * The column at which the error occurred.
     * @type int
     * @property col
     */
    this.col = col;

    /**
     * The line at which the error occurred.
     * @type int
     * @property line
     */
    this.line = line;

    /**
     * The text representation of the unit.
     * @type String
     * @property text
     */
    this.message = message;

}
Type to use when a syntax error occurs.
@class SyntaxError
@namespace parserlib.util
@constructor
@param {String} message The error message.
@param {int} line The line at which the error occurred.
@param {int} col The column at which the error occurred.