Table of Contents

Class SyntaxAttribute

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

Represents a particular attribute of language element.

[Serializable]
public class SyntaxAttribute : ISyntaxAttribute, ICloneable
Inheritance
SyntaxAttribute
Implements

Constructors

SyntaxAttribute()

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

SyntaxAttribute(Point, string, object)

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

Properties

EndPosition

Get attribute end position in the code text.

Name

Get or sets attribute name.

Position

Get or sets attribute position in the code text.

Range

Gets attribute scope.

Value

Get or sets value of the attribute.

Methods

Clone()

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

OnNameChanged()
OnPositionChanged()
OnValueChanged()
ToString()

Returns a String that represents the current SyntaxAttribute.