internal IndexerNode(Node variable, ParamListNode paramList) { variable.ThrowIfNullArgument(nameof(variable)); paramList.ThrowIfNullArgument(nameof(paramList)); Node1 = variable; Node2 = paramList; }
internal MethodNode(Node variable, Node method, ParamListNode args) { method.ThrowIfNullArgument(nameof(method)); args.ThrowIfNullArgument(nameof(args)); Node1 = variable;//Note:null is acceptable, static method call. Node2 = method; Node3 = args; }