boolean last = nodeIndex == (nodes.size()-1);
generateOne(insns, n, last);
++nodeIndex;
}
ret = new InstructionListNode(insns); // Wrap the IL in a node and return it
}
else if (parent instanceof IMXMLPropertySpecifierNode && dbnode instanceof IMXMLSingleDataBindingNode)
{
IMXMLPropertySpecifierNode psn = (IMXMLPropertySpecifierNode)parent;
IDefinition d = psn.getDefinition();
Binding b = host.getInstanceScope().getBinding(d);
INamespaceReference ns = psn.getDefinition().getNamespaceReference();
if (ns != NamespaceDefinition.getPublicNamespaceDefinition())
{
InstructionList insns = new InstructionList();
insns.addInstruction(OP_getlocal0);
insns.addInstruction(OP_getlocal1);
insns.addInstruction(OP_setproperty, b.getName());
ret = new InstructionListNode(insns); // Wrap the IL in a node and return it
}
}
return ret;
}