public static DPCDecoration HasDPCTokenType(this IToken thing, DPCTokenType tokenType) { Condition.Requires(thing).IsNotNull(); return new DPCDecoration(thing, tokenType); }
public static DPCDecoration New(IToken decorated, DPCTokenType tokenType) { return new DPCDecoration(decorated, tokenType); }
public DPCDecoration(IToken decorated, DPCTokenType tokenType) : base(decorated) { this.TokenType = tokenType; }
public static DPCDecoration HasDPCTokenType(this IToken thing, DPCTokenType tokenType) { Condition.Requires(thing).IsNotNull(); return(new DPCDecoration(thing, tokenType)); }
public static DPCDecoration New(IToken decorated, DPCTokenType tokenType) { return(new DPCDecoration(decorated, tokenType)); }
public DPCDecoration(IToken decorated, DPCTokenType tokenType) : base(decorated) { this.TokenType = tokenType; }