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": "WhileStatement", |
aoqi@0 | 6 | "test": { |
aoqi@0 | 7 | "type": "Literal", |
aoqi@0 | 8 | "value": true |
aoqi@0 | 9 | }, |
aoqi@0 | 10 | "body": { |
aoqi@0 | 11 | "type": "BlockStatement", |
aoqi@0 | 12 | "body": [ |
aoqi@0 | 13 | { |
aoqi@0 | 14 | "type": "ContinueStatement", |
aoqi@0 | 15 | "label": null |
aoqi@0 | 16 | } |
aoqi@0 | 17 | ] |
aoqi@0 | 18 | } |
aoqi@0 | 19 | } |
aoqi@0 | 20 | ] |
aoqi@0 | 21 | } |
aoqi@0 | 22 | { |
aoqi@0 | 23 | "type": "Program", |
aoqi@0 | 24 | "body": [ |
aoqi@0 | 25 | { |
aoqi@0 | 26 | "type": "LabeledStatement", |
aoqi@0 | 27 | "label": { |
aoqi@0 | 28 | "type": "Identifier", |
aoqi@0 | 29 | "name": "begin" |
aoqi@0 | 30 | }, |
aoqi@0 | 31 | "body": { |
aoqi@0 | 32 | "type": "BlockStatement", |
aoqi@0 | 33 | "body": [ |
aoqi@0 | 34 | { |
aoqi@0 | 35 | "type": "WhileStatement", |
aoqi@0 | 36 | "test": { |
aoqi@0 | 37 | "type": "Literal", |
aoqi@0 | 38 | "value": true |
aoqi@0 | 39 | }, |
aoqi@0 | 40 | "body": { |
aoqi@0 | 41 | "type": "BlockStatement", |
aoqi@0 | 42 | "body": [ |
aoqi@0 | 43 | { |
aoqi@0 | 44 | "type": "ContinueStatement", |
aoqi@0 | 45 | "label": { |
aoqi@0 | 46 | "type": "Identifier", |
aoqi@0 | 47 | "name": "begin" |
aoqi@0 | 48 | } |
aoqi@0 | 49 | } |
aoqi@0 | 50 | ] |
aoqi@0 | 51 | } |
aoqi@0 | 52 | } |
aoqi@0 | 53 | ] |
aoqi@0 | 54 | } |
aoqi@0 | 55 | } |
aoqi@0 | 56 | ] |
aoqi@0 | 57 | } |
aoqi@0 | 58 | { |
aoqi@0 | 59 | "type": "Program", |
aoqi@0 | 60 | "body": [ |
aoqi@0 | 61 | { |
aoqi@0 | 62 | "type": "LabeledStatement", |
aoqi@0 | 63 | "label": { |
aoqi@0 | 64 | "type": "Identifier", |
aoqi@0 | 65 | "name": "start" |
aoqi@0 | 66 | }, |
aoqi@0 | 67 | "body": { |
aoqi@0 | 68 | "type": "BlockStatement", |
aoqi@0 | 69 | "body": [ |
aoqi@0 | 70 | { |
aoqi@0 | 71 | "type": "ForStatement", |
aoqi@0 | 72 | "init": null, |
aoqi@0 | 73 | "test": null, |
aoqi@0 | 74 | "update": null, |
aoqi@0 | 75 | "body": { |
aoqi@0 | 76 | "type": "BlockStatement", |
aoqi@0 | 77 | "body": [ |
aoqi@0 | 78 | { |
aoqi@0 | 79 | "type": "ContinueStatement", |
aoqi@0 | 80 | "label": { |
aoqi@0 | 81 | "type": "Identifier", |
aoqi@0 | 82 | "name": "start" |
aoqi@0 | 83 | } |
aoqi@0 | 84 | } |
aoqi@0 | 85 | ] |
aoqi@0 | 86 | } |
aoqi@0 | 87 | } |
aoqi@0 | 88 | ] |
aoqi@0 | 89 | } |
aoqi@0 | 90 | } |
aoqi@0 | 91 | ] |
aoqi@0 | 92 | } |