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)
| 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 | /** |