Fri, 21 Feb 2014 17:58:33 +0530
8033745: Reflect upon Nashorn reflection
Reviewed-by: ahgross, attila, jlaskey
aoqi@0 | 1 | { |
aoqi@0 | 2 | "type": "Program", |
aoqi@0 | 3 | "body": [ |
aoqi@0 | 4 | { |
aoqi@0 | 5 | "type": "LabeledStatement", |
aoqi@0 | 6 | "label": { |
aoqi@0 | 7 | "type": "Identifier", |
aoqi@0 | 8 | "name": "begin" |
aoqi@0 | 9 | }, |
aoqi@0 | 10 | "body": { |
aoqi@0 | 11 | "type": "BlockStatement", |
aoqi@0 | 12 | "body": [ |
aoqi@0 | 13 | { |
aoqi@0 | 14 | "type": "ForStatement", |
aoqi@0 | 15 | "init": null, |
aoqi@0 | 16 | "test": null, |
aoqi@0 | 17 | "update": null, |
aoqi@0 | 18 | "body": { |
aoqi@0 | 19 | "type": "BlockStatement", |
aoqi@0 | 20 | "body": [ |
aoqi@0 | 21 | { |
aoqi@0 | 22 | "type": "BreakStatement", |
aoqi@0 | 23 | "label": { |
aoqi@0 | 24 | "type": "Identifier", |
aoqi@0 | 25 | "name": "begin" |
aoqi@0 | 26 | } |
aoqi@0 | 27 | } |
aoqi@0 | 28 | ] |
aoqi@0 | 29 | } |
aoqi@0 | 30 | } |
aoqi@0 | 31 | ] |
aoqi@0 | 32 | } |
aoqi@0 | 33 | } |
aoqi@0 | 34 | ] |
aoqi@0 | 35 | } |
aoqi@0 | 36 | { |
aoqi@0 | 37 | "type": "Program", |
aoqi@0 | 38 | "body": [ |
aoqi@0 | 39 | { |
aoqi@0 | 40 | "type": "LabeledStatement", |
aoqi@0 | 41 | "label": { |
aoqi@0 | 42 | "type": "Identifier", |
aoqi@0 | 43 | "name": "begin" |
aoqi@0 | 44 | }, |
aoqi@0 | 45 | "body": { |
aoqi@0 | 46 | "type": "BlockStatement", |
aoqi@0 | 47 | "body": [ |
aoqi@0 | 48 | { |
aoqi@0 | 49 | "type": "WhileStatement", |
aoqi@0 | 50 | "test": { |
aoqi@0 | 51 | "type": "Literal", |
aoqi@0 | 52 | "value": true |
aoqi@0 | 53 | }, |
aoqi@0 | 54 | "body": { |
aoqi@0 | 55 | "type": "BlockStatement", |
aoqi@0 | 56 | "body": [ |
aoqi@0 | 57 | { |
aoqi@0 | 58 | "type": "BreakStatement", |
aoqi@0 | 59 | "label": { |
aoqi@0 | 60 | "type": "Identifier", |
aoqi@0 | 61 | "name": "begin" |
aoqi@0 | 62 | } |
aoqi@0 | 63 | } |
aoqi@0 | 64 | ] |
aoqi@0 | 65 | } |
aoqi@0 | 66 | } |
aoqi@0 | 67 | ] |
aoqi@0 | 68 | } |
aoqi@0 | 69 | } |
aoqi@0 | 70 | ] |
aoqi@0 | 71 | } |