using System;
namespace AnticipatingMinds.Genesis.CodeDOM{
/// <summary>
/// Represents a 'label' statement.
/// </summary>
/// <remarks>Label statement is an empty statment that marks aposition in the flow of program statements.
/// there is no executable code associated with this statement.</remarks>
[Serializable]
public class CodeLabelStatement : CodeStatement
{
#region Instance constructors
/// <summary>
/// Initializes new instance of <see cref="CodeLabelStatement"/> class.
/// </summary>
public CodeLabelStatement():base()
{
}
#endregion Instance constructors
#region Public instance properties
/// <summary>
/// Gets or sets label identifier.
/// </summary>
public string Label
{
get
{
return label;
}
set
{
label = value;
}
}
#endregion Public instance properties
#region Private instance fields
private string label;
#endregion Private instance fields
}
}
|