mirror of https://github.com/ogoun/Zero.git
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.
30 lines
746 B
30 lines
746 B
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
|
|
};
|
|
}
|
|
}
|
|
} |