mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 05:20:30 +07:00
- Optimize inspection - Add non-ParserDefinition test cases GitOrigin-RevId: 70c2d08ca092e0df38a1cc0ccc5556d25839bb28
11 lines
308 B
Java
11 lines
308 B
Java
import com.intellij.psi.tree.TokenSet;
|
|
import com.example.MyLangTokenTypes;
|
|
|
|
public class NotAParserDefinitionWithIllegalTokenSet { // NOT ParserDefinition
|
|
public static final TokenSet COMMENTS = TokenSet.create(MyLangTokenTypes.COMMENT);
|
|
|
|
public TokenSet getCommentTokens() {
|
|
return COMMENTS;
|
|
}
|
|
}
|