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

Method getRoot

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

Returns the root token of this node. By convention, all nodes have a Token as their root element (at index 0), which indicates the syntactic type of the node. @return the root token, or null if the node is empty

()

Source from the content-addressed store, hash-verified

289 * @return the root token, or {@code null} if the node is empty
290 */
291 public abstract Token getRoot();
292
293 /**
294 * Returns the root token of this node, returning {@link Token#NULL} if

Callers 7

getMeaningMethod · 0.95
setMeaningMethod · 0.95
getTypeMethod · 0.95
getRootTextMethod · 0.95
getStartLineMethod · 0.95
getStartColumnMethod · 0.95
writeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected