Lines Matching refs:mirror
45 var mirror = debug.MakeMirror(f);
47 var json = JSON.stringify(serializer.serializeValue(mirror));
52 assertTrue(mirror instanceof debug.Mirror);
53 assertTrue(mirror instanceof debug.ValueMirror);
54 assertTrue(mirror instanceof debug.ObjectMirror);
55 assertTrue(mirror instanceof debug.FunctionMirror);
58 assertTrue(mirror.isFunction());
59 assertEquals('function', mirror.type());
60 assertFalse(mirror.isPrimitive());
61 assertEquals("Function", mirror.className());
62 assertEquals(f.name, mirror.name());
63 assertTrue(mirror.resolved());
64 assertEquals(f.toString(), mirror.source());
65 assertTrue(mirror.constructorFunction() instanceof debug.ObjectMirror);
66 assertTrue(mirror.protoObject() instanceof debug.Mirror);
67 assertTrue(mirror.prototypeObject() instanceof debug.Mirror);
70 assertEquals(f.toString(), mirror.toText());