<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hello, </div><div> </div><div>if the program is :</div><div> </div><div>void foo()</div><div>{</div><div>   int a[3] = {0,1,2};</div><div>}</div><div> </div><div>If I get the ast nodes by the ast matcher:  varDecl(hasType(arrayType()))</div><div>I will get  int a[3] matched, the matched node is a VarDecl type.</div><div>How can I get the array size (in this example is 3) from the VarDecl node ? </div><div> </div><div>Thank you for any help !</div><div> </div><div>Anders</div><div> </div><div>  </div><div> </div><div> </div></div><br><br><span title="neteasefooter"><p> </p></span>