Java 类com.intellij.lang.WhitespacesAndCommentsBinder 实例源码

项目:consulo-java    文件:JavaParserUtil.java   
public static void done(final PsiBuilder.Marker marker, final IElementType type)
{
    marker.done(type);
    final WhitespacesAndCommentsBinder left = PRECEDING_COMMENT_SET.contains(type) ? PRECEDING_COMMENT_BINDER : null;
    final WhitespacesAndCommentsBinder right = TRAILING_COMMENT_SET.contains(type) ? TRAILING_COMMENT_BINDER : null;
    marker.setCustomEdgeTokenBinders(left, right);
}
项目:intellij-ce-playground    文件:DelegateMarker.java   
@Override
public void setCustomEdgeTokenBinders(@Nullable WhitespacesAndCommentsBinder left, @Nullable WhitespacesAndCommentsBinder right) {
  myDelegate.setCustomEdgeTokenBinders(left, right);
}