Code review comment: we can check if this context is required in resumeParsing and remove `// revisit` comment

Code under review:
public STNode resumeOtherNodesParsing(ParserRuleContext context, Object... args) {
        switch (context) {
            case OPEN_BRACE:
                return parseOpenBrace();
            case CLOSE_BRACE:
                return parseCloseBrace();
            case OPEN_PARENTHESIS:
            case ARG_LIST_START:
                return parseOpenParenthesis(context);
            case SIMPLE_TYPE_DESCRIPTOR:
                return parseSimpleTypeDescriptor();
            case ASSIGN_OP:
                return parseAssignOp();
            case SEMICOLON:
                return parseSemicolon();
            case CLOSE_PARENTHESIS:
                return parseCloseParenthesis();
            case VARIABLE_NAME:
                return parseVariableName();
            case PARAMETER_START:
                return parseParameter((SyntaxKind) args[0], (STNode) args[1], (int) args[2], (boolean) args[3]);
            case PARAMETER_WITHOUT_ANNOTS:
                return parseParamGivenAnnots((SyntaxKind) args[0], (STNode) args[1], (STNode) args[2], (int) args[3],
                        (boolean) args[4]);
            case AFTER_PARAMETER_TYPE:
                return parseAfterParamType((SyntaxKind) args[0], (STNode) args[1], (STNode) args[2], (STNode) args[3],
                        (STNode) args[4], (boolean) args[5]);
            case PARAMETER_NAME_RHS:
                return parseParameterRhs((SyntaxKind) args[0], (STNode) args[1], (STNode) args[2], (STNode) args[3],
                        (STNode) args[4], (STNode) args[5]);
            case TYPE_NAME_OR_VAR_NAME:
            case TYPE_REFERENCE:
            case FIELD_ACCESS_IDENTIFIER:
                return parseQualifiedIdentifier(context, (boolean) args[0]);
            case FIELD_DESCRIPTOR_RHS:
                return parseFieldDescriptorRhs((STNode) args[0], (STNode) args[1], (STNode) args[2], (STNode) args[3]);
            case TYPE_DESCRIPTOR:
                return parseTypeDescriptorInternal((ParserRuleContext) args[0], (boolean) args[1]);
            case TYPE_NAME:
                return parseTypeName();
            case VARIABLE_REF:
            case IMPLICIT_ANON_FUNC_PARAM:
            case MAPPING_FIELD_NAME:
            case RECEIVE_FIELD_NAME:
            case ENUM_MEMBER_NAME:
                return parseIdentifier(context);
            case SLASH:
                return parseSlashToken();
            case DOT:
                return parseDotToken();
            case VERSION_NUMBER:
                return parseVersionNumber();
            case DECIMAL_INTEGER_LITERAL:
            case MAJOR_VERSION:
            case MINOR_VERSION:
            case PATCH_VERSION:
                return parseDecimalIntLiteral(context);
            case MAPPING_FIELD:
            case FIRST_MAPPING_FIELD:
                return parseMappingField((ParserRuleContext) args[0]);
            case SPECIFIC_FIELD_RHS:
                return parseSpecificFieldRhs((STNode) args[0], (STNode) args[1]);
            case FIELD_BINDING_PATTERN_END:
                return parseMappingFieldRhs((STNode) args[0]);
            case STRING_LITERAL:
                return parseStringLiteral();
            case COLON:
                return parseColon();
            case OPEN_BRACKET:
                return parseOpenBracket();
            case RESOURCE_DEF:
                return parseResource();
            case NIL_TYPE_DESCRIPTOR:
                return parseNilTypeDescriptor();
            case ARRAY_LENGTH:
                return parseArrayLength();
            case COMMA:
                return parseComma();
            case CONST_DECL_TYPE:
                return parseConstDecl((STNode) args[0], (STNode) args[1], (STNode) args[2]);
            case LT:
                return parseLTToken();
            case GT:
                return parseGTToken();
            case ATTACH_POINT_IDENT:
                return parseAttachPointIdent((STNode) args[0]);
            case FIELD_IDENT:
                return parseFieldIdent();
            case ATTACH_POINT_END:
                return parseAttachPointEnd();
            case NAMESPACE_PREFIX:
                return parseNamespacePrefix();
            case WORKER_NAME:
                return parseWorkerName();
            case STREAM_TYPE_FIRST_PARAM_RHS:
                return parseStreamTypeParamsNode((STNode) args[0], (STNode) args[1]);
            case TEMPLATE_START:
            case TEMPLATE_END:
                return parseBacktickToken(context);
            case KEY_CONSTRAINTS_RHS:
                return parseKeyConstraint((STNode) args[0]);
            case ORDER_KEY_LIST_END:
                return parseOrderKeyListMemberEnd();
            case TABLE_CONSTRUCTOR_OR_QUERY_START:
                return parseTableConstructorOrQuery((boolean) args[0]);
            case TABLE_CONSTRUCTOR_OR_QUERY_RHS:
                return parseTableConstructorOrQueryRhs((STNode) args[0], (STNode) args[1], (boolean) args[2]);
            case QUERY_PIPELINE_RHS:
                return parseIntermediateClause((boolean) args[0]);
            case ANON_FUNC_BODY:
                return parseAnonFuncBody((boolean) args[0]);
            case CLOSE_BRACKET:
                return parseCloseBracket();
            case ARG_START:
                return parseArgument();
            case ARG_END:
                return parseArgEnd();
            case MAPPING_FIELD_END:
                return parseMappingFieldEnd();
            case FIELD_OR_REST_DESCIPTOR_RHS:
                return parseFieldOrRestDescriptorRhs((STNode) args[0], (STNode) args[1]);
            case TYPE_DESC_IN_TUPLE_RHS:
                return parseTupleMemberRhs();
            case LIST_BINDING_PATTERN_MEMBER_END:
                return parseListBindingPatternMemberRhs();
            case MAPPING_BINDING_PATTERN_END:
                return parseMappingBindingPatternEnd();
            case FIELD_BINDING_PATTERN_NAME:
                return parseFieldBindingPattern();
            case LIST_CONSTRUCTOR_MEMBER_END:
                return parseListConstructorMemberEnd();
            case NIL_OR_PARENTHESISED_TYPE_DESC_RHS:
                return parseNilOrParenthesisedTypeDescRhs((STNode) args[0]);
            case ANON_FUNC_PARAM_RHS:
                return parseImplicitAnonFuncParamEnd();
            case LIST_BINDING_PATTERN:
                return parseListBindingPattern();
            case BINDING_PATTERN:
                return parseBindingPattern();
            case PEER_WORKER_NAME:
                return parsePeerWorkerName();
            case SYNC_SEND_TOKEN:
                return parseSyncSendToken();
            case LEFT_ARROW_TOKEN:
                return parseLeftArrowToken();
            case RECEIVE_WORKERS:
                return parseReceiveWorkers();
            case WAIT_FIELD_NAME:
                return parseWaitField();
            case WAIT_FIELD_END:
                return parseWaitFieldEnd();
            case OPTIONAL_CHAINING_TOKEN:
                return parseOptionalChainingToken();
            case RETRY_TYPE_PARAM_RHS:
                return parseRetryTypeParamRhs((STNode) args[0], (STNode) args[1]);
            case RETRY_BODY:
                return parseRetryBody();
            case ENUM_MEMBER_END:
                return parseEnumMemberEnd();
            case BRACKETED_LIST_MEMBER_END:
                return parseBracketedListMemberEnd();
            case TYPED_BINDING_PATTERN_TYPE_RHS:
                return parseTypedBindingPatternTypeRhs((STNode) args[0], (ParserRuleContext) args[1],
                        (boolean) args[2]);
            case BRACKETED_LIST_RHS:
                return parseTypedBindingPatternOrMemberAccessRhs((STNode) args[0], (STNode) args[1], (STNode) args[2],
                        (STNode) args[3], (boolean) args[4], (boolean) args[5], (ParserRuleContext) args[6]);
            case UNION_OR_INTERSECTION_TOKEN:
                return parseUnionOrIntersectionToken();
            case BRACKETED_LIST_MEMBER:
            case LIST_BINDING_MEMBER_OR_ARRAY_LENGTH:
                return parseBracketedListMember((boolean) args[0]);
            case DOT_LT_TOKEN:
                return parseDotLTToken();
            case SLASH_LT_TOKEN:
                return parseSlashLTToken();
            case DOUBLE_SLASH_DOUBLE_ASTERISK_LT_TOKEN:
                return parseDoubleSlashDoubleAsteriskLTToken();
            case SPECIFIC_FIELD:
                return parseSpecificField((STNode) args[0]);
            case OPTIONAL_MATCH_GUARD:
                return parseMatchGuard();
            case MATCH_PATTERN_START:
                return parseMatchPattern();
            case MATCH_PATTERN_RHS:
                return parseMatchPatternEnd();
            case ENUM_MEMBER_RHS:
                return parseEnumMemberRhs((STNode) args[0], (STNode) args[1]);
            case RECEIVE_FIELD:
                return parseReceiveField();
            case PARAM_END:
                return parseParameterRhs();
            case ELLIPSIS:
                return parseEllipsis();
            case BINARY_OPERATOR:
                return parseBinaryOperator();
            case QUESTION_MARK:
                return parseQuestionMark();
            case COMPOUND_BINARY_OPERATOR:
                return parseCompoundBinaryOperator();
            case UNARY_OPERATOR:
                return parseUnaryOperator();
            case AT:
                return parseAtToken();
            case RIGHT_ARROW:
                return parseRightArrow();
            case ATTACH_POINT:
                return parseAnnotationAttachPoint();
            case PIPE:
                return parsePipeToken();
            case INTERPOLATION_START_TOKEN:
                return parseInterpolationStart();
            case LIST_MATCH_PATTERN_MEMBER_RHS:
                return parseListMatchPatternMemberRhs();
            case LIST_BINDING_PATTERN_MEMBER:
                return parseListBindingPatternMember();
            case FIELD_MATCH_PATTERN_MEMBER:
                return parseFieldMatchPatternMember();
            case FIELD_MATCH_PATTERN_MEMBER_RHS:
                return parseFieldMatchPatternRhs();
            case FUNC_MATCH_PATTERN_OR_CONST_PATTERN:
                return parseFunctionalMatchPatternOrConsPattern((STNode) args[0]);
            case ARG_MATCH_PATTERN:
                return parseArgMatchPattern();
            case ARG_MATCH_PATTERN_RHS:
                return parseArgMatchPatternRhs();
            case ARG_BINDING_PATTERN:
                return parseArgBindingPattern();
            case ARG_BINDING_PATTERN_END:
                return parseArgsBindingPatternEnd();
            case TABLE_ROW_END:
                return parseTableRowEnd();
            case LIST_BP_OR_LIST_CONSTRUCTOR_MEMBER:
                return parseListBindingPatternOrListConstructorMember();
            case TUPLE_TYPE_DESC_OR_LIST_CONST_MEMBER:
                return parseTupleTypeDescOrListConstructorMember((STNode) args[0]);
            case REMOTE_CALL_OR_ASYNC_SEND_END:
                return parseRemoteCallOrAsyncSendEnd((STNode) args[0], (STNode) args[1], (STNode) args[2]);
            case RECEIVE_FIELD_END:
                return parseReceiveFieldEnd();
            case MAPPING_BP_OR_MAPPING_CONSTRUCTOR_MEMBER:
                return parseMappingBindingPatterOrMappingConstructorMember();
            default:
                throw new IllegalStateException("cannot resume parsing the rule: " + context);
        }
    }

