MCPcopy Index your code
hub / github.com/apache/groovy / getType

Method getType

src/main/java/org/codehaus/groovy/syntax/CSTNode.java:72–74  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 2

getRootMethod · 0.95
getTypeMethod · 0.65

Tested by

no test coverage detected