本文整理匯總了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;
}