示例#1
0
 public StatementModifier(StatementModifierType type, Expression condition)
 {
     this.Type      = type;
     this.Condition = condition;
 }
示例#2
0
		public bool ShouldSerialize(StatementModifierType value)
		{
			return (long)value != 0;
		}
示例#3
0
		public StatementModifier(StatementModifierType type, Expression condition)
		{
			this.Type = type;
			this.Condition = condition;
		}		
示例#4
0
		public Expression Serialize(StatementModifierType value)
		{
			return SerializeEnum("StatementModifierType", (long)value);
		}
示例#5
0
 public StatementModifier(StatementModifierType type, Expression condition) : base(type, condition)
 {
 }
示例#6
0
 public bool ShouldSerialize(StatementModifierType value)
 {
     return value != StatementModifierType.None;
 }
示例#7
0
 protected StatementModifierImpl(LexicalInfo lexicalInfo, StatementModifierType type, Expression condition) : base(lexicalInfo)
 {
     Type      = type;
     Condition = condition;
 }
示例#8
0
 protected StatementModifierImpl(StatementModifierType type, Expression condition)
 {
     Type      = type;
     Condition = condition;
 }