ASTNode (ASTNode after) { ASTNode node = after; do { node = node.getTreeNext(); } while (node != null && !PythonDialectsTokenSetProvider.getInstance().getExpressionTokens().contains(node.getElementType())); return node; }