Table of Contents

Class SyntaxError

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

Describes a particular syntax error in the code text.

[Serializable]
public class SyntaxError : ISyntaxError, ICloneable
Inheritance
SyntaxError
Implements

Constructors

SyntaxError()

Initializes a new instance of the SyntaxError class with default settings.

SyntaxError(Point)

Initializes a new instance of the SyntaxError class at specified position.

SyntaxError(Point, string, string)

Initializes a new instance of the SyntaxError class with specified parameters.

SyntaxError(Point, string, string, string)

Initializes a new instance of the SyntaxError class with specified parameters.

Properties

Description

Gets or sets error description (reason).

ErrorCode

Gets or sets error type.

ErrorType

Gets or sets error type.

Name

Gets or sets error name.

Position

Gets or sets error position in the code text.

Range

Gets or sets error scope.

Size

Gets or sets error dimension.

UserData

Gets or sets user data associated with this error.

Methods

Clone()

Creates a new object that is a copy of the current ISyntaxError object.

OnDescriptionChanged()
OnErrorCodeChanged()
OnErrorTypeChanged()
OnNameChanged()
OnPositionChanged()
OnRangeChanged()
OnSizeChanged()
ToString()

Returns a String that represents the current SyntaxError.