Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
16390:ae8f4016792a | 16391:50d79ad439f1 |
---|---|
73 if (src != null) { | 73 if (src != null) { |
74 if (!(src instanceof NullSourceSection)) { | 74 if (!(src instanceof NullSourceSection)) { |
75 p.print(src.getSource().getName() + ":" + src.getStartLine()); | 75 p.print(src.getSource().getName() + ":" + src.getStartLine()); |
76 } | 76 } |
77 } | 77 } |
78 if (node instanceof PhylumTagged) { | 78 if (node instanceof SyntaxTagged) { |
79 final PhylumTagged taggedNode = (PhylumTagged) node; | 79 final SyntaxTagged taggedNode = (SyntaxTagged) node; |
80 p.print("["); | 80 p.print("["); |
81 String prefix = ""; | 81 String prefix = ""; |
82 for (PhylumTag tag : taggedNode.getPhylumTags()) { | 82 for (SyntaxTag tag : taggedNode.getSyntaxTags()) { |
83 p.print(prefix); | 83 p.print(prefix); |
84 prefix = ","; | 84 prefix = ","; |
85 p.print(tag.toString()); | 85 p.print(tag.toString()); |
86 } | 86 } |
87 p.print("]"); | 87 p.print("]"); |