Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/ASTPrinter.java @ 21407:36285949c1d5
Truffle/Instrumentation: some commentary and a new AST printing method needed for tools.
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Sun, 17 May 2015 20:35:31 -0700 |
parents | 1051d6e4b61b |
children |
comparison
equal
deleted
inserted
replaced
21406:b4aca5ec3f10 | 21407:36285949c1d5 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this | 7 * published by the Free Software Foundation. Oracle designates this |
61 * @param node the root node of the display. | 61 * @param node the root node of the display. |
62 * @param maxDepth the maximum number of levels to print below the root | 62 * @param maxDepth the maximum number of levels to print below the root |
63 */ | 63 */ |
64 String printTreeToString(Node node, int maxDepth); | 64 String printTreeToString(Node node, int maxDepth); |
65 | 65 |
66 /** | |
67 * Creates a textual display describing a single (non-wrapper) node, including instrumentation | |
68 * status: if Probed, and any tags. | |
69 */ | |
70 String printNodeWithInstrumentation(Node node); | |
66 } | 71 } |