Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

skCompileError Class Reference

This class encapsulates an error message from the parser, representing a syntax error in the script. More...

#include <skParseException.h>

List of all members.

Public Methods

 skCompileError ()
 Default constructor.

 skCompileError (skString location, int line_num, const skString &msg, const skString &lex_buffer)
 Constructor which is passed information about the error.

skString location () const
 returns the location of the script, as passed into the parse() function.

int lineNum () const
 shows the line number where the syntax error occurred.

skString msg () const
 gives a message about the error.

skString lexBuffer () const
 returns the lex buffer being handled at the time.

skString toString () const
 this method returns a string representation of the whole error.

bool operator== (const skCompileError &err) const
 this message compares two compile errors. More...


Detailed Description

This class encapsulates an error message from the parser, representing a syntax error in the script.


Member Function Documentation

bool skCompileError::operator== const skCompileError &    err const [inline]
 

this message compares two compile errors.

Returns:
true if this message text is the same as the other message text


The documentation for this class was generated from the following file:
Generated on Tue Nov 20 17:56:22 2001 for Simkin by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001