* @return the all declared vars
*/
public List<HaxeTree> getAllMembers() {
List<HaxeTree> list = new ArrayList<HaxeTree>();
BlockScope blockScope = getBlockScope();
if (blockScope == null)
{
return list;
}
for (HaxeTree x: blockScope.getChildren())
if (x instanceof Declaration)
list.add(x);
return list;
}