Line commented on: return parseWaitField();

Revised code:
public STNode resumeOtherNodesParsing(ParserRuleContext context, Object... args) {
        switch (context) {
            case BRACKETED_LIST_RHS:
                return parseTypedBindingPatternOrMemberAccessRhs((STNode) args[0], (STNode) args[1], (STNode) args[2],
                        (STNode) args[3], (boolean) args[4], (boolean) args[5], (ParserRuleContext) args[6]);
            case VARIABLE_NAME:
                return parseVariableName();
            case WORKER_NAME:
                return parseWorkerName();
            case BINDING_PATTERN_OR_EXPR_RHS:
                return parseTypedBindingPatternOrExprRhs((STNode) args[0], (boolean) args[1]);
            case TYPE_DESC_OR_EXPR_RHS:
                return parseTypeDescOrExprRhs((STNode) args[0]);
            case LIST_BP_OR_LIST_CONSTRUCTOR_MEMBER:
                return parseListBindingPatternOrListConstructorMember();
            case TUPLE_TYPE_DESC_OR_LIST_CONST_MEMBER:
                return parseTupleTypeDescOrListConstructorMember((STNode) args[0]);
            case MAPPING_BP_OR_MAPPING_CONSTRUCTOR_MEMBER:
                return parseMappingBindingPatterOrMappingConstructorMember();
            default:
                throw new IllegalStateException("cannot resume parsing the rule: " + context);
        }
    }