public override Node ExitCastExpression(Production node) { IList childValues = GetChildValues(node); var destTypeParts = (string[])childValues[1]; var isArray = (bool)childValues[2]; var op = new CastElement((BaseExpressionElement)childValues[0], destTypeParts, isArray, context); node.AddValue(op); return(node); }
public override Node ExitCastExpression(Production node) { IList childValues = this.GetChildValues(node); string[] destTypeParts = (string[])childValues[1]; bool isArray = (bool)childValues[2]; CastElement op = new CastElement((ExpressionElement)childValues[0], destTypeParts, isArray, _myServices); node.AddValue(op); return(node); }