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

Method getRootText

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

Returns the text content of the root token. Uses getRoot(true) to ensure a non-null root. @return the text of the root token

()

Source from the content-addressed store, hash-verified

314 * @return the text of the root token
315 */
316 public String getRootText() {
317 Token root = getRoot(true);
318 return root.getText();
319 }
320
321 /**
322 * Returns a human-readable description of this node's semantic meaning.

Callers

nothing calls this directly

Calls 2

getRootMethod · 0.95
getTextMethod · 0.95

Tested by

no test coverage detected