Beispiel #1
0
        public override AbstractSyntaxTreeNode applyToKeywordMessageArgument(KeywordMessageArgument operand)
        {
            var value = (OperandNode)operand.Operand.valueBy(this);

            if (operand.HasMessageChain)
            {
                operand.MessageChain.messagesDo(message => value = Context.newMessageSendNode(value, (MessageNode)message.valueBy(this)));
            }
            return(Context.newExpressionNode(value));
        }
Beispiel #2
0
 public virtual T applyToKeywordMessageArgument(KeywordMessageArgument operand)
 {
     return(applyToParseTreeNode(operand));
 }