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/TPropertyToken.cs

31 lines
747 B

6 years ago
namespace DOM.DSL.Tokens
{
public class TPropertyToken :
TToken
{
public string PropertyName;
public TToken PropertyIndex;
public TToken NextToken;
public override TToken Clone()
{
return new TPropertyToken
{
PropertyIndex = this.PropertyIndex,
PropertyName = this.PropertyName,
NextToken = this.NextToken?.Clone()
};
}
public override TToken CloneLocal()
{
return new TPropertyToken
{
PropertyIndex = this.PropertyIndex,
PropertyName = this.PropertyName,
NextToken = null
};
}
}
}

Powered by TurnKey Linux.