示例#1
0
 public static DPCDecoration HasDPCTokenType(this IToken thing, DPCTokenType tokenType)
 {
     Condition.Requires(thing).IsNotNull();
     return new DPCDecoration(thing, tokenType);
 }
示例#2
0
 public static DPCDecoration New(IToken decorated, DPCTokenType tokenType)
 {
     return new DPCDecoration(decorated, tokenType);
 }
示例#3
0
 public DPCDecoration(IToken decorated, DPCTokenType tokenType)
     : base(decorated)
 {
     this.TokenType = tokenType;
 }
示例#4
0
 public static DPCDecoration HasDPCTokenType(this IToken thing, DPCTokenType tokenType)
 {
     Condition.Requires(thing).IsNotNull();
     return(new DPCDecoration(thing, tokenType));
 }
示例#5
0
 public static DPCDecoration New(IToken decorated, DPCTokenType tokenType)
 {
     return(new DPCDecoration(decorated, tokenType));
 }
示例#6
0
 public DPCDecoration(IToken decorated, DPCTokenType tokenType)
     : base(decorated)
 {
     this.TokenType = tokenType;
 }