You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/ZeroLevel/Services/DOM/DSL/Tokens/TElementToken.cs

37 lines
833 B

6 years ago
namespace DOM.DSL.Tokens
{
/// <summary>
/// Token referring to the document element
6 years ago
/// </summary>
public class TElementToken :
TToken
{
/// <summary>
6 years ago
/// Element name
6 years ago
/// </summary>
public string ElementName;
6 years ago
/// <summary>
/// Optionally, next token
6 years ago
/// </summary>
public TToken NextToken;
public override TToken Clone()
{
return new TElementToken
{
ElementName = this.ElementName,
NextToken = this.NextToken?.Clone()
};
}
public override TToken CloneLocal()
{
return new TElementToken
{
ElementName = this.ElementName,
NextToken = null
};
}
}
}

Powered by TurnKey Linux.