com.intellij.psi.impl.cache.impl.OccurrenceConsumer Java Examples

The following examples show how to use com.intellij.psi.impl.cache.impl.OccurrenceConsumer. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JSGraphQLEndpointTodoIndexer.java    From js-graphql-intellij-plugin with MIT License 4 votes vote down vote up
@Override
public Lexer createLexer(OccurrenceConsumer consumer) {
    return new JSGraphQLEndpointTodoLexer(consumer);
}
 
Example #2
Source File: JSGraphQLEndpointTodoIndexer.java    From js-graphql-intellij-plugin with MIT License 4 votes vote down vote up
JSGraphQLEndpointTodoLexer(OccurrenceConsumer occurrenceConsumer) {
    super(new FlexAdapter(new JSGraphQLEndpointLexer()), occurrenceConsumer);
}
 
Example #3
Source File: BashFilterLexer.java    From BashSupport with Apache License 2.0 4 votes vote down vote up
BashFilterLexer(Lexer lexer, OccurrenceConsumer consumer) {
    super(lexer, consumer);
}
 
Example #4
Source File: BashTodoIndexer.java    From BashSupport with Apache License 2.0 4 votes vote down vote up
@Override
public Lexer createLexer(OccurrenceConsumer consumer) {
    return BashIdIndexer.createIndexingLexer(consumer);
}
 
Example #5
Source File: BashIdIndexer.java    From BashSupport with Apache License 2.0 4 votes vote down vote up
public static BashFilterLexer createIndexingLexer(OccurrenceConsumer occurendeConsumer) {
    return new BashFilterLexer(new BashLexer(), occurendeConsumer);
}
 
Example #6
Source File: BashIdIndexer.java    From BashSupport with Apache License 2.0 4 votes vote down vote up
@Override
public Lexer createLexer(OccurrenceConsumer consumer) {
    return createIndexingLexer(consumer);
}
 
Example #7
Source File: CSharpIdFilterLexer.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public CSharpIdFilterLexer(Lexer originalLexer, OccurrenceConsumer occurrenceConsumer)
{
	super(originalLexer, occurrenceConsumer);
}
 
Example #8
Source File: CSharpIdIndexer.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
@Override
public Lexer createLexer(final OccurrenceConsumer consumer)
{
	return createIndexingLexer(consumer);
}
 
Example #9
Source File: CSharpIdIndexer.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public static Lexer createIndexingLexer(OccurrenceConsumer consumer)
{
	return new CSharpIdFilterLexer(new CSharpLexer(), consumer);
}
 
Example #10
Source File: CSharpTodoIndexer.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
@Override
public Lexer createLexer(OccurrenceConsumer consumer)
{
	return CSharpIdIndexer.createIndexingLexer(consumer);
}