function SyntaxHighlighter( repl, ostream, enabled ) {
	if ( !( this instanceof SyntaxHighlighter ) ) {
		return new SyntaxHighlighter( repl, ostream, enabled );
	}
	debug( 'Creating a new syntax-highlighter' );

	// Initialize a flag indicating whether the syntax highlighter is enabled:
	this._enabled = enabled;

	// Cache a reference to the provided REPL instance:
	this._repl = repl;

	// Cache a reference to the provided readline interface:
	this._rli = repl._rli;

	// Cache a reference to the output writable stream:
	this._ostream = ostream;

	// Cache a reference to the REPL's multi-line handler:
	this._multilineHandler = repl._multilineHandler;

	// Initialize a buffer containing the current line to validate line changes:
	this._line = '';

	// Initialize a buffer to cache the highlighted line:
	this._highlightedLine = '';

	// Initialize an object storing all available themes:
	this._themes = THEMES;

	// Initialize a variable storing the current theme:
	this._theme = DEFAULT_THEME;

	return this;
}
Constructor for creating a syntax-highlighter.

@private
@constructor
@param {REPL} repl - REPL instance
@param {WritableStream} ostream - writable stream
@param {boolean} enabled - boolean indicating whether the syntax-highlighter should be initially enabled
@returns {SyntaxHighlighter} syntax-highlighter instance