本文整理汇总了Java中com.intellij.psi.tree.TokenSet.EMPTY属性的典型用法代码示例。如果您正苦于以下问题:Java TokenSet.EMPTY属性的具体用法?Java TokenSet.EMPTY怎么用?Java TokenSet.EMPTY使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类com.intellij.psi.tree.TokenSet
的用法示例。
在下文中一共展示了TokenSet.EMPTY属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getWordsScanner
@Nullable
@Override
public WordsScanner getWordsScanner() {
return new DefaultWordsScanner(
new TSLexerAdapter(),
TokenSet.create(TSTypes.ID),
TokenSet.create(TSTypes.COMMENT),
TokenSet.EMPTY
);
}
示例2: getWordsScanner
@Nullable
@Override
public WordsScanner getWordsScanner() {
return new DefaultWordsScanner(
new SoyLexer(),
TokenSet.create(SoyTypes.IDENTIFIER_WORD),
TokenSet.create(SoyTypes.COMMENT_BLOCK),
TokenSet.EMPTY);
}
示例3: getWordsScanner
@Nullable
@Override
public WordsScanner getWordsScanner() {
return new DefaultWordsScanner(new CrystalLexerAdapter(),
TokenSet.create(CrystalTypes.KEY),
TokenSet.create(CrystalTypes.COMMENT),
TokenSet.EMPTY);
}
示例4: getCommentTokens
@NotNull
@Override
public TokenSet getCommentTokens() {
return TokenSet.EMPTY;
// No idea why, but this ruins fragile balance in SnakeYAML. Will have to sacrifice TODOs
// return TokenSet.create(YamlTokenTypes.YAML_Comment);
}
示例5: getStringLiteralElements
@NotNull
public TokenSet getStringLiteralElements() {
return TokenSet.EMPTY;
}
示例6: getStringLiteralElements
@NotNull
public TokenSet getStringLiteralElements() {
return TokenSet.EMPTY;
}
示例7: getStringLiteralElements
@NotNull
@Override
public TokenSet getStringLiteralElements() {
return TokenSet.EMPTY;
}
示例8: getStringLiteralElements
@NotNull
@Override
public TokenSet getStringLiteralElements() {
return TokenSet.EMPTY;
}
示例9: getCommentTokens
@Override
@NotNull
public TokenSet getCommentTokens() {
return TokenSet.EMPTY;
}
示例10: getStringLiteralElements
@Override
@NotNull
public TokenSet getStringLiteralElements() {
return TokenSet.EMPTY;
}
示例11: getNameDefinerTokens
@NotNull
@Override
public TokenSet getNameDefinerTokens() {
return TokenSet.EMPTY;
}
示例12: getWordsScanner
@Nullable
@Override
public WordsScanner getWordsScanner() {
return new DefaultWordsScanner(new SmcLexerAdapter(),
TokenSet.create(SmcTypes.TRANSITION), TokenSet.create(SmcTypes.LINE_COMMENT), TokenSet.EMPTY);
}
示例13: getStringLiteralElements
@NotNull
@Override
public TokenSet getStringLiteralElements() {
return TokenSet.EMPTY;
}
示例14: getCommentTokens
@NotNull
@Override
public TokenSet getCommentTokens() {
return TokenSet.EMPTY;
}
示例15: getStringLiteralElements
@Override
@NotNull
public TokenSet getStringLiteralElements() {
return TokenSet.EMPTY;
}