Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/impl/DefaultASTPrinter.java @ 16391:50d79ad439f1
Truffle/Instrumentation: rename PhylumTag to SyntaxTag (along with related classes/methods)
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Wed, 02 Jul 2014 16:06:42 -0700 |
parents | 915ebb306fcc |
children | 36bc37806c61 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/impl/DefaultASTPrinter.java Wed Jul 02 23:40:19 2014 +0200 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/impl/DefaultASTPrinter.java Wed Jul 02 16:06:42 2014 -0700 @@ -75,11 +75,11 @@ p.print(src.getSource().getName() + ":" + src.getStartLine()); } } - if (node instanceof PhylumTagged) { - final PhylumTagged taggedNode = (PhylumTagged) node; + if (node instanceof SyntaxTagged) { + final SyntaxTagged taggedNode = (SyntaxTagged) node; p.print("["); String prefix = ""; - for (PhylumTag tag : taggedNode.getPhylumTags()) { + for (SyntaxTag tag : taggedNode.getSyntaxTags()) { p.print(prefix); prefix = ","; p.print(tag.toString());