mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-02 17:28:45 +02:00
ef4c5eb65e
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
14 lines
328 B
Java
14 lines
328 B
Java
package com.twitter.search.common.query;
|
|
|
|
import com.twitter.search.queryparser.query.annotation.Annotation;
|
|
|
|
|
|
/**
|
|
* A visitor that collects the nodes that have :v annotation
|
|
*/
|
|
public class CollectVariantVisitor extends CollectAnnotationsVisitor {
|
|
public CollectVariantVisitor() {
|
|
super(Annotation.Type.VARIANT);
|
|
}
|
|
}
|