Factory method to create a placeholder token with a specific meaning but unknown text. Used internally during parsing to hold semantic information. @param meaning the token's meaning type from Types @return a placeholder Token with empty text and unknown type
(final int meaning)
| 360 | * @return a placeholder Token with empty text and unknown type |
| 361 | */ |
| 362 | public static Token newPlaceholder(final int meaning) { |
| 363 | Token token = new Token(Types.UNKNOWN, "", -1, -1); |
| 364 | token.setMeaning(meaning); |
| 365 | return token; |
| 366 | } |
| 367 | } |
no test coverage detected