private static IEnumerable<Token> GetArguments(ArgumentsTuple argTuple) { if (argTuple == null || argTuple.ArgBody == null) yield break; var body = argTuple.ArgBody; while (body != null) { yield return body.Argument; body = body.ArgBody; } }
private static IEnumerable<object> GetCTSTypedArguments(ArgumentsTuple argTuple) { foreach (var tok in GetArguments(argTuple)) { yield return GetCTSTypedValue(tok); } }