Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
37,800 | boolean (Instruction instruction, @Nullable GrExpression returnValue) { if (!checkLiteralInstantiation(returnValue, literalProcessor)) { return false; } return true; } | visitExitPoint |
37,801 | boolean (GrExpression expression, final LiteralConstructorSearcher literalProcessor) { if (expression instanceof GrListOrMap) { return literalProcessor.processLiteral((GrListOrMap)expression); } return true; } | checkLiteralInstantiation |
37,802 | boolean (final PsiMethod searchedConstructor, final Processor<? super PsiReference> consumer, final PsiClass clazz, final boolean processThisRefs) { final PsiMethod[] constructors = clazz.getConstructors(); if (constructors.length == 0) { processImplicitConstructorCall(clazz, consumer, searchedConstructor); } for (PsiM... | processConstructors |
37,803 | void (@NotNull final PsiMember usage, final Processor<? super PsiReference> processor, final PsiMethod constructor) { if (constructor instanceof GrMethod) { GrParameter[] grParameters = (GrParameter[])constructor.getParameterList().getParameters(); if (grParameters.length > 0 && !grParameters[0].isOptional()) return; }... | processImplicitConstructorCall |
37,804 | PsiElement () { return usage; } | getElement |
37,805 | TextRange () { if (usage instanceof PsiClass) { PsiIdentifier identifier = ((PsiClass)usage).getNameIdentifier(); if (identifier != null) return TextRange.from(identifier.getStartOffsetInParent(), identifier.getTextLength()); } else if (usage instanceof PsiMethod) { PsiIdentifier identifier = ((PsiMethod)usage).getName... | getRangeInElement |
37,806 | boolean (@NotNull PsiElement element) { if (element instanceof GrMethod method) { if (PsiUtil.OPERATOR_METHOD_NAMES.contains(method.getName())) return true; if (MissingMethodAndPropertyUtil.isPropertyMissing(method)) return true; if (MissingMethodAndPropertyUtil.isMethodMissing(method)) return true; if (isDelegateAnnot... | isImplicitUsage |
37,807 | boolean (@NotNull PsiElement element) { if (element instanceof GrField && isDelegateAnnotated((GrField)element)) return true; return false; } | isImplicitRead |
37,808 | boolean (@NotNull PsiElement element) { return false; } | isImplicitWrite |
37,809 | boolean (@NotNull PsiModifierListOwner owner) { return PsiImplUtil.getAnnotation(owner, GroovyCommonClassNames.GROOVY_LANG_DELEGATE) != null; } | isDelegateAnnotated |
37,810 | void (@NotNull ReferencesSearch.SearchParameters queryParameters, @NotNull Processor<? super PsiReference> consumer) { final PsiElement element = queryParameters.getElementToSearch(); if (element instanceof PsiMethod) { final String propertyName = GroovyPropertyUtils.getPropertyName((PsiMethod)element); if (propertyNam... | processQuery |
37,811 | void (@NotNull ReferencesSearch.SearchParameters queryParameters, @NotNull Processor<? super PsiReference> consumer) { final PsiElement element = queryParameters.getElementToSearch(); if (element instanceof PsiMethod method) { if (method.isConstructor()) { GroovyConstructorUsagesSearcher.processConstructorUsages(method... | processQuery |
37,812 | void (@NotNull MethodReferencesSearch.SearchParameters p, @NotNull Processor<? super PsiReference> consumer) { final PsiMethod method = p.getMethod(); final PsiClass aClass = method.getContainingClass(); if (aClass == null) return; final String name = method.getName(); if (StringUtil.isEmpty(name)) return; final boolea... | processQuery |
37,813 | String (@NotNull String sequence) { final List<String> words = StringUtil.getWordsIn(sequence); if (words.isEmpty()) return sequence; String longest = words.get(0); for (String word : words) { if (word.length() > longest.length()) longest = word; } return longest; } | findLongestWord |
37,814 | boolean (GrListOrMap literal) { GroovyConstructorReference reference = literal.getConstructorReference(); if (reference != null) { if (isCorrectReference(reference) && !myConsumer.process(reference)) { return false; } } return true; } | processLiteral |
37,815 | boolean (GroovyConstructorReference reference) { if (reference.isReferenceTo(myConstructor)) { return true; } if (!myIncludeOverloads) { return false; } GroovyResolveResult classResult = reference.resolveClass(); if (classResult == null) { return false; } return myConstructor.getManager().areElementsEquivalent(myConstr... | isCorrectReference |
37,816 | void (@NotNull CharSequence fileText, @NotNull Processor<? super WordOccurrence> processor) { if (myLexer == null) { myLexer = new GroovyLexer(); } myLexer.start(fileText); WordOccurrence occurrence = null; // shared occurrence while (myLexer.getTokenType() != null) { final IElementType type = myLexer.getTokenType(); i... | processWords |
37,817 | int () { return 2; } | getVersion |
37,818 | boolean (final Processor<? super WordOccurrence> processor, final CharSequence tokenText, int from, int to, final WordOccurrence.Kind kind, WordOccurrence occurrence) { // This code seems strange but it is more effective as Character.isJavaIdentifier_xxx_ is quite costly operation due to unicode int index = from; ScanW... | stripWords |
37,819 | boolean (@NotNull SuperMethodsSearch.SearchParameters queryParameters, @NotNull Processor<? super MethodSignatureBackedByPsiMethod> consumer) { final PsiMethod method = queryParameters.getMethod(); if (!(method instanceof GrMethod)) { return true; } if (method.hasModifierProperty(PsiModifier.STATIC)) return true; final... | execute |
37,820 | boolean (PsiMethod method, PsiManager psiManager, PsiMethod m) { return psiManager.areElementsEquivalent(m, method) || psiManager.areElementsEquivalent(m.getNavigationElement(), method); } | isTheSameMethod |
37,821 | PsiMethod (PsiMethod method) { final PsiElement element = method.getNavigationElement(); if (element instanceof PsiMethod && !((PsiMethod)element).getParameterList().isEmpty()) { return (PsiMethod)element; } else { return method; } } | getRealMethod |
37,822 | PsiType (PsiMethod method) { final PsiElement navigationElement = method.getNavigationElement(); if (navigationElement instanceof PsiMethod) { final PsiParameter[] parameters = ((PsiMethod)navigationElement).getParameterList().getParameters(); if (parameters.length != 0) { return TypeConversionUtil.erasure(parameters[0... | getRealType |
37,823 | void (@NotNull ReferencesSearch.SearchParameters p, @NotNull Processor<? super PsiReference> consumer) { final PsiElement target = p.getElementToSearch(); if (target instanceof GrField && !(target instanceof GrTraitField)) { PsiClass aClass = ((GrField)target).getContainingClass(); if (GrTraitUtil.isTrait(aClass)) { St... | processQuery |
37,824 | boolean (@NotNull PsiElement element, int offsetInElement, @NotNull Processor<? super PsiReference> consumer) { PsiElement parent = element.getParent(); if (parent instanceof GrReferenceExpression && element == ((GrReferenceExpression)parent).getReferenceNameElement()) { PsiElement resolved = ((GrReferenceExpression)pa... | processTextOccurrence |
37,825 | void (@NotNull ReferencesSearch.SearchParameters parameters, @NotNull Processor<? super PsiReference> consumer) { final PsiElement target = parameters.getElementToSearch(); if (!(target instanceof PsiMember) || !(target instanceof PsiNamedElement)) return; final String name = ((PsiNamedElement)target).getName(); if (na... | processQuery |
37,826 | boolean (@NotNull final PsiElement element, int offsetInElement, @NotNull Processor<? super PsiReference> consumer) { String alias = getAlias(element); if (alias == null) return true; final PsiReference reference = element.getReference(); if (reference == null) { return true; } if (!reference.isReferenceTo(myTarget ins... | processTextOccurrence |
37,827 | String (final PsiElement element) { if (!(element.getParent() instanceof GrImportStatement importStatement)) return null; if (!importStatement.isAliasedImport()) return null; return importStatement.getImportedName(); } | getAlias |
37,828 | void (@NotNull MethodReferencesSearch.SearchParameters queryParameters, @NotNull Processor<? super PsiReference> consumer) { final PsiMethod method = queryParameters.getMethod(); if (method instanceof GrMethod) { for (GrReflectedMethod reflectedMethod : ((GrMethod)method).getReflectedMethods()) { MethodReferencesSearch... | processQuery |
37,829 | SearchScope (SearchScope originalScope) { FileType[] groovyEnabledFileTypes = GroovyFileType.getGroovyEnabledFileTypes(); return PsiSearchScopeUtil.restrictScopeTo(originalScope, groovyEnabledFileTypes); } | restrictScopeToGroovyFiles |
37,830 | SearchScope (SearchScope originalScope, SearchScope effectiveScope) { SearchScope restricted = restrictScopeToGroovyFiles(originalScope); return restricted.intersectWith(effectiveScope); } | restrictScopeToGroovyFiles |
37,831 | SearchScope (PsiMethod... methods) { SearchScope accessScope = getExtendedUseScope(methods[0]); for (int i = 1; i < methods.length; i++) { PsiMethod method1 = methods[i]; accessScope = accessScope.union(getExtendedUseScope(method1)); } return accessScope; } | getEffectiveScope |
37,832 | SearchScope (PsiMethod method) { return PsiSearchHelper.getInstance(method.getProject()).getUseScope(method); } | getExtendedUseScope |
37,833 | boolean (@NotNull PsiElement element) { return element instanceof GrVariable; } | isReadWriteAccessible |
37,834 | boolean (@NotNull PsiElement element) { if (element instanceof GrVariable && ((GrVariable)element).getInitializerGroovy() != null) { return true; } return false; } | isDeclarationWriteAccess |
37,835 | Access (@NotNull PsiElement referencedElement, @NotNull PsiReference reference) { return getExpressionAccess(reference.getElement()); } | getReferenceAccess |
37,836 | Access (@NotNull PsiElement expression) { if (expression instanceof GrExpression) { GrExpression expr = (GrExpression)expression; boolean readAccess = PsiUtil.isAccessedForReading(expr); boolean writeAccess = PsiUtil.isAccessedForWriting(expr); if (!writeAccess && expr instanceof GrReferenceExpression) { //when searchi... | getExpressionAccess |
37,837 | boolean (PsiMethod method) { PsiParameter[] parameters = method.getParameterList().getParameters(); return method.getName().equals("methodMissing") && (parameters.length == 2 || parameters.length == 1); } | isMethodMissing |
37,838 | boolean (PsiMethod method) { PsiParameter[] parameters = method.getParameterList().getParameters(); return method.getName().equals("propertyMissing") && (parameters.length == 2 || parameters.length == 1); } | isPropertyMissing |
37,839 | void (@NotNull MethodReferencesSearch.SearchParameters queryParameters, @NotNull Processor<? super PsiReference> consumer) { final PsiMethod method = queryParameters.getMethod(); SearchScope searchScope = GroovyScopeUtil.restrictScopeToGroovyFiles(queryParameters.getEffectiveSearchScope()).intersectWith( getUseScope(me... | processQuery |
37,840 | SearchScope (final PsiMethod method) { final SearchScope scope = method.getUseScope(); final PsiFile file = method.getContainingFile(); if (file != null && scope instanceof GlobalSearchScope) { final VirtualFile vfile = file.getOriginalFile().getVirtualFile(); final Project project = method.getProject(); if (vfile != n... | getUseScope |
37,841 | void (SearchScope searchScope, final String name, @NotNull PsiMethod searchTarget, @NotNull SearchRequestCollector collector, final int paramCount) { if (StringUtil.isEmpty(name)) return; collector.searchWord(name, searchScope, UsageSearchContext.IN_CODE, true, searchTarget, new RequestResultProcessor("groovy.lateBound... | orderSearching |
37,842 | boolean (@NotNull PsiElement element, int offsetInElement, @NotNull Processor<? super PsiReference> consumer) { if (!(element instanceof GrReferenceExpression ref)) { return true; } if (!name.equals(ref.getReferenceName()) || PsiUtil.isLValue(ref)) { return true; } PsiElement parent = ref.getParent(); if (parent instan... | processTextOccurrence |
37,843 | boolean (GrMethodCall call, int paramCount) { int argCount = call.getExpressionArguments().length + call.getClosureArguments().length; if (PsiImplUtil.hasNamedArguments(call.getArgumentList())) { argCount++; } return argCount == paramCount; } | argumentsMatch |
37,844 | ItemPresentation (@NotNull final GroovyFile file) { return new ItemPresentation() { @Override public String getPresentableText() { return GroovyBundle.message("groovy.file.0", file.getName()); } @Override public String getLocationString() { PsiDirectory directory = file.getContainingDirectory(); return ItemPresentation... | getPresentation |
37,845 | String () { return GroovyBundle.message("groovy.file.0", file.getName()); } | getPresentableText |
37,846 | String () { PsiDirectory directory = file.getContainingDirectory(); return ItemPresentationProviders.getItemPresentation(directory).getPresentableText(); } | getLocationString |
37,847 | Icon (boolean unused) { return file.getIcon(Iconable.ICON_FLAG_VISIBILITY | Iconable.ICON_FLAG_READ_STATUS); } | getIcon |
37,848 | List<PsiModifierListOwner> (final PsiClass clazz, final GlobalSearchScope scope) { final String name = ReadAction.compute(() -> clazz.getName()); if (name == null) return Collections.emptyList(); final Collection<PsiElement> members = ReadAction .compute(() -> StubIndex.getElements(GrAnnotatedMemberIndex.KEY, name, cla... | getAnnotatedMemberCandidates |
37,849 | boolean (@NotNull final AnnotatedElementsSearch.Parameters p, @NotNull final Processor<? super PsiModifierListOwner> consumer) { final PsiClass annClass = p.getAnnotationClass(); assert annClass.isAnnotationType() : "Annotation type should be passed to annotated members search"; final String annotationFQN = ReadAction.... | execute |
37,850 | void (@NotNull GrMethod method) { candidates.add(method); } | visitMethod |
37,851 | void (@NotNull GrField field) { candidates.add(field); } | visitField |
37,852 | boolean (@NotNull final DefinitionsScopedSearch.SearchParameters queryParameters, @NotNull final Processor<? super PsiElement> consumer) { return ReadAction.compute(() -> { final PsiElement source = queryParameters.getElement(); if (!source.isValid()) return true; if (source instanceof GrAccessorMethod) { GrField prope... | execute |
37,853 | Icon (@NotNull String path, int cacheKey, int flags) { return IconManager.getInstance().loadRasterizedIcon(path, JetgroovyIcons.class.getClassLoader(), cacheKey, flags); } | load |
37,854 | ASTNode (IElementType t, PsiBuilder b) { parseLight(t, b); return b.getTreeBuilt(); } | parse |
37,855 | void (IElementType t, PsiBuilder b) { boolean r; b = adapt_builder_(t, b, this, EXTENDS_SETS_); Marker m = enter_section_(b, 0, _COLLAPSE_, null); r = parse_root_(t, b); exit_section_(b, 0, m, t, r, true, TRUE_CONDITION); } | parseLight |
37,856 | boolean (IElementType t, PsiBuilder b) { return parse_root_(t, b, 0); } | parse_root_ |
37,857 | boolean (IElementType t, PsiBuilder b, int l) { boolean r; if (t == ANNOTATION) { r = annotation(b, l + 1); } else if (t == ANNOTATION_MEMBER_VALUE_PAIR) { r = annotation_member_value_pair(b, l + 1); } else if (t == BLOCK_LAMBDA_BODY) { r = block_lambda_body(b, l + 1); } else if (t == BLOCK_LAMBDA_BODY_SWITCH_AWARE) { ... | parse_root_ |
37,858 | boolean (PsiBuilder b, int l, Parser _a, Parser _b) { if (!recursion_guard_(b, l, "a_b_a")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = _a.parse(b, l); p = r; // pin = 1 r = r && a_b_a_1(b, l + 1, _b, _a); exit_section_(b, l, m, r, p, null); return r || p; } | a_b_a |
37,859 | boolean (PsiBuilder b, int l, Parser _b, Parser _a) { if (!recursion_guard_(b, l, "a_b_a_1")) return false; while (true) { int c = current_position_(b); if (!a_b_a_1_0(b, l + 1, _b, _a)) break; if (!empty_element_parsed_guard_(b, "a_b_a_1", c)) break; } return true; } | a_b_a_1 |
37,860 | boolean (PsiBuilder b, int l, Parser _b, Parser _a) { if (!recursion_guard_(b, l, "a_b_a_1_0")) return false; boolean r; Marker m = enter_section_(b); r = _b.parse(b, l); r = r && _a.parse(b, l); exit_section_(b, m, null, r); return r; } | a_b_a_1_0 |
37,861 | boolean (PsiBuilder b, int l, Parser _a, Parser _b) { if (!recursion_guard_(b, l, "a_b_a_p")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = _a.parse(b, l); p = r; // pin = 1 r = r && a_b_a_p_1(b, l + 1, _b, _a); exit_section_(b, l, m, r, p, null); return r || p; } | a_b_a_p |
37,862 | boolean (PsiBuilder b, int l, Parser _b, Parser _a) { if (!recursion_guard_(b, l, "a_b_a_p_1")) return false; while (true) { int c = current_position_(b); if (!a_b_a_p_1_0(b, l + 1, _b, _a)) break; if (!empty_element_parsed_guard_(b, "a_b_a_p_1", c)) break; } return true; } | a_b_a_p_1 |
37,863 | boolean (PsiBuilder b, int l, Parser _b, Parser _a) { if (!recursion_guard_(b, l, "a_b_a_p_1_0")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = _b.parse(b, l); p = r; // pin = 1 r = r && _a.parse(b, l); exit_section_(b, l, m, r, p, null); return r || p; } | a_b_a_p_1_0 |
37,864 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "after_annotation_reference")) return false; boolean r; Marker m = enter_section_(b); r = after_annotation_reference_0(b, l + 1); if (!r) r = empty_annotation_argument_list(b, l + 1); exit_section_(b, m, null, r); return r; } | after_annotation_reference |
37,865 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "after_annotation_reference_0")) return false; boolean r; Marker m = enter_section_(b); r = mb_nl(b, l + 1); r = r && annotation_argument_list(b, l + 1); exit_section_(b, m, null, r); return r; } | after_annotation_reference_0 |
37,866 | boolean (PsiBuilder b, int l) { return mb_nl_group(b, l + 1, GroovyGeneratedParser::after_dot_0_0); } | after_dot |
37,867 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "after_dot_0_0")) return false; boolean r; Marker m = enter_section_(b); r = after_dot_0_0_0(b, l + 1); r = r && qualified_reference_expression_identifiers(b, l + 1); exit_section_(b, m, null, r); return r; } | after_dot_0_0 |
37,868 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "after_dot_0_0_0")) return false; type_argument_list(b, l + 1); return true; } | after_dot_0_0_0 |
37,869 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "after_if_keyword")) return false; if (!nextTokenIs(b, T_LPAREN)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = if_header(b, l + 1); p = r; // pin = 1 r = r && report_error_(b, mb_nl(b, l + 1)); r = p && report_error_(b, branch(b, l ... | after_if_keyword |
37,870 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "after_if_keyword_3")) return false; after_if_keyword_3_0(b, l + 1); return true; } | after_if_keyword_3 |
37,871 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "after_if_keyword_3_0")) return false; boolean r; Marker m = enter_section_(b); r = mb_separators(b, l + 1); r = r && else_branch(b, l + 1); exit_section_(b, m, null, r); return r; } | after_if_keyword_3_0 |
37,872 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "after_label")) return false; if (!nextTokenIsFast(b, T_COLON)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = consumeTokenFast(b, T_COLON); p = r; // pin = 1 r = r && report_error_(b, mb_nl(b, l + 1)); r = p && statement(b, l + 1) &&... | after_label |
37,873 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "after_while")) return false; if (!nextTokenIs(b, T_LPAREN)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = while_header(b, l + 1); p = r; // pin = 1 r = r && report_error_(b, mb_nl(b, l + 1)); r = p && while_body(b, l + 1) && r; exit... | after_while |
37,874 | boolean (PsiBuilder b, int l, Parser _item) { if (!recursion_guard_(b, l, "annotated")) return false; boolean r; Marker m = enter_section_(b); r = annotated_0(b, l + 1, _item); if (!r) r = _item.parse(b, l); exit_section_(b, m, null, r); return r; } | annotated |
37,875 | boolean (PsiBuilder b, int l, Parser _item) { if (!recursion_guard_(b, l, "annotated_0")) return false; boolean r; Marker m = enter_section_(b); r = non_empty_annotation_list(b, l + 1); r = r && forceWrapLeft(b, l + 1, _item); exit_section_(b, m, null, r); return r; } | annotated_0 |
37,876 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation")) return false; if (!nextTokenIsFast(b, T_AT)) return false; boolean r; Marker m = enter_section_(b); r = consumeTokenFast(b, T_AT); r = r && annotation_reference(b, l + 1); r = r && after_annotation_reference(b, l + 1); exit_section_(b, m, ANNOTA... | annotation |
37,877 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_argument_list")) return false; if (!nextTokenIs(b, T_LPAREN)) return false; boolean r; Marker m = enter_section_(b); r = paren_list(b, l + 1, GroovyGeneratedParser::annotation_member_value_pair); exit_section_(b, m, ANNOTATION_ARGUMENT_LIST, r); re... | annotation_argument_list |
37,878 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_array_item")) return false; boolean r; Marker m = enter_section_(b); r = mb_nl(b, l + 1); r = r && separated_item(b, l + 1, GroovyGeneratedParser::annotation_array_item_end, GroovyGeneratedParser::annotation_value, GroovyGeneratedParser::annotation... | annotation_array_item |
37,879 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_array_item_end")) return false; boolean r; Marker m = enter_section_(b); r = mb_nl(b, l + 1); r = r && annotation_array_item_end_1(b, l + 1); exit_section_(b, m, null, r); return r; } | annotation_array_item_end |
37,880 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_array_item_end_1")) return false; boolean r; Marker m = enter_section_(b); r = consumeToken(b, T_COMMA); if (!r) r = annotation_array_item_end_1_1(b, l + 1); if (!r) r = eof(b, l + 1); exit_section_(b, m, null, r); return r; } | annotation_array_item_end_1 |
37,881 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_array_item_end_1_1")) return false; boolean r; Marker m = enter_section_(b, l, _AND_); r = consumeToken(b, T_RBRACK); exit_section_(b, l, m, r, false, null); return r; } | annotation_array_item_end_1_1 |
37,882 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_array_item_start")) return false; boolean r; r = consumeToken(b, T_AT); if (!r) r = expression_start(b, l + 1); return r; } | annotation_array_item_start |
37,883 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_array_value")) return false; if (!nextTokenIs(b, T_LBRACK)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, ANNOTATION_ARRAY_VALUE, null); r = consumeToken(b, T_LBRACK); p = r; // pin = 1 r = r && report_error_(b, annotation_arr... | annotation_array_value |
37,884 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_array_value_1")) return false; while (true) { int c = current_position_(b); if (!annotation_array_item(b, l + 1)) break; if (!empty_element_parsed_guard_(b, "annotation_array_value_1", c)) break; } return true; } | annotation_array_value_1 |
37,885 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_array_value_2")) return false; boolean r; Marker m = enter_section_(b); r = mb_nl(b, l + 1); r = r && consumeToken(b, T_RBRACK); exit_section_(b, m, null, r); return r; } | annotation_array_value_2 |
37,886 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_body")) return false; if (!nextTokenIs(b, T_LBRACE)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, CLASS_BODY, null); r = consumeToken(b, T_LBRACE); p = r; // pin = 1 r = r && report_error_(b, mb_nl(b, l + 1)); r = p && report... | annotation_body |
37,887 | boolean (PsiBuilder b, int l) { return consumeToken(b, IDENTIFIER); } | annotation_definition_header |
37,888 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_key")) return false; boolean r; r = weak_keyword(b, l + 1); if (!r) r = consumeToken(b, IDENTIFIER); if (!r) r = consumeToken(b, KW_AS); if (!r) r = consumeToken(b, KW_DEF); if (!r) r = consumeToken(b, KW_IN); return r; } | annotation_key |
37,889 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_level")) return false; boolean r; r = type_definition(b, l + 1); if (!r) r = parse_annotation_declaration(b, l + 1); return r; } | annotation_level |
37,890 | boolean (PsiBuilder b, int l) { return class_level_item(b, l + 1, GroovyGeneratedParser::annotation_level); } | annotation_level_item |
37,891 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_member_value_pair")) return false; boolean r; Marker m = enter_section_(b, l, _NONE_, ANNOTATION_MEMBER_VALUE_PAIR, "<annotation attribute>"); r = annotation_member_value_pair_0(b, l + 1); if (!r) r = annotation_value(b, l + 1); exit_section_(b, l,... | annotation_member_value_pair |
37,892 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_member_value_pair_0")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = annotation_key(b, l + 1); r = r && consumeToken(b, T_ASSIGN); p = r; // pin = 2 r = r && annotation_value(b, l + 1); exit_section_(b, l, m, r, p, null);... | annotation_member_value_pair_0 |
37,893 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_members")) return false; while (true) { int c = current_position_(b); if (!annotation_level_item(b, l + 1)) break; if (!empty_element_parsed_guard_(b, "annotation_members", c)) break; } return true; } | annotation_members |
37,894 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_method")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, ANNOTATION_METHOD, "<annotation method>"); r = method_identifier(b, l + 1); r = r && method_parameter_list(b, l + 1); p = r; // pin = 2 r = r && report_error_(b, annotati... | annotation_method |
37,895 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_method_2")) return false; annotation_method_2_0(b, l + 1); return true; } | annotation_method_2 |
37,896 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_method_2_0")) return false; boolean r; Marker m = enter_section_(b); r = mb_nl(b, l + 1); r = r && annotation_method_default(b, l + 1); exit_section_(b, m, null, r); return r; } | annotation_method_2_0 |
37,897 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_method_default")) return false; if (!nextTokenIs(b, KW_DEFAULT)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = consumeToken(b, KW_DEFAULT); p = r; // pin = 1 r = r && annotation_value(b, l + 1); exit_section_(b, l, m, r, ... | annotation_method_default |
37,898 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_modifier_list")) return false; Marker m = enter_section_(b, l, _NONE_, MODIFIER_LIST, "<annotation modifier list>"); non_empty_annotation_list(b, l + 1); exit_section_(b, l, m, true, false, null); return true; } | annotation_modifier_list |
37,899 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "annotation_reference")) return false; boolean r; Marker m = enter_section_(b, l, _NONE_, null, "<annotation reference>"); r = simple_reference(b, l + 1); exit_section_(b, l, m, r, false, null); return r; } | annotation_reference |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.