當前位置: 首頁>>代碼示例>>Java>>正文


Java TokenSet.EMPTY屬性代碼示例

本文整理匯總了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
    );
}
 
開發者ID:CouleeApps,項目名稱:TS-IJ,代碼行數:10,代碼來源:TSFindUsagesProvider.java

示例2: getWordsScanner

@Nullable
@Override
public WordsScanner getWordsScanner() {
  return new DefaultWordsScanner(
      new SoyLexer(),
      TokenSet.create(SoyTypes.IDENTIFIER_WORD),
      TokenSet.create(SoyTypes.COMMENT_BLOCK),
      TokenSet.EMPTY);
}
 
開發者ID:google,項目名稱:bamboo-soy,代碼行數:9,代碼來源:SoyFindUsagesProvider.java

示例3: getWordsScanner

@Nullable
@Override
public WordsScanner getWordsScanner() {
    return new DefaultWordsScanner(new CrystalLexerAdapter(),
            TokenSet.create(CrystalTypes.KEY),
            TokenSet.create(CrystalTypes.COMMENT),
            TokenSet.EMPTY);
}
 
開發者ID:benoist,項目名稱:intellij-crystal,代碼行數:8,代碼來源:CrystalFindUsagesProvider.java

示例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);
}
 
開發者ID:vermut,項目名稱:intellij-snakeyaml,代碼行數:8,代碼來源:YamlParserDefinition.java

示例5: getStringLiteralElements

@NotNull
public TokenSet getStringLiteralElements() {
  return TokenSet.EMPTY;
}
 
開發者ID:ant-druha,項目名稱:AppleScript-IDEA,代碼行數:4,代碼來源:AppleScriptParserDefinition.java

示例6: getStringLiteralElements

@NotNull
public TokenSet getStringLiteralElements() {
    return TokenSet.EMPTY;
}
 
開發者ID:datathings,項目名稱:greycat-idea-plugin,代碼行數:4,代碼來源:GCMParserDefinition.java

示例7: getStringLiteralElements

@NotNull
@Override
public TokenSet getStringLiteralElements() {
	return TokenSet.EMPTY;
}
 
開發者ID:syuchan1005,項目名稱:EmojiPrefix,代碼行數:5,代碼來源:EmojiResourceParserDefinition.java

示例8: getStringLiteralElements

@NotNull
@Override
public TokenSet getStringLiteralElements() {
    return TokenSet.EMPTY;
}
 
開發者ID:dmpas,項目名稱:idea-onescript,代碼行數:5,代碼來源:OneScriptParserDefinition.java

示例9: getCommentTokens

@Override
@NotNull
public TokenSet getCommentTokens() {
    return TokenSet.EMPTY;
}
 
開發者ID:SeeSharpSoft,項目名稱:intellij-csv-validator,代碼行數:5,代碼來源:CsvParserDefinition.java

示例10: getStringLiteralElements

@Override
@NotNull
public TokenSet getStringLiteralElements() {
    return TokenSet.EMPTY;
}
 
開發者ID:SeeSharpSoft,項目名稱:intellij-csv-validator,代碼行數:5,代碼來源:CsvParserDefinition.java

示例11: getNameDefinerTokens

@NotNull
@Override
public TokenSet getNameDefinerTokens() {
  return TokenSet.EMPTY;
}
 
開發者ID:jskierbi,項目名稱:intellij-ce-playground,代碼行數:5,代碼來源:PythonDialectsTokenSetContributorBase.java

示例12: getWordsScanner

@Nullable
@Override
public WordsScanner getWordsScanner() {
    return new DefaultWordsScanner(new SmcLexerAdapter(),
            TokenSet.create(SmcTypes.TRANSITION), TokenSet.create(SmcTypes.LINE_COMMENT), TokenSet.EMPTY);
}
 
開發者ID:menshele,項目名稱:smcplugin,代碼行數:6,代碼來源:SmcFindUsagesProvider.java

示例13: getStringLiteralElements

@NotNull
@Override
public TokenSet getStringLiteralElements() {
  return TokenSet.EMPTY;
}
 
開發者ID:jskierbi,項目名稱:intellij-ce-playground,代碼行數:5,代碼來源:RestParserDefinition.java

示例14: getCommentTokens

@NotNull
@Override
public TokenSet getCommentTokens() {
  return TokenSet.EMPTY;
}
 
開發者ID:jskierbi,項目名稱:intellij-ce-playground,代碼行數:5,代碼來源:RestParserDefinition.java

示例15: getStringLiteralElements

@Override
@NotNull
public TokenSet getStringLiteralElements() {
  return TokenSet.EMPTY;
}
 
開發者ID:jskierbi,項目名稱:intellij-ce-playground,代碼行數:5,代碼來源:HTMLParserDefinition.java


注:本文中的com.intellij.psi.tree.TokenSet.EMPTY屬性示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。