Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
15,100 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "commands_list_1_0_0_0")) return false; boolean r; r = consumeToken(b, AND_AND); if (!r) r = consumeToken(b, OR_OR); return r; } | commands_list_1_0_0_0 |
15,101 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "commands_list_1_0_0_1")) return false; newlines(b, l + 1); return true; } | commands_list_1_0_0_1 |
15,102 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "commands_list_1_0_1")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = commands_list_1_0_1_0(b, l + 1); p = r; // pin = 1 r = r && commands_list_1_0_1_1(b, l + 1); exit_section_(b, l, m, r, p, null); return r || p; } | commands_list_1_0_1 |
15,103 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "commands_list_1_0_1_0")) return false; boolean r; r = consumeToken(b, PIPE); if (!r) r = consumeToken(b, PIPE_AMP); if (!r) r = consumeToken(b, AMP); if (!r) r = consumeToken(b, SEMI); return r; } | commands_list_1_0_1_0 |
15,104 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "commands_list_1_0_1_1")) return false; pipeline_command(b, l + 1); return true; } | commands_list_1_0_1_1 |
15,105 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "composed_var")) return false; if (!nextTokenIs(b, DOLLAR)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = consumeToken(b, DOLLAR); r = r && composed_var_1(b, l + 1); p = r; // pin = 2 r = r && composed_var_inner(b, l + 1); exit_section_(b, l, m, r, p, null); return r || p; } | composed_var |
15,106 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "composed_var_1")) return false; boolean r; Marker m = enter_section_(b, l, _AND_); r = composed_var_1_0(b, l + 1); exit_section_(b, l, m, r, false, null); return r; } | composed_var_1 |
15,107 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "composed_var_1_0")) return false; boolean r; r = consumeToken(b, LEFT_PAREN); if (!r) r = consumeToken(b, LEFT_CURLY); return r; } | composed_var_1_0 |
15,108 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "composed_var_inner")) return false; if (!nextTokenIs(b, "", LEFT_CURLY, LEFT_PAREN)) return false; boolean r; r = arithmetic_expansion(b, l + 1); if (!r) r = subshell_command(b, l + 1); if (!r) r = shell_parameter_expansion(b, l + 1); return r; } | composed_var_inner |
15,109 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "compound_case_list")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, COMPOUND_LIST, "<compound case list>"); r = pipeline_command_list(b, l + 1); p = r; // pin = 1 r = r && report_error_(b, compound_case_list_1(b, l + 1)); r = p && newlines(b, l + 1) && r; exit_section_(b, l, m, r, p, null); return r || p; } | compound_case_list |
15,110 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "compound_case_list_1")) return false; end_of_list(b, l + 1); return true; } | compound_case_list_1 |
15,111 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "compound_list")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, COMPOUND_LIST, "<compound list>"); r = newlines(b, l + 1); r = r && pipeline_command_list(b, l + 1); p = r; // pin = 2 r = r && report_error_(b, end_of_list(b, l + 1)); r = p && newlines(b, l + 1) && r; exit_section_(b, l, m, r, p, ShParser::compound_list_recover); return r || p; } | compound_list |
15,112 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "compound_list_recover")) return false; boolean r; Marker m = enter_section_(b, l, _NOT_); r = !compound_list_recover_0(b, l + 1); exit_section_(b, l, m, r, false, null); return r; } | compound_list_recover |
15,113 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "compound_list_recover_0")) return false; boolean r; r = consumeToken(b, ELIF); if (!r) r = consumeToken(b, ELSE); if (!r) r = consumeToken(b, THEN); if (!r) r = consumeToken(b, FI); return r; } | compound_list_recover_0 |
15,114 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "conditional_command")) return false; if (!nextTokenIs(b, "<conditional command>", LEFT_DOUBLE_BRACKET, LEFT_SQUARE)) return false; boolean r; Marker m = enter_section_(b, l, _NONE_, CONDITIONAL_COMMAND, "<conditional command>"); r = conditional_command_0(b, l + 1); if (!r) r = conditional_command_1(b, l + 1); exit_section_(b, l, m, r, false, null); return r; } | conditional_command |
15,115 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "conditional_command_0")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = consumeToken(b, LEFT_DOUBLE_BRACKET); p = r; // pin = 1 r = r && report_error_(b, conditional_command_0_1(b, l + 1)); r = p && conditional_command_0_2(b, l + 1) && r; exit_section_(b, l, m, r, p, null); return r || p; } | conditional_command_0 |
15,116 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "conditional_command_0_1")) return false; while (true) { int c = current_position_(b); if (!condition(b, l + 1, -1)) break; if (!empty_element_parsed_guard_(b, "conditional_command_0_1", c)) break; } return true; } | conditional_command_0_1 |
15,117 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "conditional_command_0_2")) return false; boolean r; Marker m = enter_section_(b); r = consumeToken(b, RIGHT_DOUBLE_BRACKET); if (!r) r = conditional_command_0_2_1(b, l + 1); exit_section_(b, m, null, r); return r; } | conditional_command_0_2 |
15,118 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "conditional_command_0_2_1")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = consumeToken(b, RIGHT_SQUARE); p = r; // pin = 1 r = r && differentBracketsWarning(b, l + 1); exit_section_(b, l, m, r, p, null); return r || p; } | conditional_command_0_2_1 |
15,119 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "conditional_command_1")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = consumeToken(b, LEFT_SQUARE); p = r; // pin = 1 r = r && report_error_(b, conditional_command_1_1(b, l + 1)); r = p && conditional_command_1_2(b, l + 1) && r; exit_section_(b, l, m, r, p, null); return r || p; } | conditional_command_1 |
15,120 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "conditional_command_1_1")) return false; while (true) { int c = current_position_(b); if (!condition(b, l + 1, -1)) break; if (!empty_element_parsed_guard_(b, "conditional_command_1_1", c)) break; } return true; } | conditional_command_1_1 |
15,121 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "conditional_command_1_2")) return false; boolean r; Marker m = enter_section_(b); r = consumeToken(b, RIGHT_SQUARE); if (!r) r = conditional_command_1_2_1(b, l + 1); exit_section_(b, m, null, r); return r; } | conditional_command_1_2 |
15,122 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "conditional_command_1_2_1")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = consumeToken(b, RIGHT_DOUBLE_BRACKET); p = r; // pin = 1 r = r && differentBracketsWarning(b, l + 1); exit_section_(b, l, m, r, p, null); return r || p; } | conditional_command_1_2_1 |
15,123 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "do_block")) return false; if (!nextTokenIs(b, DO)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, DO_BLOCK, null); r = consumeToken(b, DO); p = r; // pin = 1 r = r && report_error_(b, block_compound_list(b, l + 1)); r = p && consumeToken(b, DONE) && r; exit_section_(b, l, m, r, p, null); return r || p; } | do_block |
15,124 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "elif_clause")) return false; if (!nextTokenIs(b, ELIF)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, ELIF_CLAUSE, null); r = consumeToken(b, ELIF); p = r; // pin = 1 r = r && report_error_(b, compound_list(b, l + 1)); r = p && then_clause(b, l + 1) && r; exit_section_(b, l, m, r, p, null); return r || p; } | elif_clause |
15,125 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "else_clause")) return false; if (!nextTokenIs(b, ELSE)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, ELSE_CLAUSE, null); r = consumeToken(b, ELSE); p = r; // pin = 1 r = r && compound_list(b, l + 1); exit_section_(b, l, m, r, p, null); return r || p; } | else_clause |
15,126 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "end_of_list")) return false; boolean r; r = consumeToken(b, LINEFEED); if (!r) r = consumeToken(b, SEMI); if (!r) r = consumeToken(b, AMP); return r; } | end_of_list |
15,127 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "eval_command")) return false; if (!nextTokenIs(b, EVAL)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, EVAL_COMMAND, null); r = consumeToken(b, EVAL); p = r; // pin = 1 r = r && eval_command_1(b, l + 1); exit_section_(b, l, m, r, p, null); return r || p; } | eval_command |
15,128 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "eval_command_1")) return false; while (true) { int c = current_position_(b); if (!eval_command_1_0(b, l + 1)) break; if (!empty_element_parsed_guard_(b, "eval_command_1", c)) break; } return true; } | eval_command_1 |
15,129 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "eval_command_1_0")) return false; boolean r; r = consumeToken(b, EVAL_CONTENT); if (!r) r = simple_command_element(b, l + 1); return r; } | eval_command_1_0 |
15,130 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "file")) return false; boolean r; Marker m = enter_section_(b); r = file_0(b, l + 1); r = r && newlines(b, l + 1); r = r && simple_list(b, l + 1); exit_section_(b, m, null, r); return r; } | file |
15,131 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "file_0")) return false; consumeToken(b, SHEBANG); return true; } | file_0 |
15,132 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "for_clause")) return false; boolean r; Marker m = enter_section_(b, l, _NONE_, FOR_CLAUSE, "<for clause>"); r = arithmetic_for_clause(b, l + 1); if (!r) r = in_for_clause(b, l + 1); exit_section_(b, l, m, r, false, null); return r; } | for_clause |
15,133 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "for_command")) return false; if (!nextTokenIs(b, FOR)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, FOR_COMMAND, null); r = consumeToken(b, FOR); p = r; // pin = 1 r = r && report_error_(b, for_clause(b, l + 1)); r = p && any_block(b, l + 1) && r; exit_section_(b, l, m, r, p, null); return r || p; } | for_command |
15,134 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "function_definition")) return false; if (!nextTokenIs(b, "<function definition>", FUNCTION, WORD)) return false; boolean r; Marker m = enter_section_(b, l, _COLLAPSE_, FUNCTION_DEFINITION, "<function definition>"); r = function_definition_0(b, l + 1); r = r && function_definition_inner(b, l + 1); exit_section_(b, l, m, r, false, null); return r; } | function_definition |
15,135 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "function_definition_0")) return false; boolean r; Marker m = enter_section_(b, l, _AND_); r = function_definition_0_0(b, l + 1); exit_section_(b, l, m, r, false, null); return r; } | function_definition_0 |
15,136 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "function_definition_0_0")) return false; boolean r; Marker m = enter_section_(b); r = consumeToken(b, FUNCTION); if (!r) r = parseTokens(b, 0, WORD, LEFT_PAREN); exit_section_(b, m, null, r); return r; } | function_definition_0_0 |
15,137 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "function_definition_inner")) return false; if (!nextTokenIs(b, "", FUNCTION, WORD)) return false; boolean r; Marker m = enter_section_(b); r = function_definition_inner_0(b, l + 1); if (!r) r = function_definition_inner_1(b, l + 1); exit_section_(b, m, null, r); return r; } | function_definition_inner |
15,138 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "function_definition_inner_0")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = consumeToken(b, WORD); r = r && argument_list(b, l + 1); p = r; // pin = function|argument_list r = r && report_error_(b, newlines(b, l + 1)); r = p && function_definition_inner_0_3(b, l + 1) && r; exit_section_(b, l, m, r, p, null); return r || p; } | function_definition_inner_0 |
15,139 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "function_definition_inner_0_3")) return false; boolean r; r = block(b, l + 1); if (!r) r = parentheses_block(b, l + 1); return r; } | function_definition_inner_0_3 |
15,140 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "function_definition_inner_1")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = consumeToken(b, FUNCTION); p = r; // pin = function|argument_list r = r && report_error_(b, function_definition_inner_1_1(b, l + 1)); r = p && report_error_(b, function_definition_inner_1_2(b, l + 1)) && r; r = p && report_error_(b, newlines(b, l + 1)) && r; r = p && function_definition_inner_1_4(b, l + 1) && r; exit_section_(b, l, m, r, p, null); return r || p; } | function_definition_inner_1 |
15,141 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "function_definition_inner_1_1")) return false; boolean r; Marker m = enter_section_(b); r = consumeToken(b, WORD); if (!r) r = functionNameKeywordsRemapped(b, l + 1); exit_section_(b, m, null, r); return r; } | function_definition_inner_1_1 |
15,142 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "function_definition_inner_1_2")) return false; argument_list(b, l + 1); return true; } | function_definition_inner_1_2 |
15,143 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "function_definition_inner_1_4")) return false; boolean r; r = block(b, l + 1); if (!r) r = parentheses_block(b, l + 1); return r; } | function_definition_inner_1_4 |
15,144 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "generic_command_directive")) return false; boolean r; Marker m = enter_section_(b, l, _COLLAPSE_, GENERIC_COMMAND_DIRECTIVE, "<generic command directive>"); r = simple_command_element_inner(b, l + 1); exit_section_(b, l, m, r, false, null); return r; } | generic_command_directive |
15,145 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "heredoc")) return false; if (!nextTokenIs(b, HEREDOC_MARKER_TAG)) return false; boolean r; Marker m = enter_section_(b); r = consumeTokens(b, 0, HEREDOC_MARKER_TAG, HEREDOC_MARKER_START); r = r && heredoc_2(b, l + 1); r = r && newlines(b, l + 1); r = r && heredoc_4(b, l + 1); r = r && heredoc_5(b, l + 1); exit_section_(b, m, HEREDOC, r); return r; } | heredoc |
15,146 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "heredoc_2")) return false; heredoc_2_0(b, l + 1); return true; } | heredoc_2 |
15,147 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "heredoc_2_0")) return false; boolean r; Marker m = enter_section_(b); r = heredoc_2_0_0(b, l + 1); if (!r) r = heredoc_2_0_1(b, l + 1); exit_section_(b, m, null, r); return r; } | heredoc_2_0 |
15,148 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "heredoc_2_0_0")) return false; boolean r; Marker m = enter_section_(b); r = commands_list(b, l + 1); r = r && heredoc_2_0_0_1(b, l + 1); exit_section_(b, m, null, r); return r; } | heredoc_2_0_0 |
15,149 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "heredoc_2_0_0_1")) return false; heredoc_pipeline_separator(b, l + 1); return true; } | heredoc_2_0_0_1 |
15,150 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "heredoc_2_0_1")) return false; boolean r; Marker m = enter_section_(b); r = heredoc_pipeline_separator(b, l + 1); r = r && heredoc_2_0_1_1(b, l + 1); exit_section_(b, m, null, r); return r; } | heredoc_2_0_1 |
15,151 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "heredoc_2_0_1_1")) return false; commands_list(b, l + 1); return true; } | heredoc_2_0_1_1 |
15,152 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "heredoc_4")) return false; consumeToken(b, HEREDOC_CONTENT); return true; } | heredoc_4 |
15,153 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "heredoc_5")) return false; boolean r; Marker m = enter_section_(b); r = consumeToken(b, HEREDOC_MARKER_END); if (!r) r = eof(b, l + 1); exit_section_(b, m, null, r); return r; } | heredoc_5 |
15,154 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "heredoc_pipeline_separator")) return false; boolean r; r = consumeToken(b, AND_AND); if (!r) r = consumeToken(b, OR_OR); if (!r) r = consumeToken(b, AMP); if (!r) r = consumeToken(b, PIPE); if (!r) r = consumeToken(b, PIPE_AMP); if (!r) r = consumeToken(b, SEMI); return r; } | heredoc_pipeline_separator |
15,155 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "if_command")) return false; if (!nextTokenIs(b, IF)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, IF_COMMAND, null); r = consumeToken(b, IF); p = r; // pin = 1 r = r && report_error_(b, compound_list(b, l + 1)); r = p && report_error_(b, then_clause(b, l + 1)) && r; r = p && report_error_(b, if_command_3(b, l + 1)) && r; r = p && report_error_(b, if_command_4(b, l + 1)) && r; r = p && consumeToken(b, FI) && r; exit_section_(b, l, m, r, p, null); return r || p; } | if_command |
15,156 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "if_command_3")) return false; while (true) { int c = current_position_(b); if (!elif_clause(b, l + 1)) break; if (!empty_element_parsed_guard_(b, "if_command_3", c)) break; } return true; } | if_command_3 |
15,157 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "if_command_4")) return false; else_clause(b, l + 1); return true; } | if_command_4 |
15,158 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "in_clause")) return false; if (!nextTokenIs(b, IN)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = consumeToken(b, IN); p = r; // pin = 1 r = r && report_error_(b, in_clause_1(b, l + 1)); r = p && report_error_(b, list_terminator(b, l + 1)) && r; r = p && newlines(b, l + 1) && r; exit_section_(b, l, m, r, p, null); return r || p; } | in_clause |
15,159 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "in_clause_1")) return false; boolean r; Marker m = enter_section_(b); r = w(b, l + 1); while (r) { int c = current_position_(b); if (!w(b, l + 1)) break; if (!empty_element_parsed_guard_(b, "in_clause_1", c)) break; } exit_section_(b, m, null, r); return r; } | in_clause_1 |
15,160 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "in_for_clause")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = w(b, l + 1); p = r; // pin = 1 r = r && in_for_clause_1(b, l + 1); exit_section_(b, l, m, r, p, null); return r || p; } | in_for_clause |
15,161 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "in_for_clause_1")) return false; boolean r; Marker m = enter_section_(b); r = in_for_clause_1_0(b, l + 1); if (!r) r = in_for_clause_1_1(b, l + 1); exit_section_(b, m, null, r); return r; } | in_for_clause_1 |
15,162 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "in_for_clause_1_0")) return false; boolean r; Marker m = enter_section_(b); r = consumeToken(b, SEMI); r = r && newlines(b, l + 1); exit_section_(b, m, null, r); return r; } | in_for_clause_1_0 |
15,163 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "in_for_clause_1_1")) return false; boolean r; Marker m = enter_section_(b); r = newlines(b, l + 1); r = r && in_for_clause_1_1_1(b, l + 1); exit_section_(b, m, null, r); return r; } | in_for_clause_1_1 |
15,164 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "in_for_clause_1_1_1")) return false; in_clause(b, l + 1); return true; } | in_for_clause_1_1_1 |
15,165 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "include_command")) return false; boolean r; Marker m = enter_section_(b, l, _COLLAPSE_, INCLUDE_COMMAND, "<include command>"); r = include_directive(b, l + 1); r = r && include_command_1(b, l + 1); exit_section_(b, l, m, r, false, null); return r; } | include_command |
15,166 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "include_command_1")) return false; boolean r; Marker m = enter_section_(b); r = include_command_1_0(b, l + 1); while (r) { int c = current_position_(b); if (!include_command_1_0(b, l + 1)) break; if (!empty_element_parsed_guard_(b, "include_command_1", c)) break; } exit_section_(b, m, null, r); return r; } | include_command_1 |
15,167 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "include_command_1_0")) return false; boolean r; Marker m = enter_section_(b); r = simple_command_element(b, l + 1); if (!r) r = keywordsRemapped(b, l + 1); exit_section_(b, m, null, r); return r; } | include_command_1_0 |
15,168 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "include_directive")) return false; boolean r; Marker m = enter_section_(b, l, _NONE_, INCLUDE_DIRECTIVE, "<include directive>"); r = include_directive_0(b, l + 1); r = r && consumeToken(b, WORD); exit_section_(b, l, m, r, false, null); return r; } | include_directive |
15,169 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "include_directive_0")) return false; boolean r; Marker m = enter_section_(b, l, _AND_); r = include_directive_0_0(b, l + 1); exit_section_(b, l, m, r, false, null); return r; } | include_directive_0 |
15,170 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "include_directive_0_0")) return false; boolean r; r = consumeToken(b, "source"); if (!r) r = consumeToken(b, "."); return r; } | include_directive_0_0 |
15,171 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "let_command")) return false; if (!nextTokenIs(b, LET)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, LET_COMMAND, null); r = consumeToken(b, LET); p = r; // pin = 1 r = r && expression(b, l + 1, -1); exit_section_(b, l, m, r, p, null); return r || p; } | let_command |
15,172 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "list")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, COMPOUND_LIST, "<list>"); r = newlines(b, l + 1); r = r && pipeline_command_list(b, l + 1); p = r; // pin = 2 r = r && report_error_(b, list_2(b, l + 1)); r = p && newlines(b, l + 1) && r; exit_section_(b, l, m, r, p, null); return r || p; } | list |
15,173 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "list_2")) return false; end_of_list(b, l + 1); return true; } | list_2 |
15,174 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "list_terminator")) return false; boolean r; Marker m = enter_section_(b, l, _NONE_, LIST_TERMINATOR, "<list terminator>"); r = consumeToken(b, LINEFEED); if (!r) r = consumeToken(b, SEMI); exit_section_(b, l, m, r, false, ShParser::list_terminator_recover); return r; } | list_terminator |
15,175 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "list_terminator_recover")) return false; boolean r; Marker m = enter_section_(b, l, _NOT_); r = !list_terminator_recover_0(b, l + 1); exit_section_(b, l, m, r, false, null); return r; } | list_terminator_recover |
15,176 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "list_terminator_recover_0")) return false; boolean r; r = consumeToken(b, DO); if (!r) r = consumeToken(b, LEFT_CURLY); if (!r) r = consumeToken(b, LINEFEED); return r; } | list_terminator_recover_0 |
15,177 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "literal")) return false; boolean r; Marker m = enter_section_(b, l, _COLLAPSE_, LITERAL, "<literal>"); r = consumeToken(b, WORD); if (!r) r = string(b, l + 1); if (!r) r = number(b, l + 1); if (!r) r = variable(b, l + 1); if (!r) r = arithmeticOperationsRemapped(b, l + 1); exit_section_(b, l, m, r, false, null); return r; } | literal |
15,178 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "newlines")) return false; while (true) { int c = current_position_(b); if (!consumeToken(b, LINEFEED)) break; if (!empty_element_parsed_guard_(b, "newlines", c)) break; } return true; } | newlines |
15,179 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "nl")) return false; if (!nextTokenIs(b, LINEFEED)) return false; boolean r; Marker m = enter_section_(b); r = consumeToken(b, LINEFEED); while (r) { int c = current_position_(b); if (!consumeToken(b, LINEFEED)) break; if (!empty_element_parsed_guard_(b, "nl", c)) break; } exit_section_(b, m, null, r); return r; } | nl |
15,180 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "not_lvalue")) return false; boolean r; r = consumeToken(b, BANG); if (!r) r = vars(b, l + 1); if (!r) r = consumeToken(b, DOLLAR); if (!r) r = brace_expansion(b, l + 1); if (!r) r = consumeToken(b, FILEDESCRIPTOR); return r; } | not_lvalue |
15,181 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "number")) return false; boolean r; Marker m = enter_section_(b, l, _NONE_, NUMBER, "<number>"); r = consumeToken(b, INT); if (!r) r = consumeToken(b, HEX); if (!r) r = consumeToken(b, OCTAL); exit_section_(b, l, m, r, false, null); return r; } | number |
15,182 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "old_arithmetic_expansion")) return false; if (!nextTokenIs(b, ARITH_SQUARE_LEFT)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, OLD_ARITHMETIC_EXPANSION, null); r = consumeToken(b, ARITH_SQUARE_LEFT); p = r; // pin = 1 r = r && report_error_(b, old_arithmetic_expansion_1(b, l + 1)); r = p && consumeToken(b, ARITH_SQUARE_RIGHT) && r; exit_section_(b, l, m, r, p, null); return r || p; } | old_arithmetic_expansion |
15,183 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "old_arithmetic_expansion_1")) return false; old_arithmetic_expansion_expression(b, l + 1); return true; } | old_arithmetic_expansion_1 |
15,184 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "old_arithmetic_expansion_expression")) return false; boolean r; Marker m = enter_section_(b, l, _NONE_); r = expression(b, l + 1, -1); exit_section_(b, l, m, r, false, ShParser::old_arithmetic_expansion_expression_recover); return r; } | old_arithmetic_expansion_expression |
15,185 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "old_arithmetic_expansion_expression_recover")) return false; boolean r; Marker m = enter_section_(b, l, _NOT_); r = !consumeToken(b, ARITH_SQUARE_RIGHT); exit_section_(b, l, m, r, false, null); return r; } | old_arithmetic_expansion_expression_recover |
15,186 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "parentheses_block")) return false; if (!nextTokenIs(b, LEFT_PAREN)) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, PARENTHESES_BLOCK, null); r = consumeToken(b, LEFT_PAREN); p = r; // pin = 1 r = r && report_error_(b, block_compound_list(b, l + 1)); r = p && consumeToken(b, RIGHT_PAREN) && r; exit_section_(b, l, m, r, p, null); return r || p; } | parentheses_block |
15,187 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "pattern")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_, PATTERN, "<pattern>"); r = pattern_0(b, l + 1); p = r; // pin = 1 r = r && report_error_(b, pattern_1(b, l + 1)); r = p && pattern_2(b, l + 1) && r; exit_section_(b, l, m, r, p, ShParser::case_pattern_recover); return r || p; } | pattern |
15,188 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "pattern_0")) return false; consumeToken(b, LEFT_PAREN); return true; } | pattern_0 |
15,189 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "pattern_1")) return false; boolean r; Marker m = enter_section_(b); r = w(b, l + 1); while (r) { int c = current_position_(b); if (!w(b, l + 1)) break; if (!empty_element_parsed_guard_(b, "pattern_1", c)) break; } exit_section_(b, m, null, r); return r; } | pattern_1 |
15,190 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "pattern_2")) return false; while (true) { int c = current_position_(b); if (!pattern_2_0(b, l + 1)) break; if (!empty_element_parsed_guard_(b, "pattern_2", c)) break; } return true; } | pattern_2 |
15,191 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "pattern_2_0")) return false; boolean r, p; Marker m = enter_section_(b, l, _NONE_); r = consumeToken(b, PIPE); p = r; // pin = 1 r = r && pattern_2_0_1(b, l + 1); exit_section_(b, l, m, r, p, null); return r || p; } | pattern_2_0 |
15,192 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "pattern_2_0_1")) return false; boolean r; Marker m = enter_section_(b); r = w(b, l + 1); while (r) { int c = current_position_(b); if (!w(b, l + 1)) break; if (!empty_element_parsed_guard_(b, "pattern_2_0_1", c)) break; } exit_section_(b, m, null, r); return r; } | pattern_2_0_1 |
15,193 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "pipeline_command")) return false; boolean r; Marker m = enter_section_(b, l, _COLLAPSE_, PIPELINE_COMMAND, "<pipeline command>"); r = pipeline_command_0(b, l + 1); if (!r) r = pipeline_command_1(b, l + 1); if (!r) r = pipeline_command_2(b, l + 1); if (!r) r = let_command(b, l + 1); exit_section_(b, l, m, r, false, ShParser::pipeline_recover); return r; } | pipeline_command |
15,194 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "pipeline_command_0")) return false; boolean r; Marker m = enter_section_(b); r = pipeline_command_0_0(b, l + 1); r = r && command(b, l + 1); exit_section_(b, m, null, r); return r; } | pipeline_command_0 |
15,195 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "pipeline_command_0_0")) return false; consumeToken(b, BANG); return true; } | pipeline_command_0_0 |
15,196 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "pipeline_command_1")) return false; boolean r; Marker m = enter_section_(b); r = pipeline_command_1_0(b, l + 1); r = r && eval_command(b, l + 1); exit_section_(b, m, null, r); return r; } | pipeline_command_1 |
15,197 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "pipeline_command_1_0")) return false; consumeToken(b, BANG); return true; } | pipeline_command_1_0 |
15,198 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "pipeline_command_2")) return false; boolean r; Marker m = enter_section_(b); r = pipeline_command_2_0(b, l + 1); r = r && test_command(b, l + 1); exit_section_(b, m, null, r); return r; } | pipeline_command_2 |
15,199 | boolean (PsiBuilder b, int l) { if (!recursion_guard_(b, l, "pipeline_command_2_0")) return false; consumeToken(b, BANG); return true; } | pipeline_command_2_0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.