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

Method lookupSymbol

src/main/java/org/codehaus/groovy/syntax/Types.java:1332–1334  ·  view source on GitHub ↗

Returns the token type for the specified symbol text. Only matches symbols (operators, delimiters), not keywords. @param text the symbol text (e.g., "+", "-", "{", ".") @return the symbol type constant, or #UNKNOWN if not a recognized symbol

(String text)

Source from the content-addressed store, hash-verified

1330 * @return the symbol type constant, or {@link #UNKNOWN} if not a recognized symbol
1331 */
1332 public static int lookupSymbol(String text) {
1333 return lookup(text, SYMBOL);
1334 }
1335
1336
1337 /**

Callers 1

newSymbolMethod · 0.95

Calls 1

lookupMethod · 0.95

Tested by

no test coverage detected