Declarator MakeArrayDeclarator(Declarator?left, TypeQualifiers tq, Expression?len, bool isStatic) { if (left != null && left.StrongBinding) { var i = left.InnerDeclarator; var a = new ArrayDeclarator(i, len); left.InnerDeclarator = a; return(left); } else { return(new ArrayDeclarator(left, len)); } }
Declarator MakeArrayDeclarator(Declarator left, TypeQualifiers tq, Expression len, bool isStatic) { var a = new ArrayDeclarator(); a.LengthExpression = len; if (left.StrongBinding) { var i = left.InnerDeclarator; a.InnerDeclarator = i; left.InnerDeclarator = a; return(left); } else { a.InnerDeclarator = left; return(a); } }
public virtual void VisitArrayDeclarator(ArrayDeclarator node) => DefaultVisit(node);