}
}
protected void visitMemberUse(Usage node, Object data)
{
HaxeTree decl = null;
if (data instanceof Class)
{
Class parent = (Class)data;
decl = parent.getDeclaration(node.getText());
}
node.setDeclarationNode(decl);
if (!node.isFieldUse() && !(
decl instanceof Class ||
decl instanceof Enum)) //+ interface ??
{
return;
}
HaxeTree child = node.getChild(0).getChild(0);
// slices and methcalls
if (child instanceof MethodCall ||
child instanceof Slice)
{
visit(child, decl);