Esempio n. 1
0
        public GroovyExpressionState Serialize(StringBuilder stringBuilder, GroovyExpressionState state)
        {
            var ret = state
                      .AppendIdentifier(stringBuilder, nameof(P));

            return(this._arguments.Length == 1
                ? ret.AppendMethod(stringBuilder, this._name, this._arguments[0])
                : ret.AppendMethod(stringBuilder, this._name, this._arguments));
        }
Esempio n. 2
0
 public override GroovyExpressionState Serialize(StringBuilder stringBuilder, GroovyExpressionState state)
 {
     return(state.AppendIdentifier(stringBuilder, this._variable));
 }
Esempio n. 3
0
 public GroovyExpressionState Serialize(StringBuilder stringBuilder, GroovyExpressionState state)
 {
     return(state
            .AppendIdentifier(stringBuilder, nameof(Order))
            .AppendField(stringBuilder, this._name));
 }