Returns the actual syntactic type of this node as determined by the parser. For nodes without a root, returns Types#UNKNOWN. @return the node's type from Types
()
| 70 | * @return the node's type from {@link Types} |
| 71 | */ |
| 72 | public int getType() { |
| 73 | return getRoot(true).getType(); |
| 74 | } |
| 75 | |
| 76 | /** |
| 77 | * Returns {@code true} if this node can be coerced to the specified type. |