*/
public static ScriptObject buildScriptObject(final ParseObject po, final ScriptObject parent) throws WinkParseException {
ScriptObject so;
if (po instanceof Function) {
so = new FunctionObject(po.getNode());
} else if (po instanceof ObjectLit) {
so = new LiteralObject(po.getNode());
} else {
so = new DefaultObject(po.getNode());
}