shopify_api 4.13.0 → 12.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/CODEOWNERS +1 -0
- data/.github/ISSUE_TEMPLATE.md +35 -0
- data/.github/dependabot.yml +20 -0
- data/.github/pull_request_template.md +20 -0
- data/.github/workflows/build.yml +42 -0
- data/.github/workflows/cla.yml +22 -0
- data/.github/workflows/close-waiting-for-response-issues.yml +20 -0
- data/.github/workflows/remove-labels-on-activity.yml +16 -0
- data/.github/workflows/stale.yml +32 -0
- data/.rubocop.yml +56 -5
- data/BREAKING_CHANGES_FOR_OLDER_VERSIONS.md +110 -0
- data/CHANGELOG.md +568 -0
- data/CONTRIBUTING.md +4 -3
- data/Gemfile +9 -2
- data/Gemfile.lock +159 -0
- data/LICENSE +2 -2
- data/README.md +86 -218
- data/RELEASING.md +19 -0
- data/Rakefile +16 -32
- data/SECURITY.md +59 -0
- data/bin/tapioca +29 -0
- data/dev.yml +32 -0
- data/docs/README.md +13 -0
- data/docs/getting_started.md +53 -0
- data/docs/issues.md +39 -0
- data/docs/usage/graphql.md +115 -0
- data/docs/usage/graphql_storefront.md +42 -0
- data/docs/usage/oauth.md +105 -0
- data/docs/usage/rest.md +137 -0
- data/docs/usage/session_storage.md +46 -0
- data/docs/usage/webhooks.md +98 -0
- data/lib/shopify_api/admin_versions.rb +19 -0
- data/lib/shopify_api/auth/associated_user.rb +36 -0
- data/lib/shopify_api/auth/auth_scopes.rb +75 -0
- data/lib/shopify_api/auth/file_session_storage.rb +72 -0
- data/lib/shopify_api/auth/jwt_payload.rb +83 -0
- data/lib/shopify_api/auth/oauth/auth_query.rb +47 -0
- data/lib/shopify_api/auth/oauth/session_cookie.rb +28 -0
- data/lib/shopify_api/auth/oauth.rb +138 -0
- data/lib/shopify_api/auth/session.rb +119 -0
- data/lib/shopify_api/auth/session_storage.rb +30 -0
- data/lib/shopify_api/auth.rb +26 -0
- data/lib/shopify_api/clients/graphql/admin.rb +15 -0
- data/lib/shopify_api/clients/graphql/client.rb +40 -0
- data/lib/shopify_api/clients/graphql/storefront.rb +35 -0
- data/lib/shopify_api/clients/http_client.rb +100 -0
- data/lib/shopify_api/clients/http_request.rb +35 -0
- data/lib/shopify_api/clients/http_response.rb +66 -0
- data/lib/shopify_api/clients/rest/admin.rb +118 -0
- data/lib/shopify_api/context.rb +166 -0
- data/lib/shopify_api/errors/context_not_setup_error.rb +9 -0
- data/lib/shopify_api/errors/cookie_not_found_error.rb +9 -0
- data/lib/shopify_api/errors/http_response_error.rb +19 -0
- data/lib/shopify_api/errors/invalid_graphql_request_error.rb +9 -0
- data/lib/shopify_api/errors/invalid_http_request_error.rb +9 -0
- data/lib/shopify_api/errors/invalid_jwt_token_error.rb +9 -0
- data/lib/shopify_api/errors/invalid_oauth_error.rb +9 -0
- data/lib/shopify_api/errors/invalid_webhook_error.rb +9 -0
- data/lib/shopify_api/errors/invalid_webhook_registration_error.rb +9 -0
- data/lib/shopify_api/errors/max_http_retries_exceeded_error.rb +9 -0
- data/lib/shopify_api/errors/missing_jwt_token_error.rb +9 -0
- data/lib/shopify_api/errors/missing_required_argument_error.rb +9 -0
- data/lib/shopify_api/errors/no_active_session_error.rb +9 -0
- data/lib/shopify_api/errors/no_session_cookie_error.rb +9 -0
- data/lib/shopify_api/errors/no_webhook_handler.rb +9 -0
- data/lib/shopify_api/errors/private_app_error.rb +9 -0
- data/lib/shopify_api/errors/request_access_token_error.rb +9 -0
- data/lib/shopify_api/errors/session_not_found_error.rb +9 -0
- data/lib/shopify_api/errors/session_storage_error.rb +9 -0
- data/lib/shopify_api/errors/unsupported_oauth_error.rb +9 -0
- data/lib/shopify_api/errors/unsupported_version_error.rb +9 -0
- data/lib/shopify_api/errors/webhook_registration_error.rb +9 -0
- data/lib/shopify_api/inflector.rb +17 -0
- data/lib/shopify_api/rest/base.rb +387 -0
- data/lib/shopify_api/rest/base_errors.rb +32 -0
- data/lib/shopify_api/rest/resources/2022_01/abandoned_checkout.rb +190 -0
- data/lib/shopify_api/rest/resources/2022_01/access_scope.rb +58 -0
- data/lib/shopify_api/rest/resources/2022_01/android_pay_key.rb +77 -0
- data/lib/shopify_api/rest/resources/2022_01/apple_pay_certificate.rb +105 -0
- data/lib/shopify_api/rest/resources/2022_01/application_charge.rb +104 -0
- data/lib/shopify_api/rest/resources/2022_01/application_credit.rb +87 -0
- data/lib/shopify_api/rest/resources/2022_01/article.rb +265 -0
- data/lib/shopify_api/rest/resources/2022_01/asset.rb +118 -0
- data/lib/shopify_api/rest/resources/2022_01/assigned_fulfillment_order.rb +79 -0
- data/lib/shopify_api/rest/resources/2022_01/balance.rb +50 -0
- data/lib/shopify_api/rest/resources/2022_01/blog.rb +162 -0
- data/lib/shopify_api/rest/resources/2022_01/cancellation_request.rb +83 -0
- data/lib/shopify_api/rest/resources/2022_01/carrier_service.rb +116 -0
- data/lib/shopify_api/rest/resources/2022_01/checkout.rb +209 -0
- data/lib/shopify_api/rest/resources/2022_01/collect.rb +142 -0
- data/lib/shopify_api/rest/resources/2022_01/collection.rb +110 -0
- data/lib/shopify_api/rest/resources/2022_01/collection_listing.rb +155 -0
- data/lib/shopify_api/rest/resources/2022_01/comment.rb +283 -0
- data/lib/shopify_api/rest/resources/2022_01/country.rb +137 -0
- data/lib/shopify_api/rest/resources/2022_01/currency.rb +57 -0
- data/lib/shopify_api/rest/resources/2022_01/custom_collection.rb +187 -0
- data/lib/shopify_api/rest/resources/2022_01/customer.rb +318 -0
- data/lib/shopify_api/rest/resources/2022_01/customer_address.rb +201 -0
- data/lib/shopify_api/rest/resources/2022_01/customer_saved_search.rb +169 -0
- data/lib/shopify_api/rest/resources/2022_01/deprecated_api_call.rb +57 -0
- data/lib/shopify_api/rest/resources/2022_01/discount_code.rb +219 -0
- data/lib/shopify_api/rest/resources/2022_01/dispute.rb +111 -0
- data/lib/shopify_api/rest/resources/2022_01/draft_order.rb +275 -0
- data/lib/shopify_api/rest/resources/2022_01/event.rb +148 -0
- data/lib/shopify_api/rest/resources/2022_01/fulfillment.rb +268 -0
- data/lib/shopify_api/rest/resources/2022_01/fulfillment_event.rb +166 -0
- data/lib/shopify_api/rest/resources/2022_01/fulfillment_order.rb +281 -0
- data/lib/shopify_api/rest/resources/2022_01/fulfillment_request.rb +87 -0
- data/lib/shopify_api/rest/resources/2022_01/fulfillment_service.rb +130 -0
- data/lib/shopify_api/rest/resources/2022_01/gift_card.rb +215 -0
- data/lib/shopify_api/rest/resources/2022_01/gift_card_adjustment.rb +118 -0
- data/lib/shopify_api/rest/resources/2022_01/image.rb +157 -0
- data/lib/shopify_api/rest/resources/2022_01/inventory_item.rb +108 -0
- data/lib/shopify_api/rest/resources/2022_01/inventory_level.rb +179 -0
- data/lib/shopify_api/rest/resources/2022_01/location.rb +167 -0
- data/lib/shopify_api/rest/resources/2022_01/locations_for_move.rb +56 -0
- data/lib/shopify_api/rest/resources/2022_01/marketing_event.rb +209 -0
- data/lib/shopify_api/rest/resources/2022_01/metafield.rb +349 -0
- data/lib/shopify_api/rest/resources/2022_01/mobile_platform_application.rb +110 -0
- data/lib/shopify_api/rest/resources/2022_01/order.rb +473 -0
- data/lib/shopify_api/rest/resources/2022_01/order_risk.rb +135 -0
- data/lib/shopify_api/rest/resources/2022_01/page.rb +194 -0
- data/lib/shopify_api/rest/resources/2022_01/payment.rb +140 -0
- data/lib/shopify_api/rest/resources/2022_01/payment_gateway.rb +143 -0
- data/lib/shopify_api/rest/resources/2022_01/payment_transaction.rb +107 -0
- data/lib/shopify_api/rest/resources/2022_01/payout.rb +97 -0
- data/lib/shopify_api/rest/resources/2022_01/policy.rb +69 -0
- data/lib/shopify_api/rest/resources/2022_01/price_rule.rb +223 -0
- data/lib/shopify_api/rest/resources/2022_01/product.rb +223 -0
- data/lib/shopify_api/rest/resources/2022_01/product_listing.rb +196 -0
- data/lib/shopify_api/rest/resources/2022_01/product_resource_feedback.rb +88 -0
- data/lib/shopify_api/rest/resources/2022_01/province.rb +132 -0
- data/lib/shopify_api/rest/resources/2022_01/recurring_application_charge.rb +167 -0
- data/lib/shopify_api/rest/resources/2022_01/redirect.rb +139 -0
- data/lib/shopify_api/rest/resources/2022_01/refund.rb +151 -0
- data/lib/shopify_api/rest/resources/2022_01/report.rb +121 -0
- data/lib/shopify_api/rest/resources/2022_01/resource_feedback.rb +73 -0
- data/lib/shopify_api/rest/resources/2022_01/script_tag.rb +155 -0
- data/lib/shopify_api/rest/resources/2022_01/shipping_zone.rb +83 -0
- data/lib/shopify_api/rest/resources/2022_01/shop.rb +218 -0
- data/lib/shopify_api/rest/resources/2022_01/smart_collection.rb +216 -0
- data/lib/shopify_api/rest/resources/2022_01/storefront_access_token.rb +87 -0
- data/lib/shopify_api/rest/resources/2022_01/tender_transaction.rb +93 -0
- data/lib/shopify_api/rest/resources/2022_01/theme.rb +120 -0
- data/lib/shopify_api/rest/resources/2022_01/transaction.rb +181 -0
- data/lib/shopify_api/rest/resources/2022_01/usage_charge.rb +97 -0
- data/lib/shopify_api/rest/resources/2022_01/user.rb +138 -0
- data/lib/shopify_api/rest/resources/2022_01/variant.rb +212 -0
- data/lib/shopify_api/rest/resources/2022_01/webhook.rb +168 -0
- data/lib/shopify_api/rest/resources/2022_04/abandoned_checkout.rb +190 -0
- data/lib/shopify_api/rest/resources/2022_04/access_scope.rb +58 -0
- data/lib/shopify_api/rest/resources/2022_04/android_pay_key.rb +77 -0
- data/lib/shopify_api/rest/resources/2022_04/apple_pay_certificate.rb +105 -0
- data/lib/shopify_api/rest/resources/2022_04/application_charge.rb +104 -0
- data/lib/shopify_api/rest/resources/2022_04/application_credit.rb +87 -0
- data/lib/shopify_api/rest/resources/2022_04/article.rb +265 -0
- data/lib/shopify_api/rest/resources/2022_04/asset.rb +118 -0
- data/lib/shopify_api/rest/resources/2022_04/assigned_fulfillment_order.rb +79 -0
- data/lib/shopify_api/rest/resources/2022_04/balance.rb +50 -0
- data/lib/shopify_api/rest/resources/2022_04/blog.rb +162 -0
- data/lib/shopify_api/rest/resources/2022_04/cancellation_request.rb +83 -0
- data/lib/shopify_api/rest/resources/2022_04/carrier_service.rb +116 -0
- data/lib/shopify_api/rest/resources/2022_04/checkout.rb +209 -0
- data/lib/shopify_api/rest/resources/2022_04/collect.rb +142 -0
- data/lib/shopify_api/rest/resources/2022_04/collection.rb +110 -0
- data/lib/shopify_api/rest/resources/2022_04/collection_listing.rb +155 -0
- data/lib/shopify_api/rest/resources/2022_04/comment.rb +283 -0
- data/lib/shopify_api/rest/resources/2022_04/country.rb +137 -0
- data/lib/shopify_api/rest/resources/2022_04/currency.rb +57 -0
- data/lib/shopify_api/rest/resources/2022_04/custom_collection.rb +187 -0
- data/lib/shopify_api/rest/resources/2022_04/customer.rb +321 -0
- data/lib/shopify_api/rest/resources/2022_04/customer_address.rb +201 -0
- data/lib/shopify_api/rest/resources/2022_04/customer_saved_search.rb +169 -0
- data/lib/shopify_api/rest/resources/2022_04/deprecated_api_call.rb +57 -0
- data/lib/shopify_api/rest/resources/2022_04/discount_code.rb +219 -0
- data/lib/shopify_api/rest/resources/2022_04/dispute.rb +111 -0
- data/lib/shopify_api/rest/resources/2022_04/draft_order.rb +275 -0
- data/lib/shopify_api/rest/resources/2022_04/event.rb +148 -0
- data/lib/shopify_api/rest/resources/2022_04/fulfillment.rb +268 -0
- data/lib/shopify_api/rest/resources/2022_04/fulfillment_event.rb +166 -0
- data/lib/shopify_api/rest/resources/2022_04/fulfillment_order.rb +284 -0
- data/lib/shopify_api/rest/resources/2022_04/fulfillment_request.rb +87 -0
- data/lib/shopify_api/rest/resources/2022_04/fulfillment_service.rb +130 -0
- data/lib/shopify_api/rest/resources/2022_04/gift_card.rb +215 -0
- data/lib/shopify_api/rest/resources/2022_04/gift_card_adjustment.rb +118 -0
- data/lib/shopify_api/rest/resources/2022_04/image.rb +157 -0
- data/lib/shopify_api/rest/resources/2022_04/inventory_item.rb +108 -0
- data/lib/shopify_api/rest/resources/2022_04/inventory_level.rb +179 -0
- data/lib/shopify_api/rest/resources/2022_04/location.rb +167 -0
- data/lib/shopify_api/rest/resources/2022_04/locations_for_move.rb +56 -0
- data/lib/shopify_api/rest/resources/2022_04/marketing_event.rb +209 -0
- data/lib/shopify_api/rest/resources/2022_04/metafield.rb +342 -0
- data/lib/shopify_api/rest/resources/2022_04/mobile_platform_application.rb +110 -0
- data/lib/shopify_api/rest/resources/2022_04/order.rb +473 -0
- data/lib/shopify_api/rest/resources/2022_04/order_risk.rb +135 -0
- data/lib/shopify_api/rest/resources/2022_04/page.rb +194 -0
- data/lib/shopify_api/rest/resources/2022_04/payment.rb +140 -0
- data/lib/shopify_api/rest/resources/2022_04/payment_gateway.rb +143 -0
- data/lib/shopify_api/rest/resources/2022_04/payment_transaction.rb +107 -0
- data/lib/shopify_api/rest/resources/2022_04/payout.rb +97 -0
- data/lib/shopify_api/rest/resources/2022_04/policy.rb +69 -0
- data/lib/shopify_api/rest/resources/2022_04/price_rule.rb +223 -0
- data/lib/shopify_api/rest/resources/2022_04/product.rb +223 -0
- data/lib/shopify_api/rest/resources/2022_04/product_listing.rb +196 -0
- data/lib/shopify_api/rest/resources/2022_04/product_resource_feedback.rb +88 -0
- data/lib/shopify_api/rest/resources/2022_04/province.rb +132 -0
- data/lib/shopify_api/rest/resources/2022_04/recurring_application_charge.rb +167 -0
- data/lib/shopify_api/rest/resources/2022_04/redirect.rb +139 -0
- data/lib/shopify_api/rest/resources/2022_04/refund.rb +151 -0
- data/lib/shopify_api/rest/resources/2022_04/report.rb +121 -0
- data/lib/shopify_api/rest/resources/2022_04/resource_feedback.rb +73 -0
- data/lib/shopify_api/rest/resources/2022_04/script_tag.rb +155 -0
- data/lib/shopify_api/rest/resources/2022_04/shipping_zone.rb +83 -0
- data/lib/shopify_api/rest/resources/2022_04/shop.rb +218 -0
- data/lib/shopify_api/rest/resources/2022_04/smart_collection.rb +216 -0
- data/lib/shopify_api/rest/resources/2022_04/storefront_access_token.rb +87 -0
- data/lib/shopify_api/rest/resources/2022_04/tender_transaction.rb +93 -0
- data/lib/shopify_api/rest/resources/2022_04/theme.rb +120 -0
- data/lib/shopify_api/rest/resources/2022_04/transaction.rb +181 -0
- data/lib/shopify_api/rest/resources/2022_04/usage_charge.rb +97 -0
- data/lib/shopify_api/rest/resources/2022_04/user.rb +138 -0
- data/lib/shopify_api/rest/resources/2022_04/variant.rb +212 -0
- data/lib/shopify_api/rest/resources/2022_04/webhook.rb +168 -0
- data/lib/shopify_api/rest/resources/2022_07/abandoned_checkout.rb +190 -0
- data/lib/shopify_api/rest/resources/2022_07/access_scope.rb +58 -0
- data/lib/shopify_api/rest/resources/2022_07/android_pay_key.rb +77 -0
- data/lib/shopify_api/rest/resources/2022_07/apple_pay_certificate.rb +105 -0
- data/lib/shopify_api/rest/resources/2022_07/application_charge.rb +104 -0
- data/lib/shopify_api/rest/resources/2022_07/application_credit.rb +87 -0
- data/lib/shopify_api/rest/resources/2022_07/article.rb +265 -0
- data/lib/shopify_api/rest/resources/2022_07/asset.rb +118 -0
- data/lib/shopify_api/rest/resources/2022_07/assigned_fulfillment_order.rb +79 -0
- data/lib/shopify_api/rest/resources/2022_07/balance.rb +50 -0
- data/lib/shopify_api/rest/resources/2022_07/blog.rb +162 -0
- data/lib/shopify_api/rest/resources/2022_07/cancellation_request.rb +83 -0
- data/lib/shopify_api/rest/resources/2022_07/carrier_service.rb +113 -0
- data/lib/shopify_api/rest/resources/2022_07/checkout.rb +209 -0
- data/lib/shopify_api/rest/resources/2022_07/collect.rb +142 -0
- data/lib/shopify_api/rest/resources/2022_07/collection.rb +110 -0
- data/lib/shopify_api/rest/resources/2022_07/collection_listing.rb +155 -0
- data/lib/shopify_api/rest/resources/2022_07/comment.rb +283 -0
- data/lib/shopify_api/rest/resources/2022_07/country.rb +137 -0
- data/lib/shopify_api/rest/resources/2022_07/currency.rb +57 -0
- data/lib/shopify_api/rest/resources/2022_07/custom_collection.rb +187 -0
- data/lib/shopify_api/rest/resources/2022_07/customer.rb +321 -0
- data/lib/shopify_api/rest/resources/2022_07/customer_address.rb +201 -0
- data/lib/shopify_api/rest/resources/2022_07/customer_saved_search.rb +169 -0
- data/lib/shopify_api/rest/resources/2022_07/deprecated_api_call.rb +57 -0
- data/lib/shopify_api/rest/resources/2022_07/discount_code.rb +219 -0
- data/lib/shopify_api/rest/resources/2022_07/dispute.rb +111 -0
- data/lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb +117 -0
- data/lib/shopify_api/rest/resources/2022_07/dispute_file_upload.rb +81 -0
- data/lib/shopify_api/rest/resources/2022_07/draft_order.rb +275 -0
- data/lib/shopify_api/rest/resources/2022_07/event.rb +148 -0
- data/lib/shopify_api/rest/resources/2022_07/fulfillment.rb +221 -0
- data/lib/shopify_api/rest/resources/2022_07/fulfillment_event.rb +166 -0
- data/lib/shopify_api/rest/resources/2022_07/fulfillment_order.rb +310 -0
- data/lib/shopify_api/rest/resources/2022_07/fulfillment_request.rb +87 -0
- data/lib/shopify_api/rest/resources/2022_07/fulfillment_service.rb +130 -0
- data/lib/shopify_api/rest/resources/2022_07/gift_card.rb +215 -0
- data/lib/shopify_api/rest/resources/2022_07/gift_card_adjustment.rb +118 -0
- data/lib/shopify_api/rest/resources/2022_07/image.rb +157 -0
- data/lib/shopify_api/rest/resources/2022_07/inventory_item.rb +108 -0
- data/lib/shopify_api/rest/resources/2022_07/inventory_level.rb +179 -0
- data/lib/shopify_api/rest/resources/2022_07/location.rb +167 -0
- data/lib/shopify_api/rest/resources/2022_07/locations_for_move.rb +56 -0
- data/lib/shopify_api/rest/resources/2022_07/marketing_event.rb +209 -0
- data/lib/shopify_api/rest/resources/2022_07/metafield.rb +342 -0
- data/lib/shopify_api/rest/resources/2022_07/mobile_platform_application.rb +110 -0
- data/lib/shopify_api/rest/resources/2022_07/order.rb +473 -0
- data/lib/shopify_api/rest/resources/2022_07/order_risk.rb +135 -0
- data/lib/shopify_api/rest/resources/2022_07/page.rb +194 -0
- data/lib/shopify_api/rest/resources/2022_07/payment.rb +140 -0
- data/lib/shopify_api/rest/resources/2022_07/payment_gateway.rb +143 -0
- data/lib/shopify_api/rest/resources/2022_07/payment_transaction.rb +107 -0
- data/lib/shopify_api/rest/resources/2022_07/payout.rb +97 -0
- data/lib/shopify_api/rest/resources/2022_07/policy.rb +69 -0
- data/lib/shopify_api/rest/resources/2022_07/price_rule.rb +223 -0
- data/lib/shopify_api/rest/resources/2022_07/product.rb +223 -0
- data/lib/shopify_api/rest/resources/2022_07/product_listing.rb +196 -0
- data/lib/shopify_api/rest/resources/2022_07/product_resource_feedback.rb +88 -0
- data/lib/shopify_api/rest/resources/2022_07/province.rb +132 -0
- data/lib/shopify_api/rest/resources/2022_07/recurring_application_charge.rb +167 -0
- data/lib/shopify_api/rest/resources/2022_07/redirect.rb +139 -0
- data/lib/shopify_api/rest/resources/2022_07/refund.rb +151 -0
- data/lib/shopify_api/rest/resources/2022_07/report.rb +121 -0
- data/lib/shopify_api/rest/resources/2022_07/resource_feedback.rb +73 -0
- data/lib/shopify_api/rest/resources/2022_07/script_tag.rb +155 -0
- data/lib/shopify_api/rest/resources/2022_07/shipping_zone.rb +83 -0
- data/lib/shopify_api/rest/resources/2022_07/shop.rb +218 -0
- data/lib/shopify_api/rest/resources/2022_07/smart_collection.rb +216 -0
- data/lib/shopify_api/rest/resources/2022_07/storefront_access_token.rb +87 -0
- data/lib/shopify_api/rest/resources/2022_07/tender_transaction.rb +93 -0
- data/lib/shopify_api/rest/resources/2022_07/theme.rb +120 -0
- data/lib/shopify_api/rest/resources/2022_07/transaction.rb +181 -0
- data/lib/shopify_api/rest/resources/2022_07/usage_charge.rb +97 -0
- data/lib/shopify_api/rest/resources/2022_07/user.rb +138 -0
- data/lib/shopify_api/rest/resources/2022_07/variant.rb +212 -0
- data/lib/shopify_api/rest/resources/2022_07/webhook.rb +168 -0
- data/lib/shopify_api/rest/resources/2022_10/abandoned_checkout.rb +190 -0
- data/lib/shopify_api/rest/resources/2022_10/access_scope.rb +58 -0
- data/lib/shopify_api/rest/resources/2022_10/android_pay_key.rb +77 -0
- data/lib/shopify_api/rest/resources/2022_10/apple_pay_certificate.rb +105 -0
- data/lib/shopify_api/rest/resources/2022_10/application_charge.rb +104 -0
- data/lib/shopify_api/rest/resources/2022_10/application_credit.rb +87 -0
- data/lib/shopify_api/rest/resources/2022_10/article.rb +265 -0
- data/lib/shopify_api/rest/resources/2022_10/asset.rb +118 -0
- data/lib/shopify_api/rest/resources/2022_10/assigned_fulfillment_order.rb +79 -0
- data/lib/shopify_api/rest/resources/2022_10/balance.rb +50 -0
- data/lib/shopify_api/rest/resources/2022_10/blog.rb +162 -0
- data/lib/shopify_api/rest/resources/2022_10/cancellation_request.rb +83 -0
- data/lib/shopify_api/rest/resources/2022_10/carrier_service.rb +113 -0
- data/lib/shopify_api/rest/resources/2022_10/checkout.rb +209 -0
- data/lib/shopify_api/rest/resources/2022_10/collect.rb +142 -0
- data/lib/shopify_api/rest/resources/2022_10/collection.rb +110 -0
- data/lib/shopify_api/rest/resources/2022_10/collection_listing.rb +155 -0
- data/lib/shopify_api/rest/resources/2022_10/comment.rb +283 -0
- data/lib/shopify_api/rest/resources/2022_10/country.rb +137 -0
- data/lib/shopify_api/rest/resources/2022_10/currency.rb +57 -0
- data/lib/shopify_api/rest/resources/2022_10/custom_collection.rb +187 -0
- data/lib/shopify_api/rest/resources/2022_10/customer.rb +321 -0
- data/lib/shopify_api/rest/resources/2022_10/customer_address.rb +201 -0
- data/lib/shopify_api/rest/resources/2022_10/customer_saved_search.rb +169 -0
- data/lib/shopify_api/rest/resources/2022_10/deprecated_api_call.rb +57 -0
- data/lib/shopify_api/rest/resources/2022_10/discount_code.rb +219 -0
- data/lib/shopify_api/rest/resources/2022_10/dispute.rb +111 -0
- data/lib/shopify_api/rest/resources/2022_10/dispute_evidence.rb +117 -0
- data/lib/shopify_api/rest/resources/2022_10/dispute_file_upload.rb +81 -0
- data/lib/shopify_api/rest/resources/2022_10/draft_order.rb +275 -0
- data/lib/shopify_api/rest/resources/2022_10/event.rb +148 -0
- data/lib/shopify_api/rest/resources/2022_10/fulfillment.rb +221 -0
- data/lib/shopify_api/rest/resources/2022_10/fulfillment_event.rb +166 -0
- data/lib/shopify_api/rest/resources/2022_10/fulfillment_order.rb +310 -0
- data/lib/shopify_api/rest/resources/2022_10/fulfillment_request.rb +87 -0
- data/lib/shopify_api/rest/resources/2022_10/fulfillment_service.rb +130 -0
- data/lib/shopify_api/rest/resources/2022_10/gift_card.rb +215 -0
- data/lib/shopify_api/rest/resources/2022_10/gift_card_adjustment.rb +118 -0
- data/lib/shopify_api/rest/resources/2022_10/image.rb +157 -0
- data/lib/shopify_api/rest/resources/2022_10/inventory_item.rb +108 -0
- data/lib/shopify_api/rest/resources/2022_10/inventory_level.rb +179 -0
- data/lib/shopify_api/rest/resources/2022_10/location.rb +167 -0
- data/lib/shopify_api/rest/resources/2022_10/locations_for_move.rb +56 -0
- data/lib/shopify_api/rest/resources/2022_10/marketing_event.rb +209 -0
- data/lib/shopify_api/rest/resources/2022_10/metafield.rb +342 -0
- data/lib/shopify_api/rest/resources/2022_10/mobile_platform_application.rb +110 -0
- data/lib/shopify_api/rest/resources/2022_10/order.rb +476 -0
- data/lib/shopify_api/rest/resources/2022_10/order_risk.rb +135 -0
- data/lib/shopify_api/rest/resources/2022_10/page.rb +194 -0
- data/lib/shopify_api/rest/resources/2022_10/payment.rb +140 -0
- data/lib/shopify_api/rest/resources/2022_10/payment_gateway.rb +143 -0
- data/lib/shopify_api/rest/resources/2022_10/payment_transaction.rb +107 -0
- data/lib/shopify_api/rest/resources/2022_10/payout.rb +97 -0
- data/lib/shopify_api/rest/resources/2022_10/policy.rb +69 -0
- data/lib/shopify_api/rest/resources/2022_10/price_rule.rb +223 -0
- data/lib/shopify_api/rest/resources/2022_10/product.rb +223 -0
- data/lib/shopify_api/rest/resources/2022_10/product_listing.rb +196 -0
- data/lib/shopify_api/rest/resources/2022_10/product_resource_feedback.rb +88 -0
- data/lib/shopify_api/rest/resources/2022_10/province.rb +132 -0
- data/lib/shopify_api/rest/resources/2022_10/recurring_application_charge.rb +167 -0
- data/lib/shopify_api/rest/resources/2022_10/redirect.rb +139 -0
- data/lib/shopify_api/rest/resources/2022_10/refund.rb +151 -0
- data/lib/shopify_api/rest/resources/2022_10/report.rb +121 -0
- data/lib/shopify_api/rest/resources/2022_10/resource_feedback.rb +73 -0
- data/lib/shopify_api/rest/resources/2022_10/script_tag.rb +155 -0
- data/lib/shopify_api/rest/resources/2022_10/shipping_zone.rb +83 -0
- data/lib/shopify_api/rest/resources/2022_10/shop.rb +221 -0
- data/lib/shopify_api/rest/resources/2022_10/smart_collection.rb +216 -0
- data/lib/shopify_api/rest/resources/2022_10/storefront_access_token.rb +87 -0
- data/lib/shopify_api/rest/resources/2022_10/tender_transaction.rb +93 -0
- data/lib/shopify_api/rest/resources/2022_10/theme.rb +120 -0
- data/lib/shopify_api/rest/resources/2022_10/transaction.rb +181 -0
- data/lib/shopify_api/rest/resources/2022_10/usage_charge.rb +97 -0
- data/lib/shopify_api/rest/resources/2022_10/user.rb +138 -0
- data/lib/shopify_api/rest/resources/2022_10/variant.rb +212 -0
- data/lib/shopify_api/rest/resources/2022_10/webhook.rb +168 -0
- data/lib/shopify_api/utils/graphql_proxy.rb +52 -0
- data/lib/shopify_api/utils/hmac_validator.rb +44 -0
- data/lib/shopify_api/utils/http_utils.rb +17 -0
- data/lib/shopify_api/utils/session_utils.rb +135 -0
- data/lib/shopify_api/utils/verifiable_query.rb +18 -0
- data/lib/shopify_api/version.rb +4 -1
- data/lib/shopify_api/webhooks/handler.rb +15 -0
- data/lib/shopify_api/webhooks/register_result.rb +14 -0
- data/lib/shopify_api/webhooks/registration.rb +73 -0
- data/lib/shopify_api/webhooks/registrations/event_bridge.rb +61 -0
- data/lib/shopify_api/webhooks/registrations/http.rb +72 -0
- data/lib/shopify_api/webhooks/registrations/pub_sub.rb +65 -0
- data/lib/shopify_api/webhooks/registry.rb +215 -0
- data/lib/shopify_api/webhooks/request.rb +56 -0
- data/lib/shopify_api.rb +19 -26
- data/service.yml +1 -0
- data/shipit.rubygems.yml +1 -1
- data/shopify_api.gemspec +36 -19
- data/sorbet/config +3 -0
- data/sorbet/rbi/gems/activesupport@7.0.1.rbi +654 -0
- data/sorbet/rbi/gems/addressable@2.8.0.rbi +290 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +2401 -0
- data/sorbet/rbi/gems/crack@0.4.5.rbi +57 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +185 -0
- data/sorbet/rbi/gems/fakefs@1.4.1.rbi +571 -0
- data/sorbet/rbi/gems/hash_diff@1.0.0.rbi +47 -0
- data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +82 -0
- data/sorbet/rbi/gems/httparty@0.20.0.rbi +573 -0
- data/sorbet/rbi/gems/i18n@1.8.11.rbi +25 -0
- data/sorbet/rbi/gems/jwt@2.3.0.rbi +437 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/mime-types-data@3.2022.0105.rbi +73 -0
- data/sorbet/rbi/gems/mime-types@3.4.1.rbi +295 -0
- data/sorbet/rbi/gems/minitest@5.15.0.rbi +541 -0
- data/sorbet/rbi/gems/mocha@1.13.0.rbi +986 -0
- data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +36 -0
- data/sorbet/rbi/gems/oj@3.13.11.rbi +274 -0
- data/sorbet/rbi/gems/openssl@3.0.0.rbi +581 -0
- data/sorbet/rbi/gems/parallel@1.21.0.rbi +113 -0
- data/sorbet/rbi/gems/parser@3.1.0.0.rbi +1741 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
- data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +145 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +157 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +814 -0
- data/sorbet/rbi/gems/rbi@0.0.11.rbi +1646 -0
- data/sorbet/rbi/gems/regexp_parser@2.2.0.rbi +1130 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +709 -0
- data/sorbet/rbi/gems/rubocop-ast@1.15.1.rbi +1921 -0
- data/sorbet/rbi/gems/rubocop-shopify@2.4.0.rbi +8 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.5.rbi +295 -0
- data/sorbet/rbi/gems/rubocop@1.25.1.rbi +13507 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
- data/sorbet/rbi/gems/securerandom@0.1.1.rbi +10 -0
- data/sorbet/rbi/gems/spoom@1.1.8.rbi +1252 -0
- data/sorbet/rbi/gems/tapioca@0.6.3.rbi +1238 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +844 -0
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +858 -0
- data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +26 -0
- data/sorbet/rbi/gems/unparser@0.6.3.rbi +1816 -0
- data/sorbet/rbi/gems/webmock@3.14.0.rbi +683 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +601 -0
- data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +199 -0
- data/sorbet/rbi/gems/yard@0.9.27.rbi +4145 -0
- data/sorbet/rbi/gems/zeitwerk@2.5.4.rbi +200 -0
- data/sorbet/rbi/shims/fakefs.rbi +1 -0
- data/sorbet/rbi/shims/openssl.rb +3 -0
- data/sorbet/rbi/todo.rbi +8 -0
- data/sorbet/tapioca/config.yml +4 -0
- data/sorbet/tapioca/require.rb +20 -0
- metadata +603 -280
- data/.document +0 -5
- data/.gitignore +0 -10
- data/.travis.yml +0 -32
- data/CHANGELOG +0 -310
- data/CONTRIBUTORS +0 -3
- data/Gemfile_ar30 +0 -6
- data/Gemfile_ar31 +0 -6
- data/Gemfile_ar32 +0 -6
- data/Gemfile_ar40 +0 -6
- data/Gemfile_ar_master +0 -6
- data/RELEASING +0 -16
- data/bin/shopify +0 -3
- data/lib/active_resource/base_ext.rb +0 -21
- data/lib/active_resource/connection_ext.rb +0 -10
- data/lib/active_resource/detailed_log_subscriber.rb +0 -19
- data/lib/active_resource/disable_prefix_check.rb +0 -36
- data/lib/active_resource/json_errors.rb +0 -31
- data/lib/active_resource/to_query.rb +0 -10
- data/lib/shopify_api/connection.rb +0 -33
- data/lib/shopify_api/countable.rb +0 -14
- data/lib/shopify_api/events.rb +0 -7
- data/lib/shopify_api/json_format.rb +0 -18
- data/lib/shopify_api/limits.rb +0 -76
- data/lib/shopify_api/metafields.rb +0 -20
- data/lib/shopify_api/resources/access_scope.rb +0 -5
- data/lib/shopify_api/resources/access_token.rb +0 -8
- data/lib/shopify_api/resources/address.rb +0 -4
- data/lib/shopify_api/resources/announcement.rb +0 -4
- data/lib/shopify_api/resources/api_permission.rb +0 -9
- data/lib/shopify_api/resources/application_charge.rb +0 -15
- data/lib/shopify_api/resources/application_credit.rb +0 -4
- data/lib/shopify_api/resources/article.rb +0 -21
- data/lib/shopify_api/resources/asset.rb +0 -96
- data/lib/shopify_api/resources/base.rb +0 -89
- data/lib/shopify_api/resources/billing_address.rb +0 -4
- data/lib/shopify_api/resources/blog.rb +0 -10
- data/lib/shopify_api/resources/carrier_service.rb +0 -4
- data/lib/shopify_api/resources/cart.rb +0 -4
- data/lib/shopify_api/resources/checkout.rb +0 -4
- data/lib/shopify_api/resources/collect.rb +0 -5
- data/lib/shopify_api/resources/collection_listing.rb +0 -9
- data/lib/shopify_api/resources/comment.rb +0 -9
- data/lib/shopify_api/resources/country.rb +0 -4
- data/lib/shopify_api/resources/custom_collection.rb +0 -19
- data/lib/shopify_api/resources/customer.rb +0 -29
- data/lib/shopify_api/resources/customer_group.rb +0 -5
- data/lib/shopify_api/resources/customer_invite.rb +0 -4
- data/lib/shopify_api/resources/customer_saved_search.rb +0 -9
- data/lib/shopify_api/resources/discount_code.rb +0 -9
- data/lib/shopify_api/resources/draft_order.rb +0 -14
- data/lib/shopify_api/resources/draft_order_invoice.rb +0 -4
- data/lib/shopify_api/resources/event.rb +0 -7
- data/lib/shopify_api/resources/fulfillment.rb +0 -13
- data/lib/shopify_api/resources/fulfillment_event.rb +0 -15
- data/lib/shopify_api/resources/fulfillment_request.rb +0 -15
- data/lib/shopify_api/resources/fulfillment_service.rb +0 -4
- data/lib/shopify_api/resources/gift_card.rb +0 -7
- data/lib/shopify_api/resources/graphql.rb +0 -22
- data/lib/shopify_api/resources/image.rb +0 -16
- data/lib/shopify_api/resources/inventory_item.rb +0 -6
- data/lib/shopify_api/resources/inventory_level.rb +0 -55
- data/lib/shopify_api/resources/line_item.rb +0 -14
- data/lib/shopify_api/resources/location.rb +0 -8
- data/lib/shopify_api/resources/marketing_event.rb +0 -8
- data/lib/shopify_api/resources/metafield.rb +0 -12
- data/lib/shopify_api/resources/note_attribute.rb +0 -4
- data/lib/shopify_api/resources/o_auth.rb +0 -17
- data/lib/shopify_api/resources/option.rb +0 -4
- data/lib/shopify_api/resources/order.rb +0 -29
- data/lib/shopify_api/resources/order_risk.rb +0 -8
- data/lib/shopify_api/resources/page.rb +0 -6
- data/lib/shopify_api/resources/payment_details.rb +0 -4
- data/lib/shopify_api/resources/ping/conversation.rb +0 -18
- data/lib/shopify_api/resources/ping/message.rb +0 -9
- data/lib/shopify_api/resources/ping.rb +0 -3
- data/lib/shopify_api/resources/policy.rb +0 -7
- data/lib/shopify_api/resources/price_rule.rb +0 -8
- data/lib/shopify_api/resources/product.rb +0 -33
- data/lib/shopify_api/resources/product_listing.rb +0 -9
- data/lib/shopify_api/resources/province.rb +0 -5
- data/lib/shopify_api/resources/receipt.rb +0 -4
- data/lib/shopify_api/resources/recurring_application_charge.rb +0 -31
- data/lib/shopify_api/resources/redirect.rb +0 -4
- data/lib/shopify_api/resources/refund.rb +0 -13
- data/lib/shopify_api/resources/report.rb +0 -4
- data/lib/shopify_api/resources/resource_feedback.rb +0 -19
- data/lib/shopify_api/resources/rule.rb +0 -4
- data/lib/shopify_api/resources/script_tag.rb +0 -4
- data/lib/shopify_api/resources/shipping_address.rb +0 -4
- data/lib/shopify_api/resources/shipping_line.rb +0 -4
- data/lib/shopify_api/resources/shipping_zone.rb +0 -4
- data/lib/shopify_api/resources/shop.rb +0 -23
- data/lib/shopify_api/resources/smart_collection.rb +0 -15
- data/lib/shopify_api/resources/storefront_access_token.rb +0 -4
- data/lib/shopify_api/resources/tax_line.rb +0 -4
- data/lib/shopify_api/resources/tax_service.rb +0 -4
- data/lib/shopify_api/resources/theme.rb +0 -4
- data/lib/shopify_api/resources/transaction.rb +0 -5
- data/lib/shopify_api/resources/usage_charge.rb +0 -5
- data/lib/shopify_api/resources/user.rb +0 -4
- data/lib/shopify_api/resources/variant.rb +0 -8
- data/lib/shopify_api/resources/webhook.rb +0 -4
- data/lib/shopify_api/resources.rb +0 -2
- data/lib/shopify_api/session.rb +0 -144
- data/test/access_token_test.rb +0 -19
- data/test/active_resource/json_errors_test.rb +0 -19
- data/test/api_permission_test.rb +0 -9
- data/test/application_charge_test.rb +0 -79
- data/test/application_credit_test.rb +0 -35
- data/test/article_test.rb +0 -73
- data/test/asset_test.rb +0 -18
- data/test/base_test.rb +0 -125
- data/test/blog_test.rb +0 -8
- data/test/carrier_service_test.rb +0 -17
- data/test/cart_test.rb +0 -13
- data/test/checkouts_test.rb +0 -9
- data/test/collect_test.rb +0 -9
- data/test/collection_listing_test.rb +0 -41
- data/test/countable_test.rb +0 -13
- data/test/custom_collection_test.rb +0 -9
- data/test/customer_saved_search_test.rb +0 -27
- data/test/customer_test.rb +0 -50
- data/test/detailed_log_subscriber_test.rb +0 -49
- data/test/discount_code_test.rb +0 -53
- data/test/draft_order_test.rb +0 -151
- data/test/fixtures/access_token_delegate.json +0 -4
- data/test/fixtures/application_charge.json +0 -16
- data/test/fixtures/application_charges.json +0 -57
- data/test/fixtures/application_credit.json +0 -12
- data/test/fixtures/application_credits.json +0 -24
- data/test/fixtures/article.json +0 -15
- data/test/fixtures/articles.json +0 -39
- data/test/fixtures/asset.json +0 -9
- data/test/fixtures/assets.json +0 -136
- data/test/fixtures/authors.json +0 -1
- data/test/fixtures/blog.json +0 -13
- data/test/fixtures/blogs.json +0 -13
- data/test/fixtures/carrier_service.json +0 -9
- data/test/fixtures/carts.json +0 -43
- data/test/fixtures/checkouts.json +0 -186
- data/test/fixtures/collect.json +0 -12
- data/test/fixtures/collection_listing.json +0 -11
- data/test/fixtures/collection_listing_product_ids.json +0 -1
- data/test/fixtures/collection_listings.json +0 -13
- data/test/fixtures/custom_collection.json +0 -17
- data/test/fixtures/customer_invite.json +0 -9
- data/test/fixtures/customer_saved_search.json +0 -9
- data/test/fixtures/customer_saved_search_customers.json +0 -60
- data/test/fixtures/customers.json +0 -59
- data/test/fixtures/customers_account_activation_url.json +0 -3
- data/test/fixtures/customers_search.json +0 -60
- data/test/fixtures/discount_code.json +0 -10
- data/test/fixtures/discount_codes.json +0 -12
- data/test/fixtures/draft_order.json +0 -159
- data/test/fixtures/draft_order_completed.json +0 -159
- data/test/fixtures/draft_order_invoice.json +0 -9
- data/test/fixtures/draft_orders.json +0 -161
- data/test/fixtures/engagement.json +0 -15
- data/test/fixtures/events.json +0 -31
- data/test/fixtures/fulfillment.json +0 -49
- data/test/fixtures/fulfillment_event.json +0 -12
- data/test/fixtures/fulfillment_request.json +0 -28
- data/test/fixtures/fulfillment_service.json +0 -10
- data/test/fixtures/gift_card.json +0 -20
- data/test/fixtures/gift_card_disabled.json +0 -20
- data/test/fixtures/image.json +0 -10
- data/test/fixtures/images.json +0 -20
- data/test/fixtures/inventory_level.json +0 -7
- data/test/fixtures/inventory_levels.json +0 -24
- data/test/fixtures/marketing_event.json +0 -28
- data/test/fixtures/marketing_events.json +0 -54
- data/test/fixtures/metafield.json +0 -12
- data/test/fixtures/metafields.json +0 -34
- data/test/fixtures/o_auth_revoke.json +0 -5
- data/test/fixtures/order.json +0 -297
- data/test/fixtures/order_risk.json +0 -14
- data/test/fixtures/order_risks.json +0 -28
- data/test/fixtures/order_with_properties.json +0 -373
- data/test/fixtures/orders.json +0 -299
- data/test/fixtures/ping/conversation.json +0 -1
- data/test/fixtures/ping/message.json +0 -1
- data/test/fixtures/policies.json +0 -8
- data/test/fixtures/price_rule.json +0 -27
- data/test/fixtures/price_rules.json +0 -28
- data/test/fixtures/product.json +0 -116
- data/test/fixtures/product_listing.json +0 -86
- data/test/fixtures/product_listing_product_ids.json +0 -1
- data/test/fixtures/product_listings.json +0 -174
- data/test/fixtures/recurring_application_charge.json +0 -22
- data/test/fixtures/recurring_application_charge_adjustment.json +0 -5
- data/test/fixtures/recurring_application_charges.json +0 -106
- data/test/fixtures/redirect.json +0 -7
- data/test/fixtures/refund.json +0 -112
- data/test/fixtures/report.json +0 -9
- data/test/fixtures/reports.json +0 -11
- data/test/fixtures/script_tag.json +0 -10
- data/test/fixtures/script_tags.json +0 -18
- data/test/fixtures/shipping_zones.json +0 -315
- data/test/fixtures/shop.json +0 -26
- data/test/fixtures/smart_collection.json +0 -21
- data/test/fixtures/storefront_access_token.json +0 -9
- data/test/fixtures/storefront_access_tokens.json +0 -18
- data/test/fixtures/tags.json +0 -1
- data/test/fixtures/tax_service.json +0 -9
- data/test/fixtures/transaction.json +0 -29
- data/test/fixtures/usage_charge.json +0 -11
- data/test/fixtures/usage_charges.json +0 -23
- data/test/fixtures/user.json +0 -21
- data/test/fixtures/users.json +0 -42
- data/test/fixtures/variant.json +0 -23
- data/test/fixtures/variants.json +0 -88
- data/test/fixtures/webhook.json +0 -10
- data/test/fixtures/webhooks.json +0 -18
- data/test/fulfillment_event_test.rb +0 -69
- data/test/fulfillment_request_test.rb +0 -33
- data/test/fulfillment_service_test.rb +0 -17
- data/test/fulfillment_test.rb +0 -61
- data/test/gift_card_test.rb +0 -22
- data/test/image_test.rb +0 -39
- data/test/inventory_level_test.rb +0 -59
- data/test/limits_test.rb +0 -38
- data/test/location_test.rb +0 -14
- data/test/marketing_event_test.rb +0 -68
- data/test/metafield_test.rb +0 -46
- data/test/o_auth_test.rb +0 -8
- data/test/order_risk_test.rb +0 -46
- data/test/order_test.rb +0 -59
- data/test/ping/conversation_test.rb +0 -39
- data/test/policy_test.rb +0 -19
- data/test/price_rule_test.rb +0 -65
- data/test/product_listing_test.rb +0 -40
- data/test/product_test.rb +0 -50
- data/test/recurring_application_charge_test.rb +0 -149
- data/test/redirect_test.rb +0 -9
- data/test/refund_test.rb +0 -32
- data/test/report_test.rb +0 -35
- data/test/resource_feedback_test.rb +0 -42
- data/test/script_tag_test.rb +0 -30
- data/test/session_test.rb +0 -250
- data/test/shipping_zone_test.rb +0 -10
- data/test/shop_test.rb +0 -68
- data/test/smart_collection_test.rb +0 -10
- data/test/storefront_access_token_test.rb +0 -32
- data/test/tax_service_test.rb +0 -8
- data/test/test_helper.rb +0 -97
- data/test/transaction_test.rb +0 -17
- data/test/usage_charge_test.rb +0 -21
- data/test/user_test.rb +0 -17
- data/test/variant_test.rb +0 -46
- data/test/webhook_test.rb +0 -21
@@ -0,0 +1,4145 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `yard` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem yard`.
|
6
|
+
|
7
|
+
class Array
|
8
|
+
include ::Enumerable
|
9
|
+
include ::JSON::Ext::Generator::GeneratorMethods::Array
|
10
|
+
include ::Mocha::Inspect::ArrayMethods
|
11
|
+
|
12
|
+
def place(*values); end
|
13
|
+
end
|
14
|
+
|
15
|
+
class File < ::IO
|
16
|
+
class << self
|
17
|
+
def cleanpath(path, rel_root = T.unsafe(nil)); end
|
18
|
+
def open!(file, *args, &block); end
|
19
|
+
def read_binary(file); end
|
20
|
+
def relative_path(from, to); end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
File::RELATIVE_PARENTDIR = T.let(T.unsafe(nil), String)
|
25
|
+
File::RELATIVE_SAMEDIR = T.let(T.unsafe(nil), String)
|
26
|
+
|
27
|
+
module Gem
|
28
|
+
class << self
|
29
|
+
def source_index; end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
Gem::Cache = Gem::SourceIndex
|
34
|
+
Gem::ConfigMap = T.let(T.unsafe(nil), Hash)
|
35
|
+
|
36
|
+
module Gem::DefaultUserInteraction
|
37
|
+
include ::Gem::Text
|
38
|
+
end
|
39
|
+
|
40
|
+
Gem::HAVE_OPENSSL = T.let(T.unsafe(nil), String)
|
41
|
+
|
42
|
+
class Gem::List
|
43
|
+
include ::Enumerable
|
44
|
+
end
|
45
|
+
|
46
|
+
Gem::RbConfigPriorities = T.let(T.unsafe(nil), Array)
|
47
|
+
|
48
|
+
class Gem::RequestSet
|
49
|
+
include ::TSort
|
50
|
+
end
|
51
|
+
|
52
|
+
class Gem::Resolver
|
53
|
+
include ::Gem::Resolver::Molinillo::UI
|
54
|
+
include ::Gem::Resolver::Molinillo::SpecificationProvider
|
55
|
+
end
|
56
|
+
|
57
|
+
class Gem::Resolver::CurrentSet < ::Gem::Resolver::Set
|
58
|
+
def find_all(req); end
|
59
|
+
end
|
60
|
+
|
61
|
+
class Gem::Resolver::LocalSpecification < ::Gem::Resolver::SpecSpecification
|
62
|
+
def installable_platform?; end
|
63
|
+
def local?; end
|
64
|
+
def pretty_print(q); end
|
65
|
+
end
|
66
|
+
|
67
|
+
class Gem::Resolver::RequirementList
|
68
|
+
include ::Enumerable
|
69
|
+
end
|
70
|
+
|
71
|
+
Gem::RubyGemsVersion = T.let(T.unsafe(nil), String)
|
72
|
+
|
73
|
+
class Gem::RuntimeRequirementNotMetError < ::Gem::InstallError
|
74
|
+
def message; end
|
75
|
+
def suggestion; end
|
76
|
+
def suggestion=(_arg0); end
|
77
|
+
end
|
78
|
+
|
79
|
+
class Gem::Source
|
80
|
+
include ::Comparable
|
81
|
+
include ::Gem::Text
|
82
|
+
end
|
83
|
+
|
84
|
+
class Gem::SourceIndex
|
85
|
+
include ::Enumerable
|
86
|
+
|
87
|
+
def initialize(specifications = T.unsafe(nil)); end
|
88
|
+
|
89
|
+
def ==(other); end
|
90
|
+
def add_spec(gem_spec, name = T.unsafe(nil)); end
|
91
|
+
def add_specs(*gem_specs); end
|
92
|
+
def all_gems; end
|
93
|
+
def dump; end
|
94
|
+
def each(&block); end
|
95
|
+
def find_name(gem_name, requirement = T.unsafe(nil)); end
|
96
|
+
def gem_signature(gem_full_name); end
|
97
|
+
def gems; end
|
98
|
+
def index_signature; end
|
99
|
+
def latest_specs(include_prerelease = T.unsafe(nil)); end
|
100
|
+
def length; end
|
101
|
+
def load_gems_in(*spec_dirs); end
|
102
|
+
def outdated; end
|
103
|
+
def prerelease_gems; end
|
104
|
+
def prerelease_specs; end
|
105
|
+
def refresh!; end
|
106
|
+
def released_gems; end
|
107
|
+
def released_specs; end
|
108
|
+
def remove_spec(full_name); end
|
109
|
+
def search(gem_pattern, platform_only = T.unsafe(nil)); end
|
110
|
+
def size; end
|
111
|
+
def spec_dirs; end
|
112
|
+
def spec_dirs=(_arg0); end
|
113
|
+
def specification(full_name); end
|
114
|
+
|
115
|
+
class << self
|
116
|
+
def from_gems_in(*spec_dirs); end
|
117
|
+
def from_installed_gems(*deprecated); end
|
118
|
+
def installed_spec_directories; end
|
119
|
+
def load_specification(file_name); end
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
class Gem::SpecificationPolicy
|
124
|
+
include ::Gem::Text
|
125
|
+
include ::Gem::DefaultUserInteraction
|
126
|
+
include ::Gem::UserInteraction
|
127
|
+
|
128
|
+
def initialize(specification); end
|
129
|
+
|
130
|
+
def packaging; end
|
131
|
+
def packaging=(_arg0); end
|
132
|
+
def validate(strict = T.unsafe(nil)); end
|
133
|
+
def validate_dependencies; end
|
134
|
+
def validate_duplicate_dependencies; end
|
135
|
+
def validate_metadata; end
|
136
|
+
def validate_optional(strict); end
|
137
|
+
def validate_permissions; end
|
138
|
+
def validate_required!; end
|
139
|
+
|
140
|
+
private
|
141
|
+
|
142
|
+
def error(statement); end
|
143
|
+
def help_text; end
|
144
|
+
def validate_array_attribute(field); end
|
145
|
+
def validate_array_attributes; end
|
146
|
+
def validate_attribute_present(attribute); end
|
147
|
+
def validate_authors_field; end
|
148
|
+
def validate_extensions; end
|
149
|
+
def validate_lazy_metadata; end
|
150
|
+
def validate_licenses; end
|
151
|
+
def validate_licenses_length; end
|
152
|
+
def validate_name; end
|
153
|
+
def validate_nil_attributes; end
|
154
|
+
def validate_non_files; end
|
155
|
+
def validate_platform; end
|
156
|
+
def validate_removed_attributes; end
|
157
|
+
def validate_require_paths; end
|
158
|
+
def validate_required_attributes; end
|
159
|
+
def validate_rubygems_version; end
|
160
|
+
def validate_self_inclusion_in_files_list; end
|
161
|
+
def validate_shebang_line_in(executable); end
|
162
|
+
def validate_specification_version; end
|
163
|
+
def validate_values; end
|
164
|
+
def warning(statement); end
|
165
|
+
end
|
166
|
+
|
167
|
+
Gem::SpecificationPolicy::HOMEPAGE_URI_PATTERN = T.let(T.unsafe(nil), Regexp)
|
168
|
+
Gem::SpecificationPolicy::LAZY = T.let(T.unsafe(nil), String)
|
169
|
+
Gem::SpecificationPolicy::LAZY_PATTERN = T.let(T.unsafe(nil), Regexp)
|
170
|
+
Gem::SpecificationPolicy::METADATA_LINK_KEYS = T.let(T.unsafe(nil), Array)
|
171
|
+
Gem::SpecificationPolicy::SPECIAL_CHARACTERS = T.let(T.unsafe(nil), Regexp)
|
172
|
+
Gem::SpecificationPolicy::VALID_NAME_PATTERN = T.let(T.unsafe(nil), Regexp)
|
173
|
+
Gem::SpecificationPolicy::VALID_URI_PATTERN = T.let(T.unsafe(nil), Regexp)
|
174
|
+
|
175
|
+
class Gem::StreamUI
|
176
|
+
extend ::Gem::Deprecate
|
177
|
+
end
|
178
|
+
|
179
|
+
class Gem::StreamUI::SilentDownloadReporter
|
180
|
+
def initialize(out_stream, *args); end
|
181
|
+
|
182
|
+
def done; end
|
183
|
+
def fetch(filename, filesize); end
|
184
|
+
def update(current); end
|
185
|
+
end
|
186
|
+
|
187
|
+
class Gem::StreamUI::SilentProgressReporter
|
188
|
+
def initialize(out_stream, size, initial_message, terminal_message = T.unsafe(nil)); end
|
189
|
+
|
190
|
+
def count; end
|
191
|
+
def done; end
|
192
|
+
def updated(message); end
|
193
|
+
end
|
194
|
+
|
195
|
+
class Gem::StreamUI::SimpleProgressReporter
|
196
|
+
include ::Gem::Text
|
197
|
+
include ::Gem::DefaultUserInteraction
|
198
|
+
|
199
|
+
def initialize(out_stream, size, initial_message, terminal_message = T.unsafe(nil)); end
|
200
|
+
|
201
|
+
def count; end
|
202
|
+
def done; end
|
203
|
+
def updated(message); end
|
204
|
+
end
|
205
|
+
|
206
|
+
class Gem::StreamUI::ThreadedDownloadReporter
|
207
|
+
def initialize(out_stream, *args); end
|
208
|
+
|
209
|
+
def done; end
|
210
|
+
def fetch(file_name, *args); end
|
211
|
+
def file_name; end
|
212
|
+
def update(bytes); end
|
213
|
+
|
214
|
+
private
|
215
|
+
|
216
|
+
def locked_puts(message); end
|
217
|
+
end
|
218
|
+
|
219
|
+
Gem::StreamUI::ThreadedDownloadReporter::MUTEX = T.let(T.unsafe(nil), Thread::Mutex)
|
220
|
+
|
221
|
+
class Gem::StreamUI::VerboseProgressReporter
|
222
|
+
include ::Gem::Text
|
223
|
+
include ::Gem::DefaultUserInteraction
|
224
|
+
|
225
|
+
def initialize(out_stream, size, initial_message, terminal_message = T.unsafe(nil)); end
|
226
|
+
|
227
|
+
def count; end
|
228
|
+
def done; end
|
229
|
+
def updated(message); end
|
230
|
+
end
|
231
|
+
|
232
|
+
Gem::UNTAINT = T.let(T.unsafe(nil), Proc)
|
233
|
+
|
234
|
+
class Gem::UninstallError < ::Gem::Exception
|
235
|
+
def spec; end
|
236
|
+
def spec=(_arg0); end
|
237
|
+
end
|
238
|
+
|
239
|
+
Gem::UnsatisfiableDepedencyError = Gem::UnsatisfiableDependencyError
|
240
|
+
|
241
|
+
module Gem::UserInteraction
|
242
|
+
include ::Gem::Text
|
243
|
+
include ::Gem::DefaultUserInteraction
|
244
|
+
end
|
245
|
+
|
246
|
+
class Gem::Version
|
247
|
+
include ::Comparable
|
248
|
+
end
|
249
|
+
|
250
|
+
Gem::Version::Requirement = Gem::Requirement
|
251
|
+
|
252
|
+
class IRB::SLex
|
253
|
+
def initialize; end
|
254
|
+
|
255
|
+
def create(token, preproc = T.unsafe(nil), postproc = T.unsafe(nil)); end
|
256
|
+
def def_rule(token, preproc = T.unsafe(nil), postproc = T.unsafe(nil), &block); end
|
257
|
+
def def_rules(*tokens, &block); end
|
258
|
+
def inspect; end
|
259
|
+
def match(token); end
|
260
|
+
def postproc(token); end
|
261
|
+
def preproc(token, proc); end
|
262
|
+
def search(token); end
|
263
|
+
end
|
264
|
+
|
265
|
+
IRB::SLex::DOUT = T.let(T.unsafe(nil), IRB::Notifier::CompositeNotifier)
|
266
|
+
IRB::SLex::D_DEBUG = T.let(T.unsafe(nil), IRB::Notifier::LeveledNotifier)
|
267
|
+
IRB::SLex::D_DETAIL = T.let(T.unsafe(nil), IRB::Notifier::LeveledNotifier)
|
268
|
+
IRB::SLex::D_WARN = T.let(T.unsafe(nil), IRB::Notifier::LeveledNotifier)
|
269
|
+
|
270
|
+
class IRB::SLex::Node
|
271
|
+
def initialize(preproc = T.unsafe(nil), postproc = T.unsafe(nil)); end
|
272
|
+
|
273
|
+
def create_subnode(chrs, preproc = T.unsafe(nil), postproc = T.unsafe(nil)); end
|
274
|
+
def match(chrs, op = T.unsafe(nil)); end
|
275
|
+
def match_io(io, op = T.unsafe(nil)); end
|
276
|
+
def postproc; end
|
277
|
+
def postproc=(_arg0); end
|
278
|
+
def preproc; end
|
279
|
+
def preproc=(_arg0); end
|
280
|
+
def search(chrs, opt = T.unsafe(nil)); end
|
281
|
+
end
|
282
|
+
|
283
|
+
class Insertion
|
284
|
+
def initialize(list, value); end
|
285
|
+
|
286
|
+
def after(val, recursive = T.unsafe(nil)); end
|
287
|
+
def after_any(val); end
|
288
|
+
def before(val, recursive = T.unsafe(nil)); end
|
289
|
+
def before_any(val); end
|
290
|
+
|
291
|
+
private
|
292
|
+
|
293
|
+
def insertion(val, rel, recursive = T.unsafe(nil), list = T.unsafe(nil)); end
|
294
|
+
end
|
295
|
+
|
296
|
+
class Module
|
297
|
+
def class_name; end
|
298
|
+
end
|
299
|
+
|
300
|
+
Module::DELEGATION_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array)
|
301
|
+
Module::DELEGATION_RESERVED_METHOD_NAMES = T.let(T.unsafe(nil), Set)
|
302
|
+
Module::RUBY_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array)
|
303
|
+
RUBY19 = T.let(T.unsafe(nil), TrueClass)
|
304
|
+
|
305
|
+
class Rack::Request
|
306
|
+
include ::Rack::Request::Env
|
307
|
+
include ::Rack::Request::Helpers
|
308
|
+
|
309
|
+
def initialize(env); end
|
310
|
+
|
311
|
+
def delete_param(k); end
|
312
|
+
def params; end
|
313
|
+
def query; end
|
314
|
+
def update_param(k, v); end
|
315
|
+
def version_supplied; end
|
316
|
+
def version_supplied=(_arg0); end
|
317
|
+
def xhr?; end
|
318
|
+
|
319
|
+
class << self
|
320
|
+
def ip_filter; end
|
321
|
+
def ip_filter=(_arg0); end
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
325
|
+
Rack::Request::ALLOWED_SCHEMES = T.let(T.unsafe(nil), Array)
|
326
|
+
Rack::Request::SCHEME_WHITELIST = T.let(T.unsafe(nil), Array)
|
327
|
+
|
328
|
+
class String
|
329
|
+
include ::Comparable
|
330
|
+
include ::JSON::Ext::Generator::GeneratorMethods::String
|
331
|
+
extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
|
332
|
+
|
333
|
+
def shell_split; end
|
334
|
+
end
|
335
|
+
|
336
|
+
String::BLANK_RE = T.let(T.unsafe(nil), Regexp)
|
337
|
+
String::ENCODED_BLANKS = T.let(T.unsafe(nil), Concurrent::Map)
|
338
|
+
|
339
|
+
class SymbolHash < ::Hash
|
340
|
+
def initialize(symbolize_value = T.unsafe(nil)); end
|
341
|
+
|
342
|
+
def [](key); end
|
343
|
+
def []=(key, value); end
|
344
|
+
def delete(key); end
|
345
|
+
def has_key?(key); end
|
346
|
+
def key?(key); end
|
347
|
+
def merge(hash); end
|
348
|
+
def merge!(hash); end
|
349
|
+
def update(hash); end
|
350
|
+
|
351
|
+
class << self
|
352
|
+
def [](*hsh); end
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
class WEBrick::HTTPRequest
|
357
|
+
def version_supplied; end
|
358
|
+
def version_supplied=(_arg0); end
|
359
|
+
def xhr?; end
|
360
|
+
end
|
361
|
+
|
362
|
+
WEBrick::HTTPRequest::MAX_HEADER_LENGTH = T.let(T.unsafe(nil), Integer)
|
363
|
+
|
364
|
+
module YARD
|
365
|
+
class << self
|
366
|
+
def load_plugins; end
|
367
|
+
def parse(*args); end
|
368
|
+
def parse_string(*args); end
|
369
|
+
def ruby18?; end
|
370
|
+
def ruby19?; end
|
371
|
+
def ruby2?; end
|
372
|
+
def ruby3?; end
|
373
|
+
def windows?; end
|
374
|
+
end
|
375
|
+
end
|
376
|
+
|
377
|
+
module YARD::CLI; end
|
378
|
+
|
379
|
+
class YARD::CLI::Command
|
380
|
+
def description; end
|
381
|
+
|
382
|
+
protected
|
383
|
+
|
384
|
+
def common_options(opts); end
|
385
|
+
def load_script(file); end
|
386
|
+
def parse_options(opts, args); end
|
387
|
+
def unrecognized_option(err); end
|
388
|
+
|
389
|
+
class << self
|
390
|
+
def run(*args); end
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
394
|
+
class YARD::CLI::CommandParser
|
395
|
+
def initialize; end
|
396
|
+
|
397
|
+
def run(*args); end
|
398
|
+
|
399
|
+
private
|
400
|
+
|
401
|
+
def commands; end
|
402
|
+
def list_commands; end
|
403
|
+
|
404
|
+
class << self
|
405
|
+
def commands; end
|
406
|
+
def commands=(_arg0); end
|
407
|
+
def default_command; end
|
408
|
+
def default_command=(_arg0); end
|
409
|
+
def run(*args); end
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
413
|
+
class YARD::CLI::Config < ::YARD::CLI::Command
|
414
|
+
def initialize; end
|
415
|
+
|
416
|
+
def append; end
|
417
|
+
def append=(_arg0); end
|
418
|
+
def as_list; end
|
419
|
+
def as_list=(_arg0); end
|
420
|
+
def description; end
|
421
|
+
def gem_install_cmd; end
|
422
|
+
def gem_install_cmd=(_arg0); end
|
423
|
+
def key; end
|
424
|
+
def key=(_arg0); end
|
425
|
+
def reset; end
|
426
|
+
def reset=(_arg0); end
|
427
|
+
def run(*args); end
|
428
|
+
def values; end
|
429
|
+
def values=(_arg0); end
|
430
|
+
|
431
|
+
private
|
432
|
+
|
433
|
+
def configure_gemrc; end
|
434
|
+
def encode_value(value); end
|
435
|
+
def encode_values; end
|
436
|
+
def list_configuration; end
|
437
|
+
def modify_item; end
|
438
|
+
def optparse(*args); end
|
439
|
+
def view_item; end
|
440
|
+
end
|
441
|
+
|
442
|
+
class YARD::CLI::Diff < ::YARD::CLI::Command
|
443
|
+
def initialize; end
|
444
|
+
|
445
|
+
def description; end
|
446
|
+
def run(*args); end
|
447
|
+
|
448
|
+
private
|
449
|
+
|
450
|
+
def added_objects(registry1, registry2); end
|
451
|
+
def all_objects; end
|
452
|
+
def cleanup(gemfile); end
|
453
|
+
def expand_and_parse(gemfile, io); end
|
454
|
+
def expand_gem(gemfile, io); end
|
455
|
+
def generate_yardoc(dir); end
|
456
|
+
def load_gem_data(gemfile); end
|
457
|
+
def load_git_commit(commit); end
|
458
|
+
def modified_objects(registry1, registry2); end
|
459
|
+
def optparse(*args); end
|
460
|
+
def removed_objects(registry1, registry2); end
|
461
|
+
def require_rubygems; end
|
462
|
+
end
|
463
|
+
|
464
|
+
class YARD::CLI::Display < ::YARD::CLI::Yardoc
|
465
|
+
def initialize(*args); end
|
466
|
+
|
467
|
+
def description; end
|
468
|
+
def format_objects; end
|
469
|
+
def output_options(opts); end
|
470
|
+
def parse_arguments(*args); end
|
471
|
+
def run(*args); end
|
472
|
+
def wrap_layout(contents); end
|
473
|
+
end
|
474
|
+
|
475
|
+
class YARD::CLI::Gems < ::YARD::CLI::Command
|
476
|
+
def initialize; end
|
477
|
+
|
478
|
+
def description; end
|
479
|
+
def run(*args); end
|
480
|
+
|
481
|
+
private
|
482
|
+
|
483
|
+
def add_gems(gems); end
|
484
|
+
def build_gems; end
|
485
|
+
def optparse(*args); end
|
486
|
+
end
|
487
|
+
|
488
|
+
class YARD::CLI::Graph < ::YARD::CLI::YardoptsCommand
|
489
|
+
def initialize; end
|
490
|
+
|
491
|
+
def description; end
|
492
|
+
def objects; end
|
493
|
+
def options; end
|
494
|
+
def run(*args); end
|
495
|
+
|
496
|
+
private
|
497
|
+
|
498
|
+
def optparse(*args); end
|
499
|
+
def unrecognized_option(err); end
|
500
|
+
end
|
501
|
+
|
502
|
+
class YARD::CLI::GraphOptions < ::YARD::Templates::TemplateOptions
|
503
|
+
def contents; end
|
504
|
+
def contents=(_arg0); end
|
505
|
+
def dependencies; end
|
506
|
+
def dependencies=(_arg0); end
|
507
|
+
def format; end
|
508
|
+
def format=(_arg0); end
|
509
|
+
def full; end
|
510
|
+
def full=(_arg0); end
|
511
|
+
end
|
512
|
+
|
513
|
+
class YARD::CLI::Help < ::YARD::CLI::Command
|
514
|
+
def description; end
|
515
|
+
def run(*args); end
|
516
|
+
end
|
517
|
+
|
518
|
+
class YARD::CLI::I18n < ::YARD::CLI::Yardoc
|
519
|
+
def initialize; end
|
520
|
+
|
521
|
+
def description; end
|
522
|
+
def run(*args); end
|
523
|
+
|
524
|
+
private
|
525
|
+
|
526
|
+
def general_options(opts); end
|
527
|
+
def generate_pot(relative_base_path); end
|
528
|
+
end
|
529
|
+
|
530
|
+
class YARD::CLI::List < ::YARD::CLI::Command
|
531
|
+
def description; end
|
532
|
+
def run(*args); end
|
533
|
+
end
|
534
|
+
|
535
|
+
class YARD::CLI::MarkupTypes < ::YARD::CLI::Command
|
536
|
+
def description; end
|
537
|
+
def run(*args); end
|
538
|
+
end
|
539
|
+
|
540
|
+
class YARD::CLI::Server < ::YARD::CLI::Command
|
541
|
+
def initialize; end
|
542
|
+
|
543
|
+
def adapter; end
|
544
|
+
def adapter=(_arg0); end
|
545
|
+
def description; end
|
546
|
+
def libraries; end
|
547
|
+
def libraries=(_arg0); end
|
548
|
+
def options; end
|
549
|
+
def options=(_arg0); end
|
550
|
+
def run(*args); end
|
551
|
+
def scripts; end
|
552
|
+
def scripts=(_arg0); end
|
553
|
+
def server_options; end
|
554
|
+
def server_options=(_arg0); end
|
555
|
+
def template_paths; end
|
556
|
+
def template_paths=(_arg0); end
|
557
|
+
|
558
|
+
private
|
559
|
+
|
560
|
+
def add_gems; end
|
561
|
+
def add_gems_from_gemfile(gemfile = T.unsafe(nil)); end
|
562
|
+
def add_libraries(args); end
|
563
|
+
def create_library_version_if_yardopts_exist(library, dir); end
|
564
|
+
def extract_db_from_options_file(options_file); end
|
565
|
+
def generate_doc_for_first_time(libver); end
|
566
|
+
def load_scripts; end
|
567
|
+
def load_template_paths; end
|
568
|
+
def optparse(*args); end
|
569
|
+
def select_adapter; end
|
570
|
+
end
|
571
|
+
|
572
|
+
class YARD::CLI::Stats < ::YARD::CLI::Yardoc
|
573
|
+
include ::YARD::Templates::Helpers::BaseHelper
|
574
|
+
|
575
|
+
def initialize(parse = T.unsafe(nil)); end
|
576
|
+
|
577
|
+
def all_objects; end
|
578
|
+
def description; end
|
579
|
+
def output(name, data, undoc = T.unsafe(nil)); end
|
580
|
+
def parse; end
|
581
|
+
def parse=(_arg0); end
|
582
|
+
def print_statistics; end
|
583
|
+
def print_undocumented_objects; end
|
584
|
+
def run(*args); end
|
585
|
+
def stats_for_attributes; end
|
586
|
+
def stats_for_classes; end
|
587
|
+
def stats_for_constants; end
|
588
|
+
def stats_for_files; end
|
589
|
+
def stats_for_methods; end
|
590
|
+
def stats_for_modules; end
|
591
|
+
|
592
|
+
private
|
593
|
+
|
594
|
+
def general_options(opts); end
|
595
|
+
def optparse(*args); end
|
596
|
+
def type_statistics(type); end
|
597
|
+
end
|
598
|
+
|
599
|
+
YARD::CLI::Stats::STATS_ORDER = T.let(T.unsafe(nil), Array)
|
600
|
+
|
601
|
+
class YARD::CLI::YRI < ::YARD::CLI::Command
|
602
|
+
def initialize; end
|
603
|
+
|
604
|
+
def description; end
|
605
|
+
def run(*args); end
|
606
|
+
|
607
|
+
protected
|
608
|
+
|
609
|
+
def cache_object(name, path); end
|
610
|
+
def find_object(name); end
|
611
|
+
def print_object(object); end
|
612
|
+
def print_usage; end
|
613
|
+
|
614
|
+
private
|
615
|
+
|
616
|
+
def add_default_paths; end
|
617
|
+
def add_gem_paths; end
|
618
|
+
def load_cache; end
|
619
|
+
def optparse(*args); end
|
620
|
+
def try_load_object(name, cache_path); end
|
621
|
+
|
622
|
+
class << self
|
623
|
+
def run(*args); end
|
624
|
+
end
|
625
|
+
end
|
626
|
+
|
627
|
+
YARD::CLI::YRI::CACHE_FILE = T.let(T.unsafe(nil), String)
|
628
|
+
YARD::CLI::YRI::DEFAULT_SEARCH_PATHS = T.let(T.unsafe(nil), Array)
|
629
|
+
YARD::CLI::YRI::SEARCH_PATHS_FILE = T.let(T.unsafe(nil), String)
|
630
|
+
|
631
|
+
class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand
|
632
|
+
def initialize; end
|
633
|
+
|
634
|
+
def all_objects; end
|
635
|
+
def apis; end
|
636
|
+
def apis=(_arg0); end
|
637
|
+
def assets; end
|
638
|
+
def assets=(_arg0); end
|
639
|
+
def description; end
|
640
|
+
def excluded; end
|
641
|
+
def excluded=(_arg0); end
|
642
|
+
def fail_on_warning; end
|
643
|
+
def fail_on_warning=(_arg0); end
|
644
|
+
def files; end
|
645
|
+
def files=(_arg0); end
|
646
|
+
def generate; end
|
647
|
+
def generate=(_arg0); end
|
648
|
+
def has_markup; end
|
649
|
+
def has_markup=(_arg0); end
|
650
|
+
def hidden_apis; end
|
651
|
+
def hidden_apis=(_arg0); end
|
652
|
+
def hidden_tags; end
|
653
|
+
def hidden_tags=(_arg0); end
|
654
|
+
def list; end
|
655
|
+
def list=(_arg0); end
|
656
|
+
def options; end
|
657
|
+
def parse_arguments(*args); end
|
658
|
+
def run(*args); end
|
659
|
+
def save_yardoc; end
|
660
|
+
def save_yardoc=(_arg0); end
|
661
|
+
def statistics; end
|
662
|
+
def statistics=(_arg0); end
|
663
|
+
def use_cache; end
|
664
|
+
def use_cache=(_arg0); end
|
665
|
+
def visibilities; end
|
666
|
+
def visibilities=(_arg0); end
|
667
|
+
|
668
|
+
private
|
669
|
+
|
670
|
+
def add_api_verifier; end
|
671
|
+
def add_extra_files(*files); end
|
672
|
+
def add_tag(tag_data, factory_method = T.unsafe(nil)); end
|
673
|
+
def add_visibility_verifier; end
|
674
|
+
def apply_locale; end
|
675
|
+
def copy_assets; end
|
676
|
+
def extra_file_valid?(file, check_exists = T.unsafe(nil)); end
|
677
|
+
def general_options(opts); end
|
678
|
+
def optparse(*args); end
|
679
|
+
def output_options(opts); end
|
680
|
+
def parse_files(*files); end
|
681
|
+
def print_list; end
|
682
|
+
def run_generate(checksums); end
|
683
|
+
def run_verifier(list); end
|
684
|
+
def tag_options(opts); end
|
685
|
+
def verify_markup_options; end
|
686
|
+
end
|
687
|
+
|
688
|
+
class YARD::CLI::YardocOptions < ::YARD::Templates::TemplateOptions
|
689
|
+
def file; end
|
690
|
+
def file=(_arg0); end
|
691
|
+
def files; end
|
692
|
+
def files=(_arg0); end
|
693
|
+
def format; end
|
694
|
+
def format=(_arg0); end
|
695
|
+
def index; end
|
696
|
+
def index=(_arg0); end
|
697
|
+
def item; end
|
698
|
+
def item=(_arg0); end
|
699
|
+
def locale; end
|
700
|
+
def locale=(_arg0); end
|
701
|
+
def objects; end
|
702
|
+
def objects=(_arg0); end
|
703
|
+
def onefile; end
|
704
|
+
def onefile=(_arg0); end
|
705
|
+
def readme; end
|
706
|
+
def readme=(_arg0); end
|
707
|
+
def serializer; end
|
708
|
+
def serializer=(_arg0); end
|
709
|
+
def title; end
|
710
|
+
def title=(_arg0); end
|
711
|
+
def verifier; end
|
712
|
+
def verifier=(_arg0); end
|
713
|
+
end
|
714
|
+
|
715
|
+
class YARD::CLI::YardoptsCommand < ::YARD::CLI::Command
|
716
|
+
def initialize; end
|
717
|
+
|
718
|
+
def options_file; end
|
719
|
+
def options_file=(_arg0); end
|
720
|
+
def parse_arguments(*args); end
|
721
|
+
def use_document_file; end
|
722
|
+
def use_document_file=(_arg0); end
|
723
|
+
def use_yardopts_file; end
|
724
|
+
def use_yardopts_file=(_arg0); end
|
725
|
+
|
726
|
+
protected
|
727
|
+
|
728
|
+
def yardopts_options(opts); end
|
729
|
+
|
730
|
+
private
|
731
|
+
|
732
|
+
def parse_rdoc_document_file(file = T.unsafe(nil)); end
|
733
|
+
def parse_yardopts(file = T.unsafe(nil)); end
|
734
|
+
def parse_yardopts_options(*args); end
|
735
|
+
def support_rdoc_document_file!(file = T.unsafe(nil)); end
|
736
|
+
def yardopts(file = T.unsafe(nil)); end
|
737
|
+
end
|
738
|
+
|
739
|
+
YARD::CLI::YardoptsCommand::DEFAULT_YARDOPTS_FILE = T.let(T.unsafe(nil), String)
|
740
|
+
YARD::CONFIG_DIR = T.let(T.unsafe(nil), String)
|
741
|
+
|
742
|
+
module YARD::CodeObjects
|
743
|
+
extend ::YARD::CodeObjects::NamespaceMapper
|
744
|
+
end
|
745
|
+
|
746
|
+
YARD::CodeObjects::BUILTIN_ALL = T.let(T.unsafe(nil), Array)
|
747
|
+
YARD::CodeObjects::BUILTIN_CLASSES = T.let(T.unsafe(nil), Array)
|
748
|
+
YARD::CodeObjects::BUILTIN_EXCEPTIONS = T.let(T.unsafe(nil), Array)
|
749
|
+
YARD::CodeObjects::BUILTIN_EXCEPTIONS_HASH = T.let(T.unsafe(nil), Hash)
|
750
|
+
YARD::CodeObjects::BUILTIN_MODULES = T.let(T.unsafe(nil), Array)
|
751
|
+
|
752
|
+
class YARD::CodeObjects::Base
|
753
|
+
def initialize(namespace, name, *_arg2); end
|
754
|
+
|
755
|
+
def ==(other); end
|
756
|
+
def [](key); end
|
757
|
+
def []=(key, value); end
|
758
|
+
def add_file(file, line = T.unsafe(nil), has_comments = T.unsafe(nil)); end
|
759
|
+
def add_tag(*tags); end
|
760
|
+
def base_docstring; end
|
761
|
+
def copy_to(other); end
|
762
|
+
def docstring(locale = T.unsafe(nil)); end
|
763
|
+
def docstring=(comments); end
|
764
|
+
def dynamic; end
|
765
|
+
def dynamic=(_arg0); end
|
766
|
+
def dynamic?; end
|
767
|
+
def eql?(other); end
|
768
|
+
def equal?(other); end
|
769
|
+
def file; end
|
770
|
+
def files; end
|
771
|
+
def format(options = T.unsafe(nil)); end
|
772
|
+
def group; end
|
773
|
+
def group=(_arg0); end
|
774
|
+
def has_tag?(name); end
|
775
|
+
def hash; end
|
776
|
+
def inspect; end
|
777
|
+
def line; end
|
778
|
+
def method_missing(meth, *args, &block); end
|
779
|
+
def name(prefix = T.unsafe(nil)); end
|
780
|
+
def namespace; end
|
781
|
+
def namespace=(obj); end
|
782
|
+
def parent; end
|
783
|
+
def parent=(obj); end
|
784
|
+
def path; end
|
785
|
+
def relative_path(other); end
|
786
|
+
def root?; end
|
787
|
+
def sep; end
|
788
|
+
def signature; end
|
789
|
+
def signature=(_arg0); end
|
790
|
+
def source; end
|
791
|
+
def source=(statement); end
|
792
|
+
def source_type; end
|
793
|
+
def source_type=(_arg0); end
|
794
|
+
def tag(name); end
|
795
|
+
def tags(name = T.unsafe(nil)); end
|
796
|
+
def title; end
|
797
|
+
def to_ary; end
|
798
|
+
def to_s; end
|
799
|
+
def type; end
|
800
|
+
def visibility; end
|
801
|
+
def visibility=(v); end
|
802
|
+
|
803
|
+
protected
|
804
|
+
|
805
|
+
def copyable_attributes; end
|
806
|
+
|
807
|
+
private
|
808
|
+
|
809
|
+
def format_source(source); end
|
810
|
+
def translate_docstring(locale); end
|
811
|
+
|
812
|
+
class << self
|
813
|
+
def ===(other); end
|
814
|
+
def new(namespace, name, *args, &block); end
|
815
|
+
end
|
816
|
+
end
|
817
|
+
|
818
|
+
YARD::CodeObjects::CONSTANTMATCH = T.let(T.unsafe(nil), Regexp)
|
819
|
+
YARD::CodeObjects::CONSTANTSTART = T.let(T.unsafe(nil), Regexp)
|
820
|
+
YARD::CodeObjects::CSEP = T.let(T.unsafe(nil), String)
|
821
|
+
YARD::CodeObjects::CSEPQ = T.let(T.unsafe(nil), String)
|
822
|
+
|
823
|
+
class YARD::CodeObjects::ClassObject < ::YARD::CodeObjects::NamespaceObject
|
824
|
+
def initialize(namespace, name, *args, &block); end
|
825
|
+
|
826
|
+
def constants(opts = T.unsafe(nil)); end
|
827
|
+
def inheritance_tree(include_mods = T.unsafe(nil)); end
|
828
|
+
def inherited_constants; end
|
829
|
+
def inherited_meths(opts = T.unsafe(nil)); end
|
830
|
+
def is_exception?; end
|
831
|
+
def meths(opts = T.unsafe(nil)); end
|
832
|
+
def superclass; end
|
833
|
+
def superclass=(object); end
|
834
|
+
end
|
835
|
+
|
836
|
+
class YARD::CodeObjects::ClassVariableObject < ::YARD::CodeObjects::Base
|
837
|
+
def value; end
|
838
|
+
def value=(_arg0); end
|
839
|
+
end
|
840
|
+
|
841
|
+
class YARD::CodeObjects::CodeObjectList < ::Array
|
842
|
+
def initialize(owner = T.unsafe(nil)); end
|
843
|
+
|
844
|
+
def <<(value); end
|
845
|
+
def push(value); end
|
846
|
+
end
|
847
|
+
|
848
|
+
class YARD::CodeObjects::ConstantObject < ::YARD::CodeObjects::Base
|
849
|
+
def value; end
|
850
|
+
def value=(value); end
|
851
|
+
end
|
852
|
+
|
853
|
+
class YARD::CodeObjects::ExtendedMethodObject
|
854
|
+
def initialize(obj); end
|
855
|
+
|
856
|
+
def method_missing(sym, *args, &block); end
|
857
|
+
def scope; end
|
858
|
+
end
|
859
|
+
|
860
|
+
class YARD::CodeObjects::ExtraFileObject
|
861
|
+
def initialize(filename, contents = T.unsafe(nil)); end
|
862
|
+
|
863
|
+
def ==(other); end
|
864
|
+
def attributes; end
|
865
|
+
def attributes=(_arg0); end
|
866
|
+
def contents; end
|
867
|
+
def contents=(contents); end
|
868
|
+
def eql?(other); end
|
869
|
+
def equal?(other); end
|
870
|
+
def filename; end
|
871
|
+
def filename=(_arg0); end
|
872
|
+
def hash; end
|
873
|
+
def inspect; end
|
874
|
+
def locale; end
|
875
|
+
def locale=(locale); end
|
876
|
+
def name; end
|
877
|
+
def name=(_arg0); end
|
878
|
+
def path; end
|
879
|
+
def title; end
|
880
|
+
def to_s; end
|
881
|
+
def type; end
|
882
|
+
|
883
|
+
private
|
884
|
+
|
885
|
+
def ensure_parsed; end
|
886
|
+
def parse_contents(data); end
|
887
|
+
def translate(data); end
|
888
|
+
end
|
889
|
+
|
890
|
+
YARD::CodeObjects::ISEP = T.let(T.unsafe(nil), String)
|
891
|
+
YARD::CodeObjects::ISEPQ = T.let(T.unsafe(nil), String)
|
892
|
+
YARD::CodeObjects::METHODMATCH = T.let(T.unsafe(nil), Regexp)
|
893
|
+
YARD::CodeObjects::METHODNAMEMATCH = T.let(T.unsafe(nil), Regexp)
|
894
|
+
|
895
|
+
class YARD::CodeObjects::MacroObject < ::YARD::CodeObjects::Base
|
896
|
+
def attached?; end
|
897
|
+
def expand(call_params = T.unsafe(nil), full_source = T.unsafe(nil), block_source = T.unsafe(nil)); end
|
898
|
+
def macro_data; end
|
899
|
+
def macro_data=(_arg0); end
|
900
|
+
def method_object; end
|
901
|
+
def method_object=(_arg0); end
|
902
|
+
def path; end
|
903
|
+
def sep; end
|
904
|
+
|
905
|
+
class << self
|
906
|
+
def apply(docstring, call_params = T.unsafe(nil), full_source = T.unsafe(nil), block_source = T.unsafe(nil), _method_object = T.unsafe(nil)); end
|
907
|
+
def apply_macro(macro, docstring, call_params = T.unsafe(nil), full_source = T.unsafe(nil), block_source = T.unsafe(nil)); end
|
908
|
+
def create(macro_name, data, method_object = T.unsafe(nil)); end
|
909
|
+
def create_docstring(macro_name, data, method_object = T.unsafe(nil)); end
|
910
|
+
def expand(macro_data, call_params = T.unsafe(nil), full_source = T.unsafe(nil), block_source = T.unsafe(nil)); end
|
911
|
+
def find(macro_name); end
|
912
|
+
def find_or_create(macro_name, data, method_object = T.unsafe(nil)); end
|
913
|
+
end
|
914
|
+
end
|
915
|
+
|
916
|
+
YARD::CodeObjects::MacroObject::MACRO_MATCH = T.let(T.unsafe(nil), Regexp)
|
917
|
+
|
918
|
+
class YARD::CodeObjects::MethodObject < ::YARD::CodeObjects::Base
|
919
|
+
def initialize(namespace, name, scope = T.unsafe(nil), &block); end
|
920
|
+
|
921
|
+
def aliases; end
|
922
|
+
def attr_info; end
|
923
|
+
def constructor?; end
|
924
|
+
def explicit; end
|
925
|
+
def explicit=(_arg0); end
|
926
|
+
def is_alias?; end
|
927
|
+
def is_attribute?; end
|
928
|
+
def is_explicit?; end
|
929
|
+
def module_function?; end
|
930
|
+
def name(prefix = T.unsafe(nil)); end
|
931
|
+
def overridden_method; end
|
932
|
+
def parameters; end
|
933
|
+
def parameters=(_arg0); end
|
934
|
+
def path; end
|
935
|
+
def reader?; end
|
936
|
+
def scope; end
|
937
|
+
def scope=(v); end
|
938
|
+
def sep; end
|
939
|
+
def writer?; end
|
940
|
+
|
941
|
+
protected
|
942
|
+
|
943
|
+
def copyable_attributes; end
|
944
|
+
end
|
945
|
+
|
946
|
+
class YARD::CodeObjects::ModuleObject < ::YARD::CodeObjects::NamespaceObject
|
947
|
+
def inheritance_tree(include_mods = T.unsafe(nil)); end
|
948
|
+
end
|
949
|
+
|
950
|
+
YARD::CodeObjects::NAMESPACEMATCH = T.let(T.unsafe(nil), Regexp)
|
951
|
+
YARD::CodeObjects::NSEP = T.let(T.unsafe(nil), String)
|
952
|
+
YARD::CodeObjects::NSEPQ = T.let(T.unsafe(nil), String)
|
953
|
+
|
954
|
+
module YARD::CodeObjects::NamespaceMapper
|
955
|
+
def clear_separators; end
|
956
|
+
def default_separator(value = T.unsafe(nil)); end
|
957
|
+
def register_separator(sep, *valid_types); end
|
958
|
+
def separators; end
|
959
|
+
def separators_for_type(type); end
|
960
|
+
def separators_match; end
|
961
|
+
def types_for_separator(sep); end
|
962
|
+
def unregister_separator_by_type(type); end
|
963
|
+
|
964
|
+
class << self
|
965
|
+
def default_separator; end
|
966
|
+
def default_separator=(_arg0); end
|
967
|
+
def invalidate; end
|
968
|
+
def map; end
|
969
|
+
def map_match; end
|
970
|
+
def on_invalidate(&block); end
|
971
|
+
def rev_map; end
|
972
|
+
end
|
973
|
+
end
|
974
|
+
|
975
|
+
class YARD::CodeObjects::NamespaceObject < ::YARD::CodeObjects::Base
|
976
|
+
def initialize(namespace, name, *args, &block); end
|
977
|
+
|
978
|
+
def aliases; end
|
979
|
+
def attributes; end
|
980
|
+
def child(opts = T.unsafe(nil)); end
|
981
|
+
def children; end
|
982
|
+
def class_attributes; end
|
983
|
+
def class_mixins; end
|
984
|
+
def constants(opts = T.unsafe(nil)); end
|
985
|
+
def cvars; end
|
986
|
+
def groups; end
|
987
|
+
def groups=(_arg0); end
|
988
|
+
def included_constants; end
|
989
|
+
def included_meths(opts = T.unsafe(nil)); end
|
990
|
+
def instance_attributes; end
|
991
|
+
def instance_mixins; end
|
992
|
+
def meths(opts = T.unsafe(nil)); end
|
993
|
+
def mixins(*scopes); end
|
994
|
+
end
|
995
|
+
|
996
|
+
YARD::CodeObjects::PROXY_MATCH = T.let(T.unsafe(nil), Regexp)
|
997
|
+
|
998
|
+
class YARD::CodeObjects::Proxy
|
999
|
+
def initialize(namespace, name, type = T.unsafe(nil)); end
|
1000
|
+
|
1001
|
+
def <=>(other); end
|
1002
|
+
def ==(other); end
|
1003
|
+
def ===(other); end
|
1004
|
+
def class; end
|
1005
|
+
def equal?(other); end
|
1006
|
+
def hash; end
|
1007
|
+
def inspect; end
|
1008
|
+
def instance_of?(klass); end
|
1009
|
+
def is_a?(klass); end
|
1010
|
+
def kind_of?(klass); end
|
1011
|
+
def method_missing(meth, *args, &block); end
|
1012
|
+
def name(prefix = T.unsafe(nil)); end
|
1013
|
+
def namespace; end
|
1014
|
+
def parent; end
|
1015
|
+
def path; end
|
1016
|
+
def respond_to?(meth, include_private = T.unsafe(nil)); end
|
1017
|
+
def root?; end
|
1018
|
+
def title; end
|
1019
|
+
def to_s; end
|
1020
|
+
def to_str; end
|
1021
|
+
def type; end
|
1022
|
+
def type=(type); end
|
1023
|
+
|
1024
|
+
private
|
1025
|
+
|
1026
|
+
def proxy_path; end
|
1027
|
+
def to_ary; end
|
1028
|
+
def to_obj; end
|
1029
|
+
|
1030
|
+
class << self
|
1031
|
+
def ===(other); end
|
1032
|
+
end
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
class YARD::CodeObjects::ProxyMethodError < ::NoMethodError; end
|
1036
|
+
|
1037
|
+
class YARD::CodeObjects::RootObject < ::YARD::CodeObjects::ModuleObject
|
1038
|
+
def equal?(other); end
|
1039
|
+
def hash; end
|
1040
|
+
def inspect; end
|
1041
|
+
def path; end
|
1042
|
+
def root?; end
|
1043
|
+
def title; end
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
class YARD::Config
|
1047
|
+
class << self
|
1048
|
+
def add_ignored_plugins_file; end
|
1049
|
+
def arguments; end
|
1050
|
+
def load; end
|
1051
|
+
def load_autoload_plugins; end
|
1052
|
+
def load_commandline_plugins; end
|
1053
|
+
def load_commandline_safemode; end
|
1054
|
+
def load_gem_plugins; end
|
1055
|
+
def load_plugin(name); end
|
1056
|
+
def load_plugin_failed(name, exception); end
|
1057
|
+
def load_plugins; end
|
1058
|
+
def options; end
|
1059
|
+
def options=(_arg0); end
|
1060
|
+
def read_config_file; end
|
1061
|
+
def save; end
|
1062
|
+
def translate_plugin_name(name); end
|
1063
|
+
def translate_plugin_names; end
|
1064
|
+
def with_yardopts; end
|
1065
|
+
end
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
YARD::Config::CONFIG_DIR = T.let(T.unsafe(nil), String)
|
1069
|
+
YARD::Config::CONFIG_FILE = T.let(T.unsafe(nil), String)
|
1070
|
+
YARD::Config::DEFAULT_CONFIG_OPTIONS = T.let(T.unsafe(nil), Hash)
|
1071
|
+
YARD::Config::IGNORED_PLUGINS = T.let(T.unsafe(nil), String)
|
1072
|
+
YARD::Config::YARD_PLUGIN_PREFIX = T.let(T.unsafe(nil), Regexp)
|
1073
|
+
|
1074
|
+
class YARD::Docstring < ::String
|
1075
|
+
def initialize(content = T.unsafe(nil), object = T.unsafe(nil)); end
|
1076
|
+
|
1077
|
+
def +(other); end
|
1078
|
+
def add_tag(*tags); end
|
1079
|
+
def all; end
|
1080
|
+
def all=(content, parse = T.unsafe(nil)); end
|
1081
|
+
def blank?(only_visible_tags = T.unsafe(nil)); end
|
1082
|
+
def delete_tag_if(&block); end
|
1083
|
+
def delete_tags(name); end
|
1084
|
+
def dup; end
|
1085
|
+
def has_tag?(name); end
|
1086
|
+
def hash_flag; end
|
1087
|
+
def hash_flag=(v); end
|
1088
|
+
def line; end
|
1089
|
+
def line_range; end
|
1090
|
+
def line_range=(_arg0); end
|
1091
|
+
def object; end
|
1092
|
+
def object=(_arg0); end
|
1093
|
+
def ref_tags; end
|
1094
|
+
def replace(content, parse = T.unsafe(nil)); end
|
1095
|
+
def resolve_reference; end
|
1096
|
+
def summary; end
|
1097
|
+
def tag(name); end
|
1098
|
+
def tags(name = T.unsafe(nil)); end
|
1099
|
+
def to_raw; end
|
1100
|
+
def to_s; end
|
1101
|
+
|
1102
|
+
private
|
1103
|
+
|
1104
|
+
def convert_ref_tags; end
|
1105
|
+
def parse_comments(comments); end
|
1106
|
+
def stable_sort_by(list); end
|
1107
|
+
|
1108
|
+
class << self
|
1109
|
+
def default_parser; end
|
1110
|
+
def default_parser=(_arg0); end
|
1111
|
+
def new!(text, tags = T.unsafe(nil), object = T.unsafe(nil), raw_data = T.unsafe(nil), ref_object = T.unsafe(nil)); end
|
1112
|
+
def parser(*args); end
|
1113
|
+
end
|
1114
|
+
end
|
1115
|
+
|
1116
|
+
YARD::Docstring::META_MATCH = T.let(T.unsafe(nil), Regexp)
|
1117
|
+
|
1118
|
+
class YARD::DocstringParser
|
1119
|
+
def initialize(library = T.unsafe(nil)); end
|
1120
|
+
|
1121
|
+
def create_directive(tag_name, tag_buf); end
|
1122
|
+
def create_ref_tag(tag_name, name, object_name); end
|
1123
|
+
def create_tag(tag_name, tag_buf = T.unsafe(nil)); end
|
1124
|
+
def directives; end
|
1125
|
+
def directives=(_arg0); end
|
1126
|
+
def handler; end
|
1127
|
+
def handler=(_arg0); end
|
1128
|
+
def library; end
|
1129
|
+
def library=(_arg0); end
|
1130
|
+
def object; end
|
1131
|
+
def object=(_arg0); end
|
1132
|
+
def parse(content, object = T.unsafe(nil), handler = T.unsafe(nil)); end
|
1133
|
+
def parse_content(content); end
|
1134
|
+
def post_process; end
|
1135
|
+
def raw_text; end
|
1136
|
+
def raw_text=(_arg0); end
|
1137
|
+
def reference; end
|
1138
|
+
def reference=(_arg0); end
|
1139
|
+
def state; end
|
1140
|
+
def state=(_arg0); end
|
1141
|
+
def tag_is_directive?(tag_name); end
|
1142
|
+
def tags; end
|
1143
|
+
def tags=(_arg0); end
|
1144
|
+
def text; end
|
1145
|
+
def text=(_arg0); end
|
1146
|
+
def to_docstring; end
|
1147
|
+
|
1148
|
+
private
|
1149
|
+
|
1150
|
+
def call_after_parse_callbacks; end
|
1151
|
+
def call_directives_after_parse; end
|
1152
|
+
def detect_reference(content); end
|
1153
|
+
def namespace; end
|
1154
|
+
|
1155
|
+
class << self
|
1156
|
+
def after_parse(&block); end
|
1157
|
+
def after_parse_callbacks; end
|
1158
|
+
end
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
YARD::DocstringParser::META_MATCH = T.let(T.unsafe(nil), Regexp)
|
1162
|
+
|
1163
|
+
module YARD::GemIndex
|
1164
|
+
private
|
1165
|
+
|
1166
|
+
def all; end
|
1167
|
+
def each(&block); end
|
1168
|
+
def find_all_by_name(*args); end
|
1169
|
+
|
1170
|
+
class << self
|
1171
|
+
def all; end
|
1172
|
+
def each(&block); end
|
1173
|
+
def find_all_by_name(*args); end
|
1174
|
+
end
|
1175
|
+
end
|
1176
|
+
|
1177
|
+
module YARD::Handlers; end
|
1178
|
+
|
1179
|
+
class YARD::Handlers::Base
|
1180
|
+
include ::YARD::CodeObjects
|
1181
|
+
include ::YARD::Parser
|
1182
|
+
|
1183
|
+
def initialize(source_parser, stmt); end
|
1184
|
+
|
1185
|
+
def abort!; end
|
1186
|
+
def call_params; end
|
1187
|
+
def caller_method; end
|
1188
|
+
def ensure_loaded!(object, max_retries = T.unsafe(nil)); end
|
1189
|
+
def extra_state; end
|
1190
|
+
def globals; end
|
1191
|
+
def namespace; end
|
1192
|
+
def namespace=(v); end
|
1193
|
+
def owner; end
|
1194
|
+
def owner=(v); end
|
1195
|
+
def parse_block(*_arg0); end
|
1196
|
+
def parser; end
|
1197
|
+
def process; end
|
1198
|
+
def push_state(opts = T.unsafe(nil)); end
|
1199
|
+
def register(*objects); end
|
1200
|
+
def register_docstring(object, docstring = T.unsafe(nil), stmt = T.unsafe(nil)); end
|
1201
|
+
def register_dynamic(object); end
|
1202
|
+
def register_ensure_loaded(object); end
|
1203
|
+
def register_file_info(object, file = T.unsafe(nil), line = T.unsafe(nil), comments = T.unsafe(nil)); end
|
1204
|
+
def register_group(object, group = T.unsafe(nil)); end
|
1205
|
+
def register_module_function(object); end
|
1206
|
+
def register_source(object, source = T.unsafe(nil), type = T.unsafe(nil)); end
|
1207
|
+
def register_transitive_tags(object); end
|
1208
|
+
def register_visibility(object, visibility = T.unsafe(nil)); end
|
1209
|
+
def scope; end
|
1210
|
+
def scope=(v); end
|
1211
|
+
def statement; end
|
1212
|
+
def visibility; end
|
1213
|
+
def visibility=(v); end
|
1214
|
+
|
1215
|
+
class << self
|
1216
|
+
def clear_subclasses; end
|
1217
|
+
def handlers; end
|
1218
|
+
def handles(*matches); end
|
1219
|
+
def handles?(statement); end
|
1220
|
+
def in_file(filename); end
|
1221
|
+
def inherited(subclass); end
|
1222
|
+
def matches_file?(filename); end
|
1223
|
+
def namespace_only; end
|
1224
|
+
def namespace_only?; end
|
1225
|
+
def process(&block); end
|
1226
|
+
def subclasses; end
|
1227
|
+
end
|
1228
|
+
end
|
1229
|
+
|
1230
|
+
module YARD::Handlers::C; end
|
1231
|
+
class YARD::Handlers::C::AliasHandler < ::YARD::Handlers::C::Base; end
|
1232
|
+
YARD::Handlers::C::AliasHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1233
|
+
class YARD::Handlers::C::AttributeHandler < ::YARD::Handlers::C::Base; end
|
1234
|
+
YARD::Handlers::C::AttributeHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1235
|
+
|
1236
|
+
class YARD::Handlers::C::Base < ::YARD::Handlers::Base
|
1237
|
+
include ::YARD::Parser::C
|
1238
|
+
include ::YARD::Handlers::Common::MethodHandler
|
1239
|
+
include ::YARD::Handlers::C::HandlerMethods
|
1240
|
+
|
1241
|
+
def ensure_variable_defined!(var, max_retries = T.unsafe(nil)); end
|
1242
|
+
def namespace_for_variable(var); end
|
1243
|
+
def namespaces; end
|
1244
|
+
def override_comments; end
|
1245
|
+
def parse_block(opts = T.unsafe(nil)); end
|
1246
|
+
def process_file(file, object); end
|
1247
|
+
def processed_files; end
|
1248
|
+
def register_docstring(object, docstring = T.unsafe(nil), stmt = T.unsafe(nil)); end
|
1249
|
+
def register_file_info(object, file = T.unsafe(nil), line = T.unsafe(nil), comments = T.unsafe(nil)); end
|
1250
|
+
def register_source(object, source = T.unsafe(nil), type = T.unsafe(nil)); end
|
1251
|
+
def register_visibility(object, visibility = T.unsafe(nil)); end
|
1252
|
+
def symbols; end
|
1253
|
+
|
1254
|
+
private
|
1255
|
+
|
1256
|
+
def remove_var_prefix(var); end
|
1257
|
+
|
1258
|
+
class << self
|
1259
|
+
def handles?(statement, processor); end
|
1260
|
+
def statement_class(type = T.unsafe(nil)); end
|
1261
|
+
end
|
1262
|
+
end
|
1263
|
+
|
1264
|
+
YARD::Handlers::C::Base::ERROR_CLASS_NAMES = T.let(T.unsafe(nil), Hash)
|
1265
|
+
class YARD::Handlers::C::ClassHandler < ::YARD::Handlers::C::Base; end
|
1266
|
+
YARD::Handlers::C::ClassHandler::MATCH1 = T.let(T.unsafe(nil), Regexp)
|
1267
|
+
YARD::Handlers::C::ClassHandler::MATCH2 = T.let(T.unsafe(nil), Regexp)
|
1268
|
+
class YARD::Handlers::C::ConstantHandler < ::YARD::Handlers::C::Base; end
|
1269
|
+
YARD::Handlers::C::ConstantHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1270
|
+
|
1271
|
+
module YARD::Handlers::C::HandlerMethods
|
1272
|
+
include ::YARD::Parser::C
|
1273
|
+
include ::YARD::CodeObjects
|
1274
|
+
include ::YARD::Handlers::Common::MethodHandler
|
1275
|
+
|
1276
|
+
def handle_alias(var_name, new_name, old_name); end
|
1277
|
+
def handle_attribute(var_name, name, read, write); end
|
1278
|
+
def handle_class(var_name, class_name, parent, in_module = T.unsafe(nil)); end
|
1279
|
+
def handle_constants(type, var_name, const_name, value); end
|
1280
|
+
def handle_method(scope, var_name, name, func_name, _source_file = T.unsafe(nil)); end
|
1281
|
+
def handle_module(var_name, module_name, in_module = T.unsafe(nil)); end
|
1282
|
+
|
1283
|
+
private
|
1284
|
+
|
1285
|
+
def find_constant_docstring(object); end
|
1286
|
+
def find_method_body(object, symbol); end
|
1287
|
+
def record_parameters(object, symbol, src); end
|
1288
|
+
end
|
1289
|
+
|
1290
|
+
class YARD::Handlers::C::InitHandler < ::YARD::Handlers::C::Base; end
|
1291
|
+
YARD::Handlers::C::InitHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1292
|
+
class YARD::Handlers::C::MethodHandler < ::YARD::Handlers::C::Base; end
|
1293
|
+
YARD::Handlers::C::MethodHandler::MATCH1 = T.let(T.unsafe(nil), Regexp)
|
1294
|
+
YARD::Handlers::C::MethodHandler::MATCH2 = T.let(T.unsafe(nil), Regexp)
|
1295
|
+
YARD::Handlers::C::MethodHandler::MATCH3 = T.let(T.unsafe(nil), Regexp)
|
1296
|
+
class YARD::Handlers::C::MixinHandler < ::YARD::Handlers::C::Base; end
|
1297
|
+
YARD::Handlers::C::MixinHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1298
|
+
class YARD::Handlers::C::ModuleHandler < ::YARD::Handlers::C::Base; end
|
1299
|
+
YARD::Handlers::C::ModuleHandler::MATCH1 = T.let(T.unsafe(nil), Regexp)
|
1300
|
+
YARD::Handlers::C::ModuleHandler::MATCH2 = T.let(T.unsafe(nil), Regexp)
|
1301
|
+
|
1302
|
+
class YARD::Handlers::C::OverrideCommentHandler < ::YARD::Handlers::C::Base
|
1303
|
+
def register_docstring(object, docstring = T.unsafe(nil), stmt = T.unsafe(nil)); end
|
1304
|
+
def register_file_info(object, file = T.unsafe(nil), line = T.unsafe(nil), comments = T.unsafe(nil)); end
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
class YARD::Handlers::C::PathHandler < ::YARD::Handlers::C::Base; end
|
1308
|
+
YARD::Handlers::C::PathHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1309
|
+
class YARD::Handlers::C::StructHandler < ::YARD::Handlers::C::Base; end
|
1310
|
+
YARD::Handlers::C::StructHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1311
|
+
class YARD::Handlers::C::SymbolHandler < ::YARD::Handlers::C::Base; end
|
1312
|
+
YARD::Handlers::C::SymbolHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1313
|
+
module YARD::Handlers::Common; end
|
1314
|
+
|
1315
|
+
module YARD::Handlers::Common::MethodHandler
|
1316
|
+
def add_predicate_return_tag(obj); end
|
1317
|
+
end
|
1318
|
+
|
1319
|
+
class YARD::Handlers::HandlerAborted < ::RuntimeError; end
|
1320
|
+
|
1321
|
+
class YARD::Handlers::NamespaceMissingError < ::YARD::Parser::UndocumentableError
|
1322
|
+
def initialize(object); end
|
1323
|
+
|
1324
|
+
def object; end
|
1325
|
+
def object=(_arg0); end
|
1326
|
+
end
|
1327
|
+
|
1328
|
+
class YARD::Handlers::Processor
|
1329
|
+
def initialize(parser); end
|
1330
|
+
|
1331
|
+
def extra_state; end
|
1332
|
+
def extra_state=(_arg0); end
|
1333
|
+
def file; end
|
1334
|
+
def file=(_arg0); end
|
1335
|
+
def find_handlers(statement); end
|
1336
|
+
def globals; end
|
1337
|
+
def globals=(_arg0); end
|
1338
|
+
def namespace; end
|
1339
|
+
def namespace=(_arg0); end
|
1340
|
+
def owner; end
|
1341
|
+
def owner=(_arg0); end
|
1342
|
+
def parse_remaining_files; end
|
1343
|
+
def parser_type; end
|
1344
|
+
def parser_type=(_arg0); end
|
1345
|
+
def process(statements); end
|
1346
|
+
def scope; end
|
1347
|
+
def scope=(_arg0); end
|
1348
|
+
def visibility; end
|
1349
|
+
def visibility=(_arg0); end
|
1350
|
+
|
1351
|
+
private
|
1352
|
+
|
1353
|
+
def handler_base_class; end
|
1354
|
+
def handler_base_namespace; end
|
1355
|
+
def handles?(handler, statement); end
|
1356
|
+
def load_handlers; end
|
1357
|
+
|
1358
|
+
class << self
|
1359
|
+
def namespace_for_handler; end
|
1360
|
+
def register_handler_namespace(type, ns); end
|
1361
|
+
end
|
1362
|
+
end
|
1363
|
+
|
1364
|
+
module YARD::Handlers::Ruby; end
|
1365
|
+
class YARD::Handlers::Ruby::AliasHandler < ::YARD::Handlers::Ruby::Base; end
|
1366
|
+
|
1367
|
+
class YARD::Handlers::Ruby::AttributeHandler < ::YARD::Handlers::Ruby::Base
|
1368
|
+
protected
|
1369
|
+
|
1370
|
+
def validated_attribute_names(params); end
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
class YARD::Handlers::Ruby::Base < ::YARD::Handlers::Base
|
1374
|
+
include ::YARD::Parser::Ruby
|
1375
|
+
extend ::YARD::Parser::Ruby
|
1376
|
+
|
1377
|
+
def call_params; end
|
1378
|
+
def caller_method; end
|
1379
|
+
def parse_block(inner_node, opts = T.unsafe(nil)); end
|
1380
|
+
|
1381
|
+
class << self
|
1382
|
+
def handles?(node); end
|
1383
|
+
def meta_type(type); end
|
1384
|
+
def method_call(name = T.unsafe(nil)); end
|
1385
|
+
end
|
1386
|
+
end
|
1387
|
+
|
1388
|
+
class YARD::Handlers::Ruby::ClassConditionHandler < ::YARD::Handlers::Ruby::Base
|
1389
|
+
protected
|
1390
|
+
|
1391
|
+
def parse_condition; end
|
1392
|
+
def parse_else_block; end
|
1393
|
+
def parse_then_block; end
|
1394
|
+
end
|
1395
|
+
|
1396
|
+
class YARD::Handlers::Ruby::ClassHandler < ::YARD::Handlers::Ruby::Base
|
1397
|
+
include ::YARD::Handlers::Ruby::StructHandlerMethods
|
1398
|
+
include ::YARDSorbet::Handlers::StructClassHandler
|
1399
|
+
|
1400
|
+
private
|
1401
|
+
|
1402
|
+
def create_struct_superclass(superclass, superclass_def); end
|
1403
|
+
def extract_parameters(superclass); end
|
1404
|
+
def parse_struct_superclass(klass, superclass); end
|
1405
|
+
def parse_superclass(superclass); end
|
1406
|
+
def struct_superclass_name(superclass); end
|
1407
|
+
end
|
1408
|
+
|
1409
|
+
class YARD::Handlers::Ruby::ClassVariableHandler < ::YARD::Handlers::Ruby::Base; end
|
1410
|
+
class YARD::Handlers::Ruby::CommentHandler < ::YARD::Handlers::Ruby::Base; end
|
1411
|
+
|
1412
|
+
class YARD::Handlers::Ruby::ConstantHandler < ::YARD::Handlers::Ruby::Base
|
1413
|
+
include ::YARD::Handlers::Ruby::StructHandlerMethods
|
1414
|
+
|
1415
|
+
private
|
1416
|
+
|
1417
|
+
def extract_parameters(superclass); end
|
1418
|
+
def process_constant(statement); end
|
1419
|
+
def process_structclass(statement); end
|
1420
|
+
end
|
1421
|
+
|
1422
|
+
class YARD::Handlers::Ruby::DSLHandler < ::YARD::Handlers::Ruby::Base
|
1423
|
+
include ::YARD::Handlers::Ruby::DSLHandlerMethods
|
1424
|
+
end
|
1425
|
+
|
1426
|
+
module YARD::Handlers::Ruby::DSLHandlerMethods
|
1427
|
+
include ::YARD::CodeObjects
|
1428
|
+
include ::YARD::Parser
|
1429
|
+
|
1430
|
+
def handle_comments; end
|
1431
|
+
def register_docstring(object, docstring = T.unsafe(nil), stmt = T.unsafe(nil)); end
|
1432
|
+
|
1433
|
+
private
|
1434
|
+
|
1435
|
+
def find_attached_macro; end
|
1436
|
+
def implicit_docstring?; end
|
1437
|
+
def macro_name_matches(macro); end
|
1438
|
+
def method_name; end
|
1439
|
+
def method_signature; end
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
YARD::Handlers::Ruby::DSLHandlerMethods::IGNORE_METHODS = T.let(T.unsafe(nil), Hash)
|
1443
|
+
|
1444
|
+
module YARD::Handlers::Ruby::DecoratorHandlerMethods
|
1445
|
+
def process_decorator(*nodes, &block); end
|
1446
|
+
|
1447
|
+
private
|
1448
|
+
|
1449
|
+
def process_decorator_parameter(node, opts = T.unsafe(nil), &block); end
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
class YARD::Handlers::Ruby::ExceptionHandler < ::YARD::Handlers::Ruby::Base; end
|
1453
|
+
|
1454
|
+
class YARD::Handlers::Ruby::ExtendHandler < ::YARD::Handlers::Ruby::MixinHandler
|
1455
|
+
def scope; end
|
1456
|
+
|
1457
|
+
private
|
1458
|
+
|
1459
|
+
def process_mixin(mixin); end
|
1460
|
+
end
|
1461
|
+
|
1462
|
+
class YARD::Handlers::Ruby::HandlesExtension
|
1463
|
+
def initialize(name); end
|
1464
|
+
|
1465
|
+
def matches?(node); end
|
1466
|
+
|
1467
|
+
protected
|
1468
|
+
|
1469
|
+
def name; end
|
1470
|
+
end
|
1471
|
+
|
1472
|
+
module YARD::Handlers::Ruby::Legacy; end
|
1473
|
+
class YARD::Handlers::Ruby::Legacy::AliasHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1474
|
+
class YARD::Handlers::Ruby::Legacy::AttributeHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1475
|
+
|
1476
|
+
class YARD::Handlers::Ruby::Legacy::Base < ::YARD::Handlers::Base
|
1477
|
+
include ::YARD::Parser::Ruby::Legacy::RubyToken
|
1478
|
+
|
1479
|
+
def call_params; end
|
1480
|
+
def caller_method; end
|
1481
|
+
def parse_block(opts = T.unsafe(nil)); end
|
1482
|
+
|
1483
|
+
private
|
1484
|
+
|
1485
|
+
def extract_method_details; end
|
1486
|
+
def tokval(token, *accepted_types); end
|
1487
|
+
def tokval_list(tokenlist, *accepted_types); end
|
1488
|
+
|
1489
|
+
class << self
|
1490
|
+
def handles?(stmt); end
|
1491
|
+
end
|
1492
|
+
end
|
1493
|
+
|
1494
|
+
class YARD::Handlers::Ruby::Legacy::ClassConditionHandler < ::YARD::Handlers::Ruby::Legacy::Base
|
1495
|
+
protected
|
1496
|
+
|
1497
|
+
def parse_condition; end
|
1498
|
+
def parse_else_block; end
|
1499
|
+
def parse_then_block; end
|
1500
|
+
end
|
1501
|
+
|
1502
|
+
class YARD::Handlers::Ruby::Legacy::ClassHandler < ::YARD::Handlers::Ruby::Legacy::Base
|
1503
|
+
include ::YARD::Handlers::Ruby::StructHandlerMethods
|
1504
|
+
|
1505
|
+
private
|
1506
|
+
|
1507
|
+
def create_struct_superclass(superclass, superclass_def); end
|
1508
|
+
def extract_parameters(superstring); end
|
1509
|
+
def parse_struct_subclass(klass, superclass_def); end
|
1510
|
+
def parse_superclass(superclass); end
|
1511
|
+
def struct_superclass_name(superclass); end
|
1512
|
+
end
|
1513
|
+
|
1514
|
+
class YARD::Handlers::Ruby::Legacy::ClassVariableHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1515
|
+
YARD::Handlers::Ruby::Legacy::ClassVariableHandler::HANDLER_MATCH = T.let(T.unsafe(nil), Regexp)
|
1516
|
+
class YARD::Handlers::Ruby::Legacy::CommentHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1517
|
+
|
1518
|
+
class YARD::Handlers::Ruby::Legacy::ConstantHandler < ::YARD::Handlers::Ruby::Legacy::Base
|
1519
|
+
include ::YARD::Handlers::Ruby::StructHandlerMethods
|
1520
|
+
|
1521
|
+
private
|
1522
|
+
|
1523
|
+
def extract_parameters(parameters); end
|
1524
|
+
def process_structclass(classname, parameters); end
|
1525
|
+
end
|
1526
|
+
|
1527
|
+
YARD::Handlers::Ruby::Legacy::ConstantHandler::HANDLER_MATCH = T.let(T.unsafe(nil), Regexp)
|
1528
|
+
|
1529
|
+
class YARD::Handlers::Ruby::Legacy::DSLHandler < ::YARD::Handlers::Ruby::Legacy::Base
|
1530
|
+
include ::YARD::Handlers::Ruby::DSLHandlerMethods
|
1531
|
+
end
|
1532
|
+
|
1533
|
+
class YARD::Handlers::Ruby::Legacy::ExceptionHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1534
|
+
|
1535
|
+
class YARD::Handlers::Ruby::Legacy::ExtendHandler < ::YARD::Handlers::Ruby::Legacy::MixinHandler
|
1536
|
+
def scope; end
|
1537
|
+
|
1538
|
+
private
|
1539
|
+
|
1540
|
+
def process_mixin(mixin); end
|
1541
|
+
end
|
1542
|
+
|
1543
|
+
class YARD::Handlers::Ruby::Legacy::MethodHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1544
|
+
|
1545
|
+
class YARD::Handlers::Ruby::Legacy::MixinHandler < ::YARD::Handlers::Ruby::Legacy::Base
|
1546
|
+
private
|
1547
|
+
|
1548
|
+
def process_mixin(mixin); end
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
class YARD::Handlers::Ruby::Legacy::ModuleFunctionHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1552
|
+
class YARD::Handlers::Ruby::Legacy::ModuleHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1553
|
+
|
1554
|
+
class YARD::Handlers::Ruby::Legacy::PrivateClassMethodHandler < ::YARD::Handlers::Ruby::Legacy::Base
|
1555
|
+
private
|
1556
|
+
|
1557
|
+
def privatize_class_method(name); end
|
1558
|
+
end
|
1559
|
+
|
1560
|
+
class YARD::Handlers::Ruby::Legacy::PrivateConstantHandler < ::YARD::Handlers::Ruby::Legacy::Base
|
1561
|
+
private
|
1562
|
+
|
1563
|
+
def privatize_constant(name); end
|
1564
|
+
end
|
1565
|
+
|
1566
|
+
class YARD::Handlers::Ruby::Legacy::VisibilityHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1567
|
+
class YARD::Handlers::Ruby::Legacy::YieldHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1568
|
+
|
1569
|
+
class YARD::Handlers::Ruby::MethodCallWrapper < ::YARD::Handlers::Ruby::HandlesExtension
|
1570
|
+
def matches?(node); end
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
class YARD::Handlers::Ruby::MethodConditionHandler < ::YARD::Handlers::Ruby::Base; end
|
1574
|
+
|
1575
|
+
class YARD::Handlers::Ruby::MethodHandler < ::YARD::Handlers::Ruby::Base
|
1576
|
+
include ::YARD::Handlers::Common::MethodHandler
|
1577
|
+
|
1578
|
+
def format_args; end
|
1579
|
+
end
|
1580
|
+
|
1581
|
+
class YARD::Handlers::Ruby::MixinHandler < ::YARD::Handlers::Ruby::Base
|
1582
|
+
protected
|
1583
|
+
|
1584
|
+
def process_mixin(mixin); end
|
1585
|
+
def recipient(mixin); end
|
1586
|
+
end
|
1587
|
+
|
1588
|
+
class YARD::Handlers::Ruby::ModuleFunctionHandler < ::YARD::Handlers::Ruby::Base
|
1589
|
+
include ::YARD::Handlers::Ruby::DecoratorHandlerMethods
|
1590
|
+
|
1591
|
+
def make_module_function(instance_method, namespace); end
|
1592
|
+
end
|
1593
|
+
|
1594
|
+
class YARD::Handlers::Ruby::ModuleHandler < ::YARD::Handlers::Ruby::Base; end
|
1595
|
+
|
1596
|
+
class YARD::Handlers::Ruby::PrivateClassMethodHandler < ::YARD::Handlers::Ruby::Base
|
1597
|
+
include ::YARD::Handlers::Ruby::DecoratorHandlerMethods
|
1598
|
+
end
|
1599
|
+
|
1600
|
+
class YARD::Handlers::Ruby::PrivateConstantHandler < ::YARD::Handlers::Ruby::Base
|
1601
|
+
private
|
1602
|
+
|
1603
|
+
def privatize_constant(node); end
|
1604
|
+
end
|
1605
|
+
|
1606
|
+
class YARD::Handlers::Ruby::PublicClassMethodHandler < ::YARD::Handlers::Ruby::Base
|
1607
|
+
include ::YARD::Handlers::Ruby::DecoratorHandlerMethods
|
1608
|
+
end
|
1609
|
+
|
1610
|
+
module YARD::Handlers::Ruby::StructHandlerMethods
|
1611
|
+
include ::YARD::CodeObjects
|
1612
|
+
|
1613
|
+
def add_reader_tags(klass, new_method, member); end
|
1614
|
+
def add_writer_tags(klass, new_method, member); end
|
1615
|
+
def create_attributes(klass, members); end
|
1616
|
+
def create_class(classname, superclass); end
|
1617
|
+
def create_member_method?(klass, member, type = T.unsafe(nil)); end
|
1618
|
+
def create_reader(klass, member); end
|
1619
|
+
def create_writer(klass, member); end
|
1620
|
+
def member_tag_for_member(klass, member, type = T.unsafe(nil)); end
|
1621
|
+
def members_from_tags(klass); end
|
1622
|
+
def return_type_from_tag(member_tag); end
|
1623
|
+
end
|
1624
|
+
|
1625
|
+
class YARD::Handlers::Ruby::TestNodeWrapper < ::YARD::Handlers::Ruby::HandlesExtension
|
1626
|
+
def matches?(node); end
|
1627
|
+
end
|
1628
|
+
|
1629
|
+
class YARD::Handlers::Ruby::VisibilityHandler < ::YARD::Handlers::Ruby::Base
|
1630
|
+
include ::YARD::Handlers::Ruby::DecoratorHandlerMethods
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
class YARD::Handlers::Ruby::YieldHandler < ::YARD::Handlers::Ruby::Base; end
|
1634
|
+
module YARD::I18n; end
|
1635
|
+
|
1636
|
+
class YARD::I18n::Locale
|
1637
|
+
def initialize(name); end
|
1638
|
+
|
1639
|
+
def load(locale_directory); end
|
1640
|
+
def name; end
|
1641
|
+
def translate(message); end
|
1642
|
+
|
1643
|
+
class << self
|
1644
|
+
def default; end
|
1645
|
+
def default=(locale); end
|
1646
|
+
end
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
class YARD::I18n::Message
|
1650
|
+
def initialize(id); end
|
1651
|
+
|
1652
|
+
def ==(other); end
|
1653
|
+
def add_comment(comment); end
|
1654
|
+
def add_location(path, line); end
|
1655
|
+
def comments; end
|
1656
|
+
def id; end
|
1657
|
+
def locations; end
|
1658
|
+
end
|
1659
|
+
|
1660
|
+
class YARD::I18n::Messages
|
1661
|
+
include ::Enumerable
|
1662
|
+
|
1663
|
+
def initialize; end
|
1664
|
+
|
1665
|
+
def ==(other); end
|
1666
|
+
def [](id); end
|
1667
|
+
def each(&block); end
|
1668
|
+
def register(id); end
|
1669
|
+
|
1670
|
+
protected
|
1671
|
+
|
1672
|
+
def messages; end
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
class YARD::I18n::PotGenerator
|
1676
|
+
def initialize(relative_base_path); end
|
1677
|
+
|
1678
|
+
def generate; end
|
1679
|
+
def messages; end
|
1680
|
+
def parse_files(files); end
|
1681
|
+
def parse_objects(objects); end
|
1682
|
+
|
1683
|
+
private
|
1684
|
+
|
1685
|
+
def current_time; end
|
1686
|
+
def escape_message_id(message_id); end
|
1687
|
+
def extract_documents(object); end
|
1688
|
+
def extract_paragraphs(file); end
|
1689
|
+
def extract_tag_documents(tag); end
|
1690
|
+
def extract_tag_name(tag); end
|
1691
|
+
def extract_tag_text(tag); end
|
1692
|
+
def generate_message(pot, message); end
|
1693
|
+
def generate_pot_creation_date_value; end
|
1694
|
+
def header; end
|
1695
|
+
def register_message(id); end
|
1696
|
+
end
|
1697
|
+
|
1698
|
+
class YARD::I18n::Text
|
1699
|
+
def initialize(input, options = T.unsafe(nil)); end
|
1700
|
+
|
1701
|
+
def extract_messages; end
|
1702
|
+
def translate(locale); end
|
1703
|
+
|
1704
|
+
private
|
1705
|
+
|
1706
|
+
def emit_attribute_event(match_data, line_no); end
|
1707
|
+
def emit_empty_line_event(line, line_no); end
|
1708
|
+
def emit_markup_event(line, line_no); end
|
1709
|
+
def emit_paragraph_event(paragraph, paragraph_start_line, line_no, &block); end
|
1710
|
+
def parse(&block); end
|
1711
|
+
end
|
1712
|
+
|
1713
|
+
class YARD::Logger < ::Logger
|
1714
|
+
def initialize(pipe, *args); end
|
1715
|
+
|
1716
|
+
def <<(msg = T.unsafe(nil)); end
|
1717
|
+
def backtrace(exc, level_meth = T.unsafe(nil)); end
|
1718
|
+
def capture(msg, nontty_log = T.unsafe(nil)); end
|
1719
|
+
def clear_progress; end
|
1720
|
+
def debug(*args); end
|
1721
|
+
def enter_level(new_level = T.unsafe(nil)); end
|
1722
|
+
def io; end
|
1723
|
+
def io=(pipe); end
|
1724
|
+
def print(msg = T.unsafe(nil)); end
|
1725
|
+
def progress(msg, nontty_log = T.unsafe(nil)); end
|
1726
|
+
def puts(msg = T.unsafe(nil)); end
|
1727
|
+
def show_backtraces; end
|
1728
|
+
def show_backtraces=(_arg0); end
|
1729
|
+
def show_progress; end
|
1730
|
+
def show_progress=(_arg0); end
|
1731
|
+
def warn(*args); end
|
1732
|
+
def warn_no_continuations; end
|
1733
|
+
def warned; end
|
1734
|
+
def warned=(_arg0); end
|
1735
|
+
|
1736
|
+
private
|
1737
|
+
|
1738
|
+
def add(*args); end
|
1739
|
+
def clear_line; end
|
1740
|
+
def format_log(sev, _time, _prog, msg); end
|
1741
|
+
def print_no_newline(msg); end
|
1742
|
+
|
1743
|
+
class << self
|
1744
|
+
def instance(pipe = T.unsafe(nil)); end
|
1745
|
+
end
|
1746
|
+
end
|
1747
|
+
|
1748
|
+
YARD::Logger::PROGRESS_INDICATORS = T.let(T.unsafe(nil), Array)
|
1749
|
+
|
1750
|
+
class YARD::Options
|
1751
|
+
def ==(other); end
|
1752
|
+
def [](key); end
|
1753
|
+
def []=(key, value); end
|
1754
|
+
def delete(key); end
|
1755
|
+
def each; end
|
1756
|
+
def inspect; end
|
1757
|
+
def merge(opts); end
|
1758
|
+
def method_missing(meth, *args, &block); end
|
1759
|
+
def reset_defaults; end
|
1760
|
+
def to_hash; end
|
1761
|
+
def update(opts); end
|
1762
|
+
|
1763
|
+
class << self
|
1764
|
+
def default_attr(key, default); end
|
1765
|
+
end
|
1766
|
+
end
|
1767
|
+
|
1768
|
+
module YARD::Parser; end
|
1769
|
+
|
1770
|
+
class YARD::Parser::Base
|
1771
|
+
def initialize(source, filename); end
|
1772
|
+
|
1773
|
+
def enumerator; end
|
1774
|
+
def parse; end
|
1775
|
+
def tokenize; end
|
1776
|
+
|
1777
|
+
class << self
|
1778
|
+
def parse(source, filename = T.unsafe(nil)); end
|
1779
|
+
end
|
1780
|
+
end
|
1781
|
+
|
1782
|
+
module YARD::Parser::C; end
|
1783
|
+
|
1784
|
+
class YARD::Parser::C::BodyStatement < ::YARD::Parser::C::Statement
|
1785
|
+
def comments; end
|
1786
|
+
def comments=(_arg0); end
|
1787
|
+
end
|
1788
|
+
|
1789
|
+
class YARD::Parser::C::CParser < ::YARD::Parser::Base
|
1790
|
+
def initialize(source, file = T.unsafe(nil)); end
|
1791
|
+
|
1792
|
+
def enumerator; end
|
1793
|
+
def parse; end
|
1794
|
+
def tokenize; end
|
1795
|
+
|
1796
|
+
private
|
1797
|
+
|
1798
|
+
def advance(num = T.unsafe(nil)); end
|
1799
|
+
def advance_loop; end
|
1800
|
+
def attach_comment(statement); end
|
1801
|
+
def back(num = T.unsafe(nil)); end
|
1802
|
+
def char(num = T.unsafe(nil)); end
|
1803
|
+
def consume_body_statements; end
|
1804
|
+
def consume_comment(add_comment = T.unsafe(nil)); end
|
1805
|
+
def consume_directive; end
|
1806
|
+
def consume_quote(type = T.unsafe(nil)); end
|
1807
|
+
def consume_toplevel_statement; end
|
1808
|
+
def consume_until(end_char, bracket_level = T.unsafe(nil), brace_level = T.unsafe(nil), add_comment = T.unsafe(nil)); end
|
1809
|
+
def consume_whitespace; end
|
1810
|
+
def nextchar(num = T.unsafe(nil)); end
|
1811
|
+
def nextline; end
|
1812
|
+
def parse_toplevel; end
|
1813
|
+
def prevchar(num = T.unsafe(nil)); end
|
1814
|
+
def strip_non_statement_data; end
|
1815
|
+
def struct; end
|
1816
|
+
end
|
1817
|
+
|
1818
|
+
class YARD::Parser::C::Comment < ::YARD::Parser::C::Statement
|
1819
|
+
include ::YARD::Parser::C::CommentParser
|
1820
|
+
|
1821
|
+
def initialize(source, file = T.unsafe(nil), line = T.unsafe(nil)); end
|
1822
|
+
|
1823
|
+
def comments; end
|
1824
|
+
def overrides; end
|
1825
|
+
def overrides=(_arg0); end
|
1826
|
+
def statement; end
|
1827
|
+
def statement=(_arg0); end
|
1828
|
+
def type; end
|
1829
|
+
def type=(_arg0); end
|
1830
|
+
end
|
1831
|
+
|
1832
|
+
module YARD::Parser::C::CommentParser
|
1833
|
+
protected
|
1834
|
+
|
1835
|
+
def parse_comments(comments); end
|
1836
|
+
|
1837
|
+
private
|
1838
|
+
|
1839
|
+
def parse_callseq(comments); end
|
1840
|
+
def parse_overrides(comments); end
|
1841
|
+
def parse_types(types); end
|
1842
|
+
def remove_private_comments(comment); end
|
1843
|
+
end
|
1844
|
+
|
1845
|
+
class YARD::Parser::C::Statement
|
1846
|
+
def initialize(source, file = T.unsafe(nil), line = T.unsafe(nil)); end
|
1847
|
+
|
1848
|
+
def comments_hash_flag; end
|
1849
|
+
def comments_hash_flag=(_arg0); end
|
1850
|
+
def comments_range; end
|
1851
|
+
def file; end
|
1852
|
+
def file=(_arg0); end
|
1853
|
+
def first_line; end
|
1854
|
+
def group; end
|
1855
|
+
def group=(_arg0); end
|
1856
|
+
def line; end
|
1857
|
+
def line=(_arg0); end
|
1858
|
+
def line_range; end
|
1859
|
+
def show; end
|
1860
|
+
def signature; end
|
1861
|
+
def source; end
|
1862
|
+
def source=(_arg0); end
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
class YARD::Parser::C::ToplevelStatement < ::YARD::Parser::C::Statement
|
1866
|
+
def block; end
|
1867
|
+
def block=(_arg0); end
|
1868
|
+
def comments; end
|
1869
|
+
def comments=(_arg0); end
|
1870
|
+
def declaration; end
|
1871
|
+
def declaration=(_arg0); end
|
1872
|
+
end
|
1873
|
+
|
1874
|
+
class YARD::Parser::OrderedParser
|
1875
|
+
def initialize(global_state, files); end
|
1876
|
+
|
1877
|
+
def files; end
|
1878
|
+
def files=(_arg0); end
|
1879
|
+
def parse; end
|
1880
|
+
end
|
1881
|
+
|
1882
|
+
class YARD::Parser::ParserSyntaxError < ::YARD::Parser::UndocumentableError; end
|
1883
|
+
|
1884
|
+
module YARD::Parser::Ruby
|
1885
|
+
def s(*args); end
|
1886
|
+
end
|
1887
|
+
|
1888
|
+
class YARD::Parser::Ruby::AstNode < ::Array
|
1889
|
+
def initialize(type, arr, opts = T.unsafe(nil)); end
|
1890
|
+
|
1891
|
+
def ==(other); end
|
1892
|
+
def block?; end
|
1893
|
+
def call?; end
|
1894
|
+
def children; end
|
1895
|
+
def comments; end
|
1896
|
+
def comments_hash_flag; end
|
1897
|
+
def comments_range; end
|
1898
|
+
def condition?; end
|
1899
|
+
def def?; end
|
1900
|
+
def docstring; end
|
1901
|
+
def docstring=(_arg0); end
|
1902
|
+
def docstring_hash_flag; end
|
1903
|
+
def docstring_hash_flag=(_arg0); end
|
1904
|
+
def docstring_range; end
|
1905
|
+
def docstring_range=(_arg0); end
|
1906
|
+
def file; end
|
1907
|
+
def file=(_arg0); end
|
1908
|
+
def first_line; end
|
1909
|
+
def full_source; end
|
1910
|
+
def full_source=(_arg0); end
|
1911
|
+
def group; end
|
1912
|
+
def group=(_arg0); end
|
1913
|
+
def has_line?; end
|
1914
|
+
def inspect; end
|
1915
|
+
def jump(*node_types); end
|
1916
|
+
def kw?; end
|
1917
|
+
def line; end
|
1918
|
+
def line_range; end
|
1919
|
+
def line_range=(_arg0); end
|
1920
|
+
def literal?; end
|
1921
|
+
def loop?; end
|
1922
|
+
def parent; end
|
1923
|
+
def parent=(_arg0); end
|
1924
|
+
def pretty_print(q); end
|
1925
|
+
def ref?; end
|
1926
|
+
def show; end
|
1927
|
+
def source; end
|
1928
|
+
def source=(_arg0); end
|
1929
|
+
def source_range; end
|
1930
|
+
def source_range=(_arg0); end
|
1931
|
+
def to_s; end
|
1932
|
+
def token?; end
|
1933
|
+
def traverse; end
|
1934
|
+
def type; end
|
1935
|
+
def type=(_arg0); end
|
1936
|
+
def unfreeze; end
|
1937
|
+
|
1938
|
+
private
|
1939
|
+
|
1940
|
+
def reset_line_info; end
|
1941
|
+
|
1942
|
+
class << self
|
1943
|
+
def node_class_for(type); end
|
1944
|
+
end
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
YARD::Parser::Ruby::AstNode::KEYWORDS = T.let(T.unsafe(nil), Hash)
|
1948
|
+
|
1949
|
+
class YARD::Parser::Ruby::ClassNode < ::YARD::Parser::Ruby::KeywordNode
|
1950
|
+
def block; end
|
1951
|
+
def class_name; end
|
1952
|
+
def superclass; end
|
1953
|
+
end
|
1954
|
+
|
1955
|
+
class YARD::Parser::Ruby::CommentNode < ::YARD::Parser::Ruby::AstNode
|
1956
|
+
def comments; end
|
1957
|
+
def docstring; end
|
1958
|
+
def docstring=(value); end
|
1959
|
+
def first_line; end
|
1960
|
+
def source; end
|
1961
|
+
end
|
1962
|
+
|
1963
|
+
class YARD::Parser::Ruby::ConditionalNode < ::YARD::Parser::Ruby::KeywordNode
|
1964
|
+
def condition; end
|
1965
|
+
def condition?; end
|
1966
|
+
def else_block; end
|
1967
|
+
def then_block; end
|
1968
|
+
|
1969
|
+
private
|
1970
|
+
|
1971
|
+
def cmod?; end
|
1972
|
+
end
|
1973
|
+
|
1974
|
+
class YARD::Parser::Ruby::KeywordNode < ::YARD::Parser::Ruby::AstNode
|
1975
|
+
def kw?; end
|
1976
|
+
end
|
1977
|
+
|
1978
|
+
module YARD::Parser::Ruby::Legacy; end
|
1979
|
+
|
1980
|
+
class YARD::Parser::Ruby::Legacy::RubyLex
|
1981
|
+
include ::YARD::Parser::Ruby::Legacy::RubyToken
|
1982
|
+
include ::IRB
|
1983
|
+
|
1984
|
+
def initialize(content); end
|
1985
|
+
|
1986
|
+
def char_no; end
|
1987
|
+
def continue; end
|
1988
|
+
def exception_on_syntax_error; end
|
1989
|
+
def exception_on_syntax_error=(_arg0); end
|
1990
|
+
def get_read; end
|
1991
|
+
def getc; end
|
1992
|
+
def getc_of_rests; end
|
1993
|
+
def gets; end
|
1994
|
+
def identify_comment; end
|
1995
|
+
def identify_gvar; end
|
1996
|
+
def identify_here_document; end
|
1997
|
+
def identify_identifier; end
|
1998
|
+
def identify_number(start); end
|
1999
|
+
def identify_quotation(initial_char); end
|
2000
|
+
def identify_string(ltype, quoted = T.unsafe(nil), opener = T.unsafe(nil), initial_char = T.unsafe(nil)); end
|
2001
|
+
def indent; end
|
2002
|
+
def lex; end
|
2003
|
+
def lex_init; end
|
2004
|
+
def lex_int2; end
|
2005
|
+
def lex_state; end
|
2006
|
+
def line_no; end
|
2007
|
+
def peek(i = T.unsafe(nil)); end
|
2008
|
+
def peek_equal?(str); end
|
2009
|
+
def read_auto_clean_up; end
|
2010
|
+
def read_auto_clean_up=(_arg0); end
|
2011
|
+
def read_escape; end
|
2012
|
+
def skip_inner_expression; end
|
2013
|
+
def skip_space; end
|
2014
|
+
def skip_space=(_arg0); end
|
2015
|
+
def token; end
|
2016
|
+
def ungetc(c = T.unsafe(nil)); end
|
2017
|
+
|
2018
|
+
class << self
|
2019
|
+
def debug?; end
|
2020
|
+
end
|
2021
|
+
end
|
2022
|
+
|
2023
|
+
YARD::Parser::Ruby::Legacy::RubyLex::ACCEPTS_COLON = T.let(T.unsafe(nil), Array)
|
2024
|
+
|
2025
|
+
class YARD::Parser::Ruby::Legacy::RubyLex::BufferedReader
|
2026
|
+
def initialize(content); end
|
2027
|
+
|
2028
|
+
def column; end
|
2029
|
+
def divert_read_from(reserve); end
|
2030
|
+
def get_read; end
|
2031
|
+
def getc; end
|
2032
|
+
def getc_already_read; end
|
2033
|
+
def line_num; end
|
2034
|
+
def peek(at); end
|
2035
|
+
def peek_equal(str); end
|
2036
|
+
def ungetc(_ch); end
|
2037
|
+
end
|
2038
|
+
|
2039
|
+
YARD::Parser::Ruby::Legacy::RubyLex::DEINDENT_CLAUSE = T.let(T.unsafe(nil), Array)
|
2040
|
+
YARD::Parser::Ruby::Legacy::RubyLex::DLtype2Token = T.let(T.unsafe(nil), Hash)
|
2041
|
+
YARD::Parser::Ruby::Legacy::RubyLex::ENINDENT_CLAUSE = T.let(T.unsafe(nil), Array)
|
2042
|
+
YARD::Parser::Ruby::Legacy::RubyLex::Ltype2Token = T.let(T.unsafe(nil), Hash)
|
2043
|
+
YARD::Parser::Ruby::Legacy::RubyLex::PERCENT_LTYPE = T.let(T.unsafe(nil), Hash)
|
2044
|
+
YARD::Parser::Ruby::Legacy::RubyLex::PERCENT_PAREN = T.let(T.unsafe(nil), Hash)
|
2045
|
+
|
2046
|
+
class YARD::Parser::Ruby::Legacy::RubyParser < ::YARD::Parser::Base
|
2047
|
+
def initialize(source, _filename); end
|
2048
|
+
|
2049
|
+
def encoding_line; end
|
2050
|
+
def enumerator; end
|
2051
|
+
def parse; end
|
2052
|
+
def shebang_line; end
|
2053
|
+
def tokenize; end
|
2054
|
+
end
|
2055
|
+
|
2056
|
+
module YARD::Parser::Ruby::Legacy::RubyToken
|
2057
|
+
def Token(token, value = T.unsafe(nil)); end
|
2058
|
+
def set_token_position(line, char); end
|
2059
|
+
|
2060
|
+
class << self
|
2061
|
+
def def_token(token_n, super_token = T.unsafe(nil), reading = T.unsafe(nil), *opts); end
|
2062
|
+
end
|
2063
|
+
end
|
2064
|
+
|
2065
|
+
YARD::Parser::Ruby::Legacy::RubyToken::EXPR_ARG = T.let(T.unsafe(nil), Symbol)
|
2066
|
+
YARD::Parser::Ruby::Legacy::RubyToken::EXPR_BEG = T.let(T.unsafe(nil), Symbol)
|
2067
|
+
YARD::Parser::Ruby::Legacy::RubyToken::EXPR_CLASS = T.let(T.unsafe(nil), Symbol)
|
2068
|
+
YARD::Parser::Ruby::Legacy::RubyToken::EXPR_DOT = T.let(T.unsafe(nil), Symbol)
|
2069
|
+
YARD::Parser::Ruby::Legacy::RubyToken::EXPR_END = T.let(T.unsafe(nil), Symbol)
|
2070
|
+
YARD::Parser::Ruby::Legacy::RubyToken::EXPR_FNAME = T.let(T.unsafe(nil), Symbol)
|
2071
|
+
YARD::Parser::Ruby::Legacy::RubyToken::EXPR_MID = T.let(T.unsafe(nil), Symbol)
|
2072
|
+
YARD::Parser::Ruby::Legacy::RubyToken::NEWLINE_TOKEN = T.let(T.unsafe(nil), YARD::Parser::Ruby::Legacy::RubyToken::TkNL)
|
2073
|
+
|
2074
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::OPASGN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2075
|
+
class << self
|
2076
|
+
def op_name; end
|
2077
|
+
end
|
2078
|
+
end
|
2079
|
+
|
2080
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkALIAS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2081
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkAMPER < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2082
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkAND < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2083
|
+
|
2084
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkANDOP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2085
|
+
class << self
|
2086
|
+
def op_name; end
|
2087
|
+
end
|
2088
|
+
end
|
2089
|
+
|
2090
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkAREF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2091
|
+
class << self
|
2092
|
+
def op_name; end
|
2093
|
+
end
|
2094
|
+
end
|
2095
|
+
|
2096
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkASET < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2097
|
+
class << self
|
2098
|
+
def op_name; end
|
2099
|
+
end
|
2100
|
+
end
|
2101
|
+
|
2102
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkASSIGN < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2103
|
+
|
2104
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkASSOC < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2105
|
+
class << self
|
2106
|
+
def op_name; end
|
2107
|
+
end
|
2108
|
+
end
|
2109
|
+
|
2110
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkAT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar; end
|
2111
|
+
|
2112
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBACKQUOTE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2113
|
+
class << self
|
2114
|
+
def op_name; end
|
2115
|
+
end
|
2116
|
+
end
|
2117
|
+
|
2118
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBACKSLASH < ::YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar; end
|
2119
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBACK_REF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2120
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBEGIN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2121
|
+
|
2122
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBITAND < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2123
|
+
class << self
|
2124
|
+
def op_name; end
|
2125
|
+
end
|
2126
|
+
end
|
2127
|
+
|
2128
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBITNOT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2129
|
+
class << self
|
2130
|
+
def op_name; end
|
2131
|
+
end
|
2132
|
+
end
|
2133
|
+
|
2134
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBITOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2135
|
+
class << self
|
2136
|
+
def op_name; end
|
2137
|
+
end
|
2138
|
+
end
|
2139
|
+
|
2140
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBITXOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2141
|
+
class << self
|
2142
|
+
def op_name; end
|
2143
|
+
end
|
2144
|
+
end
|
2145
|
+
|
2146
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBREAK < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2147
|
+
|
2148
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBlockContents < ::YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2149
|
+
def text; end
|
2150
|
+
end
|
2151
|
+
|
2152
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCASE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2153
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCLASS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2154
|
+
|
2155
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCMP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2156
|
+
class << self
|
2157
|
+
def op_name; end
|
2158
|
+
end
|
2159
|
+
end
|
2160
|
+
|
2161
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2162
|
+
class << self
|
2163
|
+
def op_name; end
|
2164
|
+
end
|
2165
|
+
end
|
2166
|
+
|
2167
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON2 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2168
|
+
class << self
|
2169
|
+
def op_name; end
|
2170
|
+
end
|
2171
|
+
end
|
2172
|
+
|
2173
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON3 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2174
|
+
class << self
|
2175
|
+
def op_name; end
|
2176
|
+
end
|
2177
|
+
end
|
2178
|
+
|
2179
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCOMMA < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2180
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCOMMENT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2181
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCONSTANT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2182
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDEF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2183
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDEFINED < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2184
|
+
|
2185
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDIV < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2186
|
+
class << self
|
2187
|
+
def op_name; end
|
2188
|
+
end
|
2189
|
+
end
|
2190
|
+
|
2191
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDO < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2192
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDOLLAR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar; end
|
2193
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDOT < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2194
|
+
|
2195
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDOT2 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2196
|
+
class << self
|
2197
|
+
def op_name; end
|
2198
|
+
end
|
2199
|
+
end
|
2200
|
+
|
2201
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDOT3 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2202
|
+
class << self
|
2203
|
+
def op_name; end
|
2204
|
+
end
|
2205
|
+
end
|
2206
|
+
|
2207
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDREGEXP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkNode; end
|
2208
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDSTRING < ::YARD::Parser::Ruby::Legacy::RubyToken::TkNode; end
|
2209
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDXSTRING < ::YARD::Parser::Ruby::Legacy::RubyToken::TkNode; end
|
2210
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkELSE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2211
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkELSIF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2212
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkEND < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2213
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkEND_OF_SCRIPT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkWhitespace; end
|
2214
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkENSURE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2215
|
+
|
2216
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2217
|
+
class << self
|
2218
|
+
def op_name; end
|
2219
|
+
end
|
2220
|
+
end
|
2221
|
+
|
2222
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkEQQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2223
|
+
class << self
|
2224
|
+
def op_name; end
|
2225
|
+
end
|
2226
|
+
end
|
2227
|
+
|
2228
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkError < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2229
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkFALSE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2230
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkFID < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2231
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkFLOAT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2232
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkFOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2233
|
+
|
2234
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkGEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2235
|
+
class << self
|
2236
|
+
def op_name; end
|
2237
|
+
end
|
2238
|
+
end
|
2239
|
+
|
2240
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkGT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2241
|
+
class << self
|
2242
|
+
def op_name; end
|
2243
|
+
end
|
2244
|
+
end
|
2245
|
+
|
2246
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkGVAR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2247
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkIDENTIFIER < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2248
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkIF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2249
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkIF_MOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2250
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkIN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2251
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkINTEGER < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2252
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkIVAR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2253
|
+
|
2254
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkId < ::YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2255
|
+
def initialize(line_no, char_no, name); end
|
2256
|
+
|
2257
|
+
def name; end
|
2258
|
+
end
|
2259
|
+
|
2260
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkKW < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2261
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkLABEL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2262
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkLBRACE < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2263
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkLBRACK < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2264
|
+
|
2265
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkLEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2266
|
+
class << self
|
2267
|
+
def op_name; end
|
2268
|
+
end
|
2269
|
+
end
|
2270
|
+
|
2271
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkLPAREN < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2272
|
+
|
2273
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkLSHFT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2274
|
+
class << self
|
2275
|
+
def op_name; end
|
2276
|
+
end
|
2277
|
+
end
|
2278
|
+
|
2279
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkLT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2280
|
+
class << self
|
2281
|
+
def op_name; end
|
2282
|
+
end
|
2283
|
+
end
|
2284
|
+
|
2285
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkMATCH < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2286
|
+
class << self
|
2287
|
+
def op_name; end
|
2288
|
+
end
|
2289
|
+
end
|
2290
|
+
|
2291
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkMINUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2292
|
+
class << self
|
2293
|
+
def op_name; end
|
2294
|
+
end
|
2295
|
+
end
|
2296
|
+
|
2297
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkMOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2298
|
+
class << self
|
2299
|
+
def op_name; end
|
2300
|
+
end
|
2301
|
+
end
|
2302
|
+
|
2303
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkMODULE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2304
|
+
|
2305
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkMULT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2306
|
+
class << self
|
2307
|
+
def op_name; end
|
2308
|
+
end
|
2309
|
+
end
|
2310
|
+
|
2311
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2312
|
+
class << self
|
2313
|
+
def op_name; end
|
2314
|
+
end
|
2315
|
+
end
|
2316
|
+
|
2317
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNEXT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2318
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNIL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2319
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkWhitespace; end
|
2320
|
+
|
2321
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNMATCH < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2322
|
+
class << self
|
2323
|
+
def op_name; end
|
2324
|
+
end
|
2325
|
+
end
|
2326
|
+
|
2327
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNOT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2328
|
+
|
2329
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNOTOP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2330
|
+
class << self
|
2331
|
+
def op_name; end
|
2332
|
+
end
|
2333
|
+
end
|
2334
|
+
|
2335
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNTH_REF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2336
|
+
|
2337
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNode < ::YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2338
|
+
def node; end
|
2339
|
+
end
|
2340
|
+
|
2341
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkOPASGN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2342
|
+
def initialize(line_no, char_no, op); end
|
2343
|
+
|
2344
|
+
def op; end
|
2345
|
+
end
|
2346
|
+
|
2347
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2348
|
+
|
2349
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkOROP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2350
|
+
class << self
|
2351
|
+
def op_name; end
|
2352
|
+
end
|
2353
|
+
end
|
2354
|
+
|
2355
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkOp < ::YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2356
|
+
def name; end
|
2357
|
+
end
|
2358
|
+
|
2359
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkPLUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2360
|
+
class << self
|
2361
|
+
def op_name; end
|
2362
|
+
end
|
2363
|
+
end
|
2364
|
+
|
2365
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkPOW < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2366
|
+
class << self
|
2367
|
+
def op_name; end
|
2368
|
+
end
|
2369
|
+
end
|
2370
|
+
|
2371
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkQUESTION < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2372
|
+
class << self
|
2373
|
+
def op_name; end
|
2374
|
+
end
|
2375
|
+
end
|
2376
|
+
|
2377
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkRBRACE < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2378
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkRBRACK < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2379
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkREDO < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2380
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkREGEXP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2381
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkRESCUE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2382
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkRETRY < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2383
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkRETURN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2384
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkRPAREN < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2385
|
+
|
2386
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkRSHFT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2387
|
+
class << self
|
2388
|
+
def op_name; end
|
2389
|
+
end
|
2390
|
+
end
|
2391
|
+
|
2392
|
+
YARD::Parser::Ruby::Legacy::RubyToken::TkReading2Token = T.let(T.unsafe(nil), Hash)
|
2393
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSELF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2394
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSEMICOLON < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2395
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSPACE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkWhitespace; end
|
2396
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSTAR < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2397
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSTRING < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2398
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSUPER < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2399
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSYMBEG < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2400
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSYMBOL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2401
|
+
|
2402
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkStatementEnd < ::YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2403
|
+
def text; end
|
2404
|
+
end
|
2405
|
+
|
2406
|
+
YARD::Parser::Ruby::Legacy::RubyToken::TkSymbol2Token = T.let(T.unsafe(nil), Hash)
|
2407
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkTHEN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2408
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkTRUE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2409
|
+
|
2410
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUMINUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2411
|
+
class << self
|
2412
|
+
def op_name; end
|
2413
|
+
end
|
2414
|
+
end
|
2415
|
+
|
2416
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUNDEF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2417
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUNLESS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2418
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUNLESS_MOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2419
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUNTIL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2420
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUNTIL_MOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2421
|
+
|
2422
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUPLUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2423
|
+
class << self
|
2424
|
+
def op_name; end
|
2425
|
+
end
|
2426
|
+
end
|
2427
|
+
|
2428
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar < ::YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2429
|
+
def initialize(line_no, char_no, _id); end
|
2430
|
+
|
2431
|
+
def name; end
|
2432
|
+
end
|
2433
|
+
|
2434
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkVal < ::YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2435
|
+
def initialize(line_no, char_no, value = T.unsafe(nil)); end
|
2436
|
+
end
|
2437
|
+
|
2438
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkWHEN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2439
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkWHILE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2440
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkWHILE_MOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2441
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkWhitespace < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2442
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkXSTRING < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2443
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkYIELD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2444
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::Tk__FILE__ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2445
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::Tk__LINE__ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2446
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TklBEGIN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2447
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TklEND < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2448
|
+
|
2449
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2450
|
+
def initialize(line_no, char_no); end
|
2451
|
+
|
2452
|
+
def char_no; end
|
2453
|
+
def lex_state; end
|
2454
|
+
def lex_state=(_arg0); end
|
2455
|
+
def line_no; end
|
2456
|
+
def set_text(text); end
|
2457
|
+
def text; end
|
2458
|
+
end
|
2459
|
+
|
2460
|
+
YARD::Parser::Ruby::Legacy::RubyToken::Token::NO_TEXT = T.let(T.unsafe(nil), String)
|
2461
|
+
YARD::Parser::Ruby::Legacy::RubyToken::TokenDefinitions = T.let(T.unsafe(nil), Array)
|
2462
|
+
|
2463
|
+
class YARD::Parser::Ruby::Legacy::Statement
|
2464
|
+
def initialize(tokens, block = T.unsafe(nil), comments = T.unsafe(nil)); end
|
2465
|
+
|
2466
|
+
def block; end
|
2467
|
+
def comments; end
|
2468
|
+
def comments_hash_flag; end
|
2469
|
+
def comments_hash_flag=(_arg0); end
|
2470
|
+
def comments_range; end
|
2471
|
+
def comments_range=(_arg0); end
|
2472
|
+
def first_line; end
|
2473
|
+
def group; end
|
2474
|
+
def group=(_arg0); end
|
2475
|
+
def inspect; end
|
2476
|
+
def line; end
|
2477
|
+
def line_range; end
|
2478
|
+
def show; end
|
2479
|
+
def signature; end
|
2480
|
+
def source(include_block = T.unsafe(nil)); end
|
2481
|
+
def to_s(include_block = T.unsafe(nil)); end
|
2482
|
+
def tokens; end
|
2483
|
+
|
2484
|
+
private
|
2485
|
+
|
2486
|
+
def clean_tokens(tokens); end
|
2487
|
+
end
|
2488
|
+
|
2489
|
+
class YARD::Parser::Ruby::Legacy::StatementList < ::Array
|
2490
|
+
include ::YARD::Parser::Ruby::Legacy::RubyToken
|
2491
|
+
|
2492
|
+
def initialize(content); end
|
2493
|
+
|
2494
|
+
def encoding_line; end
|
2495
|
+
def encoding_line=(_arg0); end
|
2496
|
+
def shebang_line; end
|
2497
|
+
def shebang_line=(_arg0); end
|
2498
|
+
|
2499
|
+
private
|
2500
|
+
|
2501
|
+
def balances?(tk); end
|
2502
|
+
def next_statement; end
|
2503
|
+
def parse_statements; end
|
2504
|
+
def peek_no_space; end
|
2505
|
+
def process_block_token(tk); end
|
2506
|
+
def process_complex_block_opener(tk); end
|
2507
|
+
def process_initial_comment(tk); end
|
2508
|
+
def process_simple_block_opener(tk); end
|
2509
|
+
def process_statement_end(tk); end
|
2510
|
+
def process_token(tk); end
|
2511
|
+
def push_token(tk); end
|
2512
|
+
def sanitize_block; end
|
2513
|
+
def sanitize_statement_end; end
|
2514
|
+
end
|
2515
|
+
|
2516
|
+
YARD::Parser::Ruby::Legacy::StatementList::OPEN_BLOCK_TOKENS = T.let(T.unsafe(nil), Array)
|
2517
|
+
|
2518
|
+
class YARD::Parser::Ruby::Legacy::TokenList < ::Array
|
2519
|
+
include ::YARD::Parser::Ruby::Legacy::RubyToken
|
2520
|
+
|
2521
|
+
def initialize(content = T.unsafe(nil)); end
|
2522
|
+
|
2523
|
+
def <<(*tokens); end
|
2524
|
+
def push(*tokens); end
|
2525
|
+
def squeeze(type = T.unsafe(nil)); end
|
2526
|
+
def to_s(full_statement = T.unsafe(nil), show_block = T.unsafe(nil)); end
|
2527
|
+
|
2528
|
+
private
|
2529
|
+
|
2530
|
+
def convert_token(lex, tk); end
|
2531
|
+
def parse_content(content); end
|
2532
|
+
end
|
2533
|
+
|
2534
|
+
class YARD::Parser::Ruby::LiteralNode < ::YARD::Parser::Ruby::AstNode
|
2535
|
+
def literal?; end
|
2536
|
+
end
|
2537
|
+
|
2538
|
+
class YARD::Parser::Ruby::LoopNode < ::YARD::Parser::Ruby::KeywordNode
|
2539
|
+
def block; end
|
2540
|
+
def condition; end
|
2541
|
+
def loop?; end
|
2542
|
+
end
|
2543
|
+
|
2544
|
+
class YARD::Parser::Ruby::MethodCallNode < ::YARD::Parser::Ruby::AstNode
|
2545
|
+
def block; end
|
2546
|
+
def block_param; end
|
2547
|
+
def call?; end
|
2548
|
+
def method_name(name_only = T.unsafe(nil)); end
|
2549
|
+
def namespace; end
|
2550
|
+
def parameters(include_block_param = T.unsafe(nil)); end
|
2551
|
+
|
2552
|
+
private
|
2553
|
+
|
2554
|
+
def call_has_paren?; end
|
2555
|
+
def index_adjust; end
|
2556
|
+
end
|
2557
|
+
|
2558
|
+
class YARD::Parser::Ruby::MethodDefinitionNode < ::YARD::Parser::Ruby::AstNode
|
2559
|
+
def block(*_arg0); end
|
2560
|
+
def def?; end
|
2561
|
+
def kw?; end
|
2562
|
+
def method_name(name_only = T.unsafe(nil)); end
|
2563
|
+
def namespace; end
|
2564
|
+
def parameters(include_block_param = T.unsafe(nil)); end
|
2565
|
+
def signature; end
|
2566
|
+
|
2567
|
+
private
|
2568
|
+
|
2569
|
+
def index_adjust; end
|
2570
|
+
end
|
2571
|
+
|
2572
|
+
class YARD::Parser::Ruby::ModuleNode < ::YARD::Parser::Ruby::KeywordNode
|
2573
|
+
def block; end
|
2574
|
+
def module_name; end
|
2575
|
+
end
|
2576
|
+
|
2577
|
+
class YARD::Parser::Ruby::ParameterNode < ::YARD::Parser::Ruby::AstNode
|
2578
|
+
def block_param; end
|
2579
|
+
def double_splat_param; end
|
2580
|
+
def named_params; end
|
2581
|
+
def splat_param; end
|
2582
|
+
def unnamed_end_params; end
|
2583
|
+
def unnamed_optional_params; end
|
2584
|
+
def unnamed_required_params; end
|
2585
|
+
end
|
2586
|
+
|
2587
|
+
class YARD::Parser::Ruby::ReferenceNode < ::YARD::Parser::Ruby::AstNode
|
2588
|
+
def namespace; end
|
2589
|
+
def path; end
|
2590
|
+
def ref?; end
|
2591
|
+
end
|
2592
|
+
|
2593
|
+
class YARD::Parser::Ruby::RipperParser < ::Ripper
|
2594
|
+
def initialize(source, filename, *args); end
|
2595
|
+
|
2596
|
+
def ast; end
|
2597
|
+
def charno; end
|
2598
|
+
def comments; end
|
2599
|
+
def encoding_line; end
|
2600
|
+
def enumerator; end
|
2601
|
+
def file; end
|
2602
|
+
def file_encoding; end
|
2603
|
+
def frozen_string_line; end
|
2604
|
+
def on_BEGIN(*args); end
|
2605
|
+
def on_CHAR(tok); end
|
2606
|
+
def on_END(*args); end
|
2607
|
+
def on___end__(tok); end
|
2608
|
+
def on_alias(*args); end
|
2609
|
+
def on_alias_error(*args); end
|
2610
|
+
def on_arg_ambiguous(*args); end
|
2611
|
+
def on_arg_paren(*args); end
|
2612
|
+
def on_args_add(list, item); end
|
2613
|
+
def on_args_add_block(list, item); end
|
2614
|
+
def on_args_add_star(list, item); end
|
2615
|
+
def on_args_forward(*args); end
|
2616
|
+
def on_args_new(*args); end
|
2617
|
+
def on_aryptn(*args); end
|
2618
|
+
def on_assign(*args); end
|
2619
|
+
def on_assign_error(*args); end
|
2620
|
+
def on_assoc_splat(*args); end
|
2621
|
+
def on_backref(tok); end
|
2622
|
+
def on_backtick(tok); end
|
2623
|
+
def on_begin(*args); end
|
2624
|
+
def on_binary(*args); end
|
2625
|
+
def on_block_var(*args); end
|
2626
|
+
def on_blockarg(*args); end
|
2627
|
+
def on_brace_block(*args); end
|
2628
|
+
def on_break(*args); end
|
2629
|
+
def on_call(*args); end
|
2630
|
+
def on_case(*args); end
|
2631
|
+
def on_class(*args); end
|
2632
|
+
def on_class_name_error(*args); end
|
2633
|
+
def on_comma(tok); end
|
2634
|
+
def on_command(*args); end
|
2635
|
+
def on_command_call(*args); end
|
2636
|
+
def on_const(tok); end
|
2637
|
+
def on_const_path_field(*args); end
|
2638
|
+
def on_const_ref(*args); end
|
2639
|
+
def on_cvar(tok); end
|
2640
|
+
def on_def(*args); end
|
2641
|
+
def on_defined(*args); end
|
2642
|
+
def on_defs(*args); end
|
2643
|
+
def on_do_block(*args); end
|
2644
|
+
def on_dot2(*args); end
|
2645
|
+
def on_dot3(*args); end
|
2646
|
+
def on_else(*args); end
|
2647
|
+
def on_elsif(*args); end
|
2648
|
+
def on_embexpr_beg(tok); end
|
2649
|
+
def on_embexpr_end(tok); end
|
2650
|
+
def on_embvar(tok); end
|
2651
|
+
def on_ensure(*args); end
|
2652
|
+
def on_excessed_comma(*args); end
|
2653
|
+
def on_fcall(*args); end
|
2654
|
+
def on_field(*args); end
|
2655
|
+
def on_float(tok); end
|
2656
|
+
def on_for(*args); end
|
2657
|
+
def on_gvar(tok); end
|
2658
|
+
def on_heredoc_beg(tok); end
|
2659
|
+
def on_heredoc_dedent(*args); end
|
2660
|
+
def on_heredoc_end(tok); end
|
2661
|
+
def on_hshptn(*args); end
|
2662
|
+
def on_ident(tok); end
|
2663
|
+
def on_if(*args); end
|
2664
|
+
def on_if_mod(*args); end
|
2665
|
+
def on_ifop(*args); end
|
2666
|
+
def on_ignored_nl(tok); end
|
2667
|
+
def on_ignored_sp(tok); end
|
2668
|
+
def on_imaginary(tok); end
|
2669
|
+
def on_in(*args); end
|
2670
|
+
def on_int(tok); end
|
2671
|
+
def on_ivar(tok); end
|
2672
|
+
def on_kw(tok); end
|
2673
|
+
def on_kwrest_param(*args); end
|
2674
|
+
def on_label_end(tok); end
|
2675
|
+
def on_lbrace(tok); end
|
2676
|
+
def on_lparen(tok); end
|
2677
|
+
def on_magic_comment(*args); end
|
2678
|
+
def on_massign(*args); end
|
2679
|
+
def on_method_add_arg(list, item); end
|
2680
|
+
def on_method_add_block(list, item); end
|
2681
|
+
def on_mlhs_add(list, item); end
|
2682
|
+
def on_mlhs_add_post(list, item); end
|
2683
|
+
def on_mlhs_add_star(list, item); end
|
2684
|
+
def on_mlhs_new(*args); end
|
2685
|
+
def on_mlhs_paren(*args); end
|
2686
|
+
def on_module(*args); end
|
2687
|
+
def on_mrhs_add(list, item); end
|
2688
|
+
def on_mrhs_add_star(list, item); end
|
2689
|
+
def on_mrhs_new(*args); end
|
2690
|
+
def on_mrhs_new_from_args(*args); end
|
2691
|
+
def on_next(*args); end
|
2692
|
+
def on_nl(tok); end
|
2693
|
+
def on_nokw_param(*args); end
|
2694
|
+
def on_op(tok); end
|
2695
|
+
def on_opassign(*args); end
|
2696
|
+
def on_operator_ambiguous(*args); end
|
2697
|
+
def on_param_error(*args); end
|
2698
|
+
def on_paren(*args); end
|
2699
|
+
def on_period(tok); end
|
2700
|
+
def on_qsymbols_add(list, item); end
|
2701
|
+
def on_qsymbols_beg(tok); end
|
2702
|
+
def on_qsymbols_new(*args); end
|
2703
|
+
def on_qwords_add(list, item); end
|
2704
|
+
def on_qwords_beg(tok); end
|
2705
|
+
def on_qwords_new(*args); end
|
2706
|
+
def on_rational(tok); end
|
2707
|
+
def on_rbrace(tok); end
|
2708
|
+
def on_redo(*args); end
|
2709
|
+
def on_regexp_add(list, item); end
|
2710
|
+
def on_regexp_beg(tok); end
|
2711
|
+
def on_regexp_end(tok); end
|
2712
|
+
def on_regexp_literal(*args); end
|
2713
|
+
def on_regexp_new(*args); end
|
2714
|
+
def on_rescue_mod(*args); end
|
2715
|
+
def on_rest_param(*args); end
|
2716
|
+
def on_retry(*args); end
|
2717
|
+
def on_return(*args); end
|
2718
|
+
def on_return0(*args); end
|
2719
|
+
def on_rparen(tok); end
|
2720
|
+
def on_sclass(*args); end
|
2721
|
+
def on_semicolon(tok); end
|
2722
|
+
def on_stmts_add(list, item); end
|
2723
|
+
def on_stmts_new(*args); end
|
2724
|
+
def on_string_add(list, item); end
|
2725
|
+
def on_string_concat(*args); end
|
2726
|
+
def on_string_dvar(*args); end
|
2727
|
+
def on_string_embexpr(*args); end
|
2728
|
+
def on_super(*args); end
|
2729
|
+
def on_symbeg(tok); end
|
2730
|
+
def on_symbol(*args); end
|
2731
|
+
def on_symbol_literal(*args); end
|
2732
|
+
def on_symbols_add(list, item); end
|
2733
|
+
def on_symbols_beg(tok); end
|
2734
|
+
def on_symbols_new(*args); end
|
2735
|
+
def on_tlambda(tok); end
|
2736
|
+
def on_tlambeg(tok); end
|
2737
|
+
def on_top_const_field(*args); end
|
2738
|
+
def on_tstring_beg(tok); end
|
2739
|
+
def on_tstring_content(tok); end
|
2740
|
+
def on_tstring_end(tok); end
|
2741
|
+
def on_undef(*args); end
|
2742
|
+
def on_unless(*args); end
|
2743
|
+
def on_unless_mod(*args); end
|
2744
|
+
def on_until(*args); end
|
2745
|
+
def on_until_mod(*args); end
|
2746
|
+
def on_var_alias(*args); end
|
2747
|
+
def on_var_field(*args); end
|
2748
|
+
def on_var_ref(*args); end
|
2749
|
+
def on_vcall(*args); end
|
2750
|
+
def on_when(*args); end
|
2751
|
+
def on_while(*args); end
|
2752
|
+
def on_while_mod(*args); end
|
2753
|
+
def on_word_add(list, item); end
|
2754
|
+
def on_word_new(*args); end
|
2755
|
+
def on_words_add(list, item); end
|
2756
|
+
def on_words_beg(tok); end
|
2757
|
+
def on_words_new(*args); end
|
2758
|
+
def on_words_sep(tok); end
|
2759
|
+
def on_xstring_add(list, item); end
|
2760
|
+
def on_xstring_literal(*args); end
|
2761
|
+
def on_xstring_new(*args); end
|
2762
|
+
def on_yield(*args); end
|
2763
|
+
def on_yield0(*args); end
|
2764
|
+
def on_zsuper(*args); end
|
2765
|
+
def parse; end
|
2766
|
+
def root; end
|
2767
|
+
def shebang_line; end
|
2768
|
+
def tokens; end
|
2769
|
+
|
2770
|
+
private
|
2771
|
+
|
2772
|
+
def add_comment(line, node = T.unsafe(nil), before_node = T.unsafe(nil), into = T.unsafe(nil)); end
|
2773
|
+
def add_token(token, data); end
|
2774
|
+
def comment_starts_line?(charno); end
|
2775
|
+
def compile_error(msg); end
|
2776
|
+
def freeze_tree(node = T.unsafe(nil)); end
|
2777
|
+
def insert_comments; end
|
2778
|
+
def on_aref(*args); end
|
2779
|
+
def on_aref_field(*args); end
|
2780
|
+
def on_array(other); end
|
2781
|
+
def on_assoc_new(*args); end
|
2782
|
+
def on_assoclist_from_args(*args); end
|
2783
|
+
def on_bare_assoc_hash(*args); end
|
2784
|
+
def on_body_stmt(*args); end
|
2785
|
+
def on_bodystmt(*args); end
|
2786
|
+
def on_comment(comment); end
|
2787
|
+
def on_const_path_ref(*args); end
|
2788
|
+
def on_dyna_symbol(sym); end
|
2789
|
+
def on_embdoc(text); end
|
2790
|
+
def on_embdoc_beg(text); end
|
2791
|
+
def on_embdoc_end(text); end
|
2792
|
+
def on_hash(*args); end
|
2793
|
+
def on_label(data); end
|
2794
|
+
def on_lambda(*args); end
|
2795
|
+
def on_lbracket(tok); end
|
2796
|
+
def on_params(*args); end
|
2797
|
+
def on_parse_error(msg); end
|
2798
|
+
def on_program(*args); end
|
2799
|
+
def on_rbracket(tok); end
|
2800
|
+
def on_rescue(exc, *args); end
|
2801
|
+
def on_sp(tok); end
|
2802
|
+
def on_string_content(*args); end
|
2803
|
+
def on_string_literal(*args); end
|
2804
|
+
def on_top_const_ref(*args); end
|
2805
|
+
def on_unary(op, val); end
|
2806
|
+
def on_void_stmt; end
|
2807
|
+
def visit_event(node); end
|
2808
|
+
def visit_event_arr(node); end
|
2809
|
+
def visit_ns_token(token, data, ast_token = T.unsafe(nil)); end
|
2810
|
+
end
|
2811
|
+
|
2812
|
+
YARD::Parser::Ruby::RipperParser::AST_TOKENS = T.let(T.unsafe(nil), Array)
|
2813
|
+
YARD::Parser::Ruby::RipperParser::MAPPINGS = T.let(T.unsafe(nil), Hash)
|
2814
|
+
YARD::Parser::Ruby::RipperParser::REV_MAPPINGS = T.let(T.unsafe(nil), Hash)
|
2815
|
+
|
2816
|
+
class YARD::Parser::Ruby::RubyParser < ::YARD::Parser::Base
|
2817
|
+
def initialize(source, filename); end
|
2818
|
+
|
2819
|
+
def encoding_line; end
|
2820
|
+
def enumerator; end
|
2821
|
+
def frozen_string_line; end
|
2822
|
+
def parse; end
|
2823
|
+
def shebang_line; end
|
2824
|
+
def tokenize; end
|
2825
|
+
end
|
2826
|
+
|
2827
|
+
class YARD::Parser::Ruby::TokenResolver
|
2828
|
+
include ::Enumerable
|
2829
|
+
include ::YARD::CodeObjects::NamespaceMapper
|
2830
|
+
|
2831
|
+
def initialize(source, namespace = T.unsafe(nil)); end
|
2832
|
+
|
2833
|
+
def each; end
|
2834
|
+
|
2835
|
+
protected
|
2836
|
+
|
2837
|
+
def last_sep; end
|
2838
|
+
def last_sep=(v); end
|
2839
|
+
def next_object; end
|
2840
|
+
def next_object=(v); end
|
2841
|
+
def object; end
|
2842
|
+
def object=(v); end
|
2843
|
+
def skip_group; end
|
2844
|
+
def skip_group=(v); end
|
2845
|
+
|
2846
|
+
private
|
2847
|
+
|
2848
|
+
def lookup(toktype, name); end
|
2849
|
+
def object_resolved_types(obj = T.unsafe(nil)); end
|
2850
|
+
def pop_state; end
|
2851
|
+
def push_state; end
|
2852
|
+
|
2853
|
+
class << self
|
2854
|
+
def state_attr(*attrs); end
|
2855
|
+
end
|
2856
|
+
end
|
2857
|
+
|
2858
|
+
class YARD::Parser::SourceParser
|
2859
|
+
def initialize(parser_type = T.unsafe(nil), globals1 = T.unsafe(nil), globals2 = T.unsafe(nil)); end
|
2860
|
+
|
2861
|
+
def contents; end
|
2862
|
+
def file; end
|
2863
|
+
def file=(_arg0); end
|
2864
|
+
def globals; end
|
2865
|
+
def parse(content = T.unsafe(nil)); end
|
2866
|
+
def parser_type; end
|
2867
|
+
def tokenize(content); end
|
2868
|
+
|
2869
|
+
private
|
2870
|
+
|
2871
|
+
def convert_encoding(content); end
|
2872
|
+
def parser_class; end
|
2873
|
+
def parser_type=(value); end
|
2874
|
+
def parser_type_for_filename(filename); end
|
2875
|
+
def post_process; end
|
2876
|
+
|
2877
|
+
class << self
|
2878
|
+
def after_parse_file(&block); end
|
2879
|
+
def after_parse_file_callbacks; end
|
2880
|
+
def after_parse_list(&block); end
|
2881
|
+
def after_parse_list_callbacks; end
|
2882
|
+
def before_parse_file(&block); end
|
2883
|
+
def before_parse_file_callbacks; end
|
2884
|
+
def before_parse_list(&block); end
|
2885
|
+
def before_parse_list_callbacks; end
|
2886
|
+
def parse(paths = T.unsafe(nil), excluded = T.unsafe(nil), level = T.unsafe(nil)); end
|
2887
|
+
def parse_string(content, ptype = T.unsafe(nil)); end
|
2888
|
+
def parser_type; end
|
2889
|
+
def parser_type=(value); end
|
2890
|
+
def parser_type_extensions; end
|
2891
|
+
def parser_type_extensions=(value); end
|
2892
|
+
def parser_type_for_extension(extension); end
|
2893
|
+
def parser_types; end
|
2894
|
+
def parser_types=(value); end
|
2895
|
+
def register_parser_type(type, parser_klass, extensions = T.unsafe(nil)); end
|
2896
|
+
def tokenize(content, ptype = T.unsafe(nil)); end
|
2897
|
+
def validated_parser_type(type); end
|
2898
|
+
|
2899
|
+
private
|
2900
|
+
|
2901
|
+
def parse_in_order(*files); end
|
2902
|
+
end
|
2903
|
+
end
|
2904
|
+
|
2905
|
+
YARD::Parser::SourceParser::DEFAULT_PATH_GLOB = T.let(T.unsafe(nil), Array)
|
2906
|
+
YARD::Parser::SourceParser::ENCODING_BYTE_ORDER_MARKS = T.let(T.unsafe(nil), Hash)
|
2907
|
+
YARD::Parser::SourceParser::ENCODING_LINE = T.let(T.unsafe(nil), Regexp)
|
2908
|
+
YARD::Parser::SourceParser::FROZEN_STRING_LINE = T.let(T.unsafe(nil), Regexp)
|
2909
|
+
YARD::Parser::SourceParser::SHEBANG_LINE = T.let(T.unsafe(nil), Regexp)
|
2910
|
+
class YARD::Parser::UndocumentableError < ::RuntimeError; end
|
2911
|
+
YARD::ROOT = T.let(T.unsafe(nil), String)
|
2912
|
+
module YARD::Rake; end
|
2913
|
+
|
2914
|
+
class YARD::Rake::YardocTask < ::Rake::TaskLib
|
2915
|
+
def initialize(name = T.unsafe(nil)); end
|
2916
|
+
|
2917
|
+
def after; end
|
2918
|
+
def after=(_arg0); end
|
2919
|
+
def before; end
|
2920
|
+
def before=(_arg0); end
|
2921
|
+
def files; end
|
2922
|
+
def files=(_arg0); end
|
2923
|
+
def name; end
|
2924
|
+
def name=(_arg0); end
|
2925
|
+
def options; end
|
2926
|
+
def options=(_arg0); end
|
2927
|
+
def stats_options; end
|
2928
|
+
def stats_options=(_arg0); end
|
2929
|
+
def verifier; end
|
2930
|
+
def verifier=(_arg0); end
|
2931
|
+
|
2932
|
+
protected
|
2933
|
+
|
2934
|
+
def define; end
|
2935
|
+
end
|
2936
|
+
|
2937
|
+
module YARD::Registry
|
2938
|
+
extend ::Enumerable
|
2939
|
+
|
2940
|
+
class << self
|
2941
|
+
def [](path); end
|
2942
|
+
def all(*types); end
|
2943
|
+
def at(path); end
|
2944
|
+
def checksum_for(data); end
|
2945
|
+
def checksums; end
|
2946
|
+
def clear; end
|
2947
|
+
def delete(object); end
|
2948
|
+
def delete_from_disk; end
|
2949
|
+
def each(&block); end
|
2950
|
+
def instance; end
|
2951
|
+
def load(files = T.unsafe(nil), reparse = T.unsafe(nil)); end
|
2952
|
+
def load!(file = T.unsafe(nil)); end
|
2953
|
+
def load_all; end
|
2954
|
+
def load_yardoc(file = T.unsafe(nil)); end
|
2955
|
+
def locale(name); end
|
2956
|
+
def lock_for_writing(file = T.unsafe(nil), &block); end
|
2957
|
+
def locked_for_writing?(file = T.unsafe(nil)); end
|
2958
|
+
def paths(reload = T.unsafe(nil)); end
|
2959
|
+
def po_dir; end
|
2960
|
+
def po_dir=(dir); end
|
2961
|
+
def proxy_types; end
|
2962
|
+
def register(object); end
|
2963
|
+
def resolve(namespace, name, inheritance = T.unsafe(nil), proxy_fallback = T.unsafe(nil), type = T.unsafe(nil)); end
|
2964
|
+
def root; end
|
2965
|
+
def save(merge = T.unsafe(nil), file = T.unsafe(nil)); end
|
2966
|
+
def single_object_db; end
|
2967
|
+
def single_object_db=(v); end
|
2968
|
+
def yardoc_file; end
|
2969
|
+
def yardoc_file=(v); end
|
2970
|
+
def yardoc_file_for_gem(gem, ver_require = T.unsafe(nil), for_writing = T.unsafe(nil)); end
|
2971
|
+
|
2972
|
+
private
|
2973
|
+
|
2974
|
+
def global_yardoc_file(spec, for_writing = T.unsafe(nil)); end
|
2975
|
+
def local_yardoc_file(spec, for_writing = T.unsafe(nil)); end
|
2976
|
+
def old_global_yardoc_file(spec, for_writing = T.unsafe(nil)); end
|
2977
|
+
def partial_resolve(namespace, name, type = T.unsafe(nil)); end
|
2978
|
+
def thread_local_resolver; end
|
2979
|
+
def thread_local_store; end
|
2980
|
+
def thread_local_store=(value); end
|
2981
|
+
end
|
2982
|
+
end
|
2983
|
+
|
2984
|
+
YARD::Registry::DEFAULT_PO_DIR = T.let(T.unsafe(nil), String)
|
2985
|
+
YARD::Registry::DEFAULT_YARDOC_FILE = T.let(T.unsafe(nil), String)
|
2986
|
+
YARD::Registry::LOCAL_YARDOC_INDEX = T.let(T.unsafe(nil), String)
|
2987
|
+
|
2988
|
+
class YARD::RegistryResolver
|
2989
|
+
include ::YARD::CodeObjects::NamespaceMapper
|
2990
|
+
|
2991
|
+
def initialize(registry = T.unsafe(nil)); end
|
2992
|
+
|
2993
|
+
def lookup_by_path(path, opts = T.unsafe(nil)); end
|
2994
|
+
|
2995
|
+
private
|
2996
|
+
|
2997
|
+
def collect_namespaces(object); end
|
2998
|
+
def lookup_path_direct(namespace, path, type); end
|
2999
|
+
def lookup_path_inherited(namespace, path, type); end
|
3000
|
+
def split_on_separators_match; end
|
3001
|
+
def starts_with_default_separator_match; end
|
3002
|
+
def starts_with_separator_match; end
|
3003
|
+
def validate(obj, type); end
|
3004
|
+
end
|
3005
|
+
|
3006
|
+
class YARD::RegistryStore
|
3007
|
+
def initialize; end
|
3008
|
+
|
3009
|
+
def [](key); end
|
3010
|
+
def []=(key, value); end
|
3011
|
+
def checksums; end
|
3012
|
+
def delete(key); end
|
3013
|
+
def destroy(force = T.unsafe(nil)); end
|
3014
|
+
def file; end
|
3015
|
+
def get(key); end
|
3016
|
+
def keys(reload = T.unsafe(nil)); end
|
3017
|
+
def load(file = T.unsafe(nil)); end
|
3018
|
+
def load!(file = T.unsafe(nil)); end
|
3019
|
+
def load_all; end
|
3020
|
+
def locale(name); end
|
3021
|
+
def lock_for_writing(file = T.unsafe(nil), &block); end
|
3022
|
+
def locked_for_writing?(file = T.unsafe(nil)); end
|
3023
|
+
def paths_for_type(type, reload = T.unsafe(nil)); end
|
3024
|
+
def proxy_types; end
|
3025
|
+
def put(key, value); end
|
3026
|
+
def root; end
|
3027
|
+
def save(merge = T.unsafe(nil), file = T.unsafe(nil)); end
|
3028
|
+
def values(reload = T.unsafe(nil)); end
|
3029
|
+
def values_for_type(type, reload = T.unsafe(nil)); end
|
3030
|
+
|
3031
|
+
protected
|
3032
|
+
|
3033
|
+
def checksums_path; end
|
3034
|
+
def load_yardoc; end
|
3035
|
+
def object_types_path; end
|
3036
|
+
def objects_path; end
|
3037
|
+
def proxy_types_path; end
|
3038
|
+
|
3039
|
+
private
|
3040
|
+
|
3041
|
+
def all_disk_objects; end
|
3042
|
+
def load_checksums; end
|
3043
|
+
def load_locale(name); end
|
3044
|
+
def load_object_types; end
|
3045
|
+
def load_proxy_types; end
|
3046
|
+
def load_root; end
|
3047
|
+
def load_yardoc_old; end
|
3048
|
+
def write_checksums; end
|
3049
|
+
def write_complete_lock; end
|
3050
|
+
def write_object_types; end
|
3051
|
+
def write_proxy_types; end
|
3052
|
+
end
|
3053
|
+
|
3054
|
+
module YARD::Serializers; end
|
3055
|
+
|
3056
|
+
class YARD::Serializers::Base
|
3057
|
+
def initialize(opts = T.unsafe(nil)); end
|
3058
|
+
|
3059
|
+
def after_serialize(data); end
|
3060
|
+
def before_serialize; end
|
3061
|
+
def exists?(object); end
|
3062
|
+
def options; end
|
3063
|
+
def serialize(object, data); end
|
3064
|
+
def serialized_path(object); end
|
3065
|
+
end
|
3066
|
+
|
3067
|
+
class YARD::Serializers::FileSystemSerializer < ::YARD::Serializers::Base
|
3068
|
+
def initialize(opts = T.unsafe(nil)); end
|
3069
|
+
|
3070
|
+
def basepath; end
|
3071
|
+
def basepath=(value); end
|
3072
|
+
def exists?(object); end
|
3073
|
+
def extension; end
|
3074
|
+
def extension=(value); end
|
3075
|
+
def serialize(object, data); end
|
3076
|
+
def serialized_path(object); end
|
3077
|
+
|
3078
|
+
private
|
3079
|
+
|
3080
|
+
def build_filename_map; end
|
3081
|
+
def encode_path_components(*components); end
|
3082
|
+
def mapped_name(object); end
|
3083
|
+
end
|
3084
|
+
|
3085
|
+
class YARD::Serializers::ProcessSerializer < ::YARD::Serializers::Base
|
3086
|
+
def initialize(cmd); end
|
3087
|
+
|
3088
|
+
def serialize(_object, data); end
|
3089
|
+
end
|
3090
|
+
|
3091
|
+
class YARD::Serializers::StdoutSerializer < ::YARD::Serializers::Base
|
3092
|
+
def initialize(wrap = T.unsafe(nil)); end
|
3093
|
+
|
3094
|
+
def serialize(_object, data); end
|
3095
|
+
|
3096
|
+
private
|
3097
|
+
|
3098
|
+
def word_wrap(text, _length = T.unsafe(nil)); end
|
3099
|
+
end
|
3100
|
+
|
3101
|
+
class YARD::Serializers::YardocSerializer < ::YARD::Serializers::FileSystemSerializer
|
3102
|
+
def initialize(yfile); end
|
3103
|
+
|
3104
|
+
def checksums_path; end
|
3105
|
+
def complete?; end
|
3106
|
+
def complete_lock_path; end
|
3107
|
+
def deserialize(path, is_path = T.unsafe(nil)); end
|
3108
|
+
def lock_for_writing; end
|
3109
|
+
def locked_for_writing?; end
|
3110
|
+
def object_types_path; end
|
3111
|
+
def objects_path; end
|
3112
|
+
def processing_path; end
|
3113
|
+
def proxy_types_path; end
|
3114
|
+
def serialize(object); end
|
3115
|
+
def serialized_path(object); end
|
3116
|
+
|
3117
|
+
private
|
3118
|
+
|
3119
|
+
def dump(object); end
|
3120
|
+
def internal_dump(object, first_object = T.unsafe(nil)); end
|
3121
|
+
end
|
3122
|
+
|
3123
|
+
module YARD::Server
|
3124
|
+
class << self
|
3125
|
+
def register_static_path(path); end
|
3126
|
+
end
|
3127
|
+
end
|
3128
|
+
|
3129
|
+
class YARD::Server::Adapter
|
3130
|
+
def initialize(libs, opts = T.unsafe(nil), server_opts = T.unsafe(nil)); end
|
3131
|
+
|
3132
|
+
def add_library(library); end
|
3133
|
+
def document_root; end
|
3134
|
+
def document_root=(_arg0); end
|
3135
|
+
def libraries; end
|
3136
|
+
def libraries=(_arg0); end
|
3137
|
+
def options; end
|
3138
|
+
def options=(_arg0); end
|
3139
|
+
def router; end
|
3140
|
+
def router=(_arg0); end
|
3141
|
+
def server_options; end
|
3142
|
+
def server_options=(_arg0); end
|
3143
|
+
def start; end
|
3144
|
+
|
3145
|
+
class << self
|
3146
|
+
def setup; end
|
3147
|
+
def shutdown; end
|
3148
|
+
end
|
3149
|
+
end
|
3150
|
+
|
3151
|
+
module YARD::Server::Commands; end
|
3152
|
+
|
3153
|
+
class YARD::Server::Commands::Base
|
3154
|
+
def initialize(opts = T.unsafe(nil)); end
|
3155
|
+
|
3156
|
+
def adapter; end
|
3157
|
+
def adapter=(_arg0); end
|
3158
|
+
def body; end
|
3159
|
+
def body=(_arg0); end
|
3160
|
+
def caching; end
|
3161
|
+
def caching=(_arg0); end
|
3162
|
+
def call(request); end
|
3163
|
+
def command_options; end
|
3164
|
+
def command_options=(_arg0); end
|
3165
|
+
def headers; end
|
3166
|
+
def headers=(_arg0); end
|
3167
|
+
def path; end
|
3168
|
+
def path=(_arg0); end
|
3169
|
+
def request; end
|
3170
|
+
def request=(_arg0); end
|
3171
|
+
def run; end
|
3172
|
+
def status; end
|
3173
|
+
def status=(_arg0); end
|
3174
|
+
|
3175
|
+
protected
|
3176
|
+
|
3177
|
+
def cache(data); end
|
3178
|
+
def not_found; end
|
3179
|
+
def redirect(url); end
|
3180
|
+
def render(object = T.unsafe(nil)); end
|
3181
|
+
|
3182
|
+
private
|
3183
|
+
|
3184
|
+
def add_cache_control; end
|
3185
|
+
end
|
3186
|
+
|
3187
|
+
class YARD::Server::Commands::DisplayFileCommand < ::YARD::Server::Commands::LibraryCommand
|
3188
|
+
def index; end
|
3189
|
+
def index=(_arg0); end
|
3190
|
+
def run; end
|
3191
|
+
end
|
3192
|
+
|
3193
|
+
class YARD::Server::Commands::DisplayObjectCommand < ::YARD::Server::Commands::LibraryCommand
|
3194
|
+
include ::YARD::Server::DocServerHelper
|
3195
|
+
|
3196
|
+
def index; end
|
3197
|
+
def not_found; end
|
3198
|
+
def run; end
|
3199
|
+
|
3200
|
+
private
|
3201
|
+
|
3202
|
+
def object_path; end
|
3203
|
+
end
|
3204
|
+
|
3205
|
+
class YARD::Server::Commands::FramesCommand < ::YARD::Server::Commands::DisplayObjectCommand
|
3206
|
+
def run; end
|
3207
|
+
end
|
3208
|
+
|
3209
|
+
class YARD::Server::Commands::LibraryCommand < ::YARD::Server::Commands::Base
|
3210
|
+
def initialize(opts = T.unsafe(nil)); end
|
3211
|
+
|
3212
|
+
def call(request); end
|
3213
|
+
def incremental; end
|
3214
|
+
def incremental=(_arg0); end
|
3215
|
+
def library; end
|
3216
|
+
def library=(_arg0); end
|
3217
|
+
def options; end
|
3218
|
+
def options=(_arg0); end
|
3219
|
+
def serializer; end
|
3220
|
+
def serializer=(_arg0); end
|
3221
|
+
def single_library; end
|
3222
|
+
def single_library=(_arg0); end
|
3223
|
+
def use_fork; end
|
3224
|
+
def use_fork=(_arg0); end
|
3225
|
+
|
3226
|
+
private
|
3227
|
+
|
3228
|
+
def call_with_fork(request, &block); end
|
3229
|
+
def call_without_fork(request); end
|
3230
|
+
def can_fork?; end
|
3231
|
+
def fulldoc_template; end
|
3232
|
+
def load_yardoc; end
|
3233
|
+
def not_prepared; end
|
3234
|
+
def restore_template_info; end
|
3235
|
+
def save_default_template_info; end
|
3236
|
+
def setup_library; end
|
3237
|
+
def setup_yardopts; end
|
3238
|
+
end
|
3239
|
+
|
3240
|
+
YARD::Server::Commands::LibraryCommand::CAN_FORK = T.let(T.unsafe(nil), TrueClass)
|
3241
|
+
|
3242
|
+
class YARD::Server::Commands::LibraryIndexCommand < ::YARD::Server::Commands::Base
|
3243
|
+
def options; end
|
3244
|
+
def options=(_arg0); end
|
3245
|
+
def run; end
|
3246
|
+
end
|
3247
|
+
|
3248
|
+
class YARD::Server::Commands::LibraryIndexOptions < ::YARD::CLI::YardocOptions
|
3249
|
+
def adapter; end
|
3250
|
+
def adapter=(_arg0); end
|
3251
|
+
def libraries; end
|
3252
|
+
def libraries=(_arg0); end
|
3253
|
+
def serialize; end
|
3254
|
+
def serialize=(_arg0); end
|
3255
|
+
def template; end
|
3256
|
+
def template=(_arg0); end
|
3257
|
+
def type; end
|
3258
|
+
def type=(_arg0); end
|
3259
|
+
end
|
3260
|
+
|
3261
|
+
class YARD::Server::Commands::LibraryOptions < ::YARD::CLI::YardocOptions
|
3262
|
+
def adapter; end
|
3263
|
+
def command; end
|
3264
|
+
def command=(_arg0); end
|
3265
|
+
def each(&block); end
|
3266
|
+
def frames; end
|
3267
|
+
def frames=(_arg0); end
|
3268
|
+
def library; end
|
3269
|
+
def serialize; end
|
3270
|
+
def serializer; end
|
3271
|
+
def single_library; end
|
3272
|
+
end
|
3273
|
+
|
3274
|
+
class YARD::Server::Commands::ListCommand < ::YARD::Server::Commands::LibraryCommand
|
3275
|
+
include ::YARD::Templates::Helpers::BaseHelper
|
3276
|
+
|
3277
|
+
def run; end
|
3278
|
+
end
|
3279
|
+
|
3280
|
+
class YARD::Server::Commands::RootRequestCommand < ::YARD::Server::Commands::Base
|
3281
|
+
include ::WEBrick::HTTPUtils
|
3282
|
+
include ::YARD::Server::Commands::StaticFileHelpers
|
3283
|
+
|
3284
|
+
def run; end
|
3285
|
+
end
|
3286
|
+
|
3287
|
+
class YARD::Server::Commands::SearchCommand < ::YARD::Server::Commands::LibraryCommand
|
3288
|
+
include ::YARD::Templates::Helpers::BaseHelper
|
3289
|
+
include ::YARD::Templates::Helpers::ModuleHelper
|
3290
|
+
include ::YARD::Server::DocServerHelper
|
3291
|
+
|
3292
|
+
def query; end
|
3293
|
+
def query=(_arg0); end
|
3294
|
+
def results; end
|
3295
|
+
def results=(_arg0); end
|
3296
|
+
def run; end
|
3297
|
+
def visible_results; end
|
3298
|
+
|
3299
|
+
private
|
3300
|
+
|
3301
|
+
def search_for_object; end
|
3302
|
+
def serve_normal; end
|
3303
|
+
def serve_xhr; end
|
3304
|
+
def url_for(object); end
|
3305
|
+
end
|
3306
|
+
|
3307
|
+
class YARD::Server::Commands::StaticFileCommand < ::YARD::Server::Commands::LibraryCommand
|
3308
|
+
include ::WEBrick::HTTPUtils
|
3309
|
+
include ::YARD::Server::Commands::StaticFileHelpers
|
3310
|
+
|
3311
|
+
def run; end
|
3312
|
+
end
|
3313
|
+
|
3314
|
+
YARD::Server::Commands::StaticFileCommand::STATIC_PATHS = T.let(T.unsafe(nil), Array)
|
3315
|
+
|
3316
|
+
module YARD::Server::Commands::StaticFileHelpers
|
3317
|
+
include ::WEBrick::HTTPUtils
|
3318
|
+
|
3319
|
+
def favicon?; end
|
3320
|
+
def static_template_file?; end
|
3321
|
+
|
3322
|
+
private
|
3323
|
+
|
3324
|
+
def find_file(adapter, url); end
|
3325
|
+
|
3326
|
+
class << self
|
3327
|
+
def find_file(adapter, url); end
|
3328
|
+
end
|
3329
|
+
end
|
3330
|
+
|
3331
|
+
module YARD::Server::DocServerHelper
|
3332
|
+
def abs_url(*path_components); end
|
3333
|
+
def base_path(path); end
|
3334
|
+
def mtime(file); end
|
3335
|
+
def mtime_url(file); end
|
3336
|
+
def router; end
|
3337
|
+
def url_for(obj, anchor = T.unsafe(nil), relative = T.unsafe(nil)); end
|
3338
|
+
def url_for_file(filename, anchor = T.unsafe(nil)); end
|
3339
|
+
def url_for_frameset; end
|
3340
|
+
def url_for_index; end
|
3341
|
+
def url_for_list(type); end
|
3342
|
+
def url_for_main; end
|
3343
|
+
end
|
3344
|
+
|
3345
|
+
class YARD::Server::DocServerSerializer < ::YARD::Serializers::FileSystemSerializer
|
3346
|
+
def initialize(_command = T.unsafe(nil)); end
|
3347
|
+
|
3348
|
+
def serialized_path(object); end
|
3349
|
+
|
3350
|
+
private
|
3351
|
+
|
3352
|
+
def urlencode(name); end
|
3353
|
+
end
|
3354
|
+
|
3355
|
+
class YARD::Server::FinishRequest < ::RuntimeError; end
|
3356
|
+
class YARD::Server::LibraryNotPreparedError < ::RuntimeError; end
|
3357
|
+
|
3358
|
+
class YARD::Server::LibraryVersion
|
3359
|
+
def initialize(name, version = T.unsafe(nil), yardoc = T.unsafe(nil), source = T.unsafe(nil)); end
|
3360
|
+
|
3361
|
+
def ==(other); end
|
3362
|
+
def eql?(other); end
|
3363
|
+
def equal?(other); end
|
3364
|
+
def gemspec; end
|
3365
|
+
def hash; end
|
3366
|
+
def name; end
|
3367
|
+
def name=(_arg0); end
|
3368
|
+
def prepare!; end
|
3369
|
+
def ready?; end
|
3370
|
+
def source; end
|
3371
|
+
def source=(_arg0); end
|
3372
|
+
def source_path; end
|
3373
|
+
def source_path=(_arg0); end
|
3374
|
+
def to_s(url_format = T.unsafe(nil)); end
|
3375
|
+
def version; end
|
3376
|
+
def version=(_arg0); end
|
3377
|
+
def yardoc_file; end
|
3378
|
+
def yardoc_file=(_arg0); end
|
3379
|
+
|
3380
|
+
protected
|
3381
|
+
|
3382
|
+
def load_yardoc_from_disk; end
|
3383
|
+
def load_yardoc_from_gem; end
|
3384
|
+
def source_path_for_disk; end
|
3385
|
+
def source_path_for_gem; end
|
3386
|
+
def yardoc_file_for_gem; end
|
3387
|
+
|
3388
|
+
private
|
3389
|
+
|
3390
|
+
def load_source_path; end
|
3391
|
+
def load_yardoc_file; end
|
3392
|
+
def serializer; end
|
3393
|
+
end
|
3394
|
+
|
3395
|
+
class YARD::Server::NotFoundError < ::RuntimeError; end
|
3396
|
+
|
3397
|
+
class YARD::Server::RackAdapter < ::YARD::Server::Adapter
|
3398
|
+
include ::WEBrick::HTTPUtils
|
3399
|
+
|
3400
|
+
def call(env); end
|
3401
|
+
def start; end
|
3402
|
+
|
3403
|
+
private
|
3404
|
+
|
3405
|
+
def print_start_message(server); end
|
3406
|
+
end
|
3407
|
+
|
3408
|
+
class YARD::Server::RackMiddleware
|
3409
|
+
def initialize(app, opts = T.unsafe(nil)); end
|
3410
|
+
|
3411
|
+
def call(env); end
|
3412
|
+
end
|
3413
|
+
|
3414
|
+
class YARD::Server::Router
|
3415
|
+
include ::YARD::Server::StaticCaching
|
3416
|
+
include ::YARD::Server::Commands
|
3417
|
+
|
3418
|
+
def initialize(adapter); end
|
3419
|
+
|
3420
|
+
def adapter; end
|
3421
|
+
def adapter=(_arg0); end
|
3422
|
+
def call(request); end
|
3423
|
+
def docs_prefix; end
|
3424
|
+
def list_prefix; end
|
3425
|
+
def parse_library_from_path(paths); end
|
3426
|
+
def request; end
|
3427
|
+
def request=(_arg0); end
|
3428
|
+
def search_prefix; end
|
3429
|
+
def static_prefix; end
|
3430
|
+
|
3431
|
+
protected
|
3432
|
+
|
3433
|
+
def final_options(library, paths); end
|
3434
|
+
def route(path = T.unsafe(nil)); end
|
3435
|
+
def route_docs(library, paths); end
|
3436
|
+
def route_index; end
|
3437
|
+
def route_list(library, paths); end
|
3438
|
+
def route_search(library, paths); end
|
3439
|
+
def route_static(library, paths); end
|
3440
|
+
end
|
3441
|
+
|
3442
|
+
module YARD::Server::StaticCaching
|
3443
|
+
def check_static_cache; end
|
3444
|
+
end
|
3445
|
+
|
3446
|
+
class YARD::Server::WebrickAdapter < ::YARD::Server::Adapter
|
3447
|
+
def start; end
|
3448
|
+
end
|
3449
|
+
|
3450
|
+
class YARD::Server::WebrickServlet < ::WEBrick::HTTPServlet::AbstractServlet
|
3451
|
+
def initialize(server, adapter); end
|
3452
|
+
|
3453
|
+
def adapter; end
|
3454
|
+
def adapter=(_arg0); end
|
3455
|
+
def do_GET(request, response); end
|
3456
|
+
end
|
3457
|
+
|
3458
|
+
class YARD::StubProxy
|
3459
|
+
def initialize(path, transient = T.unsafe(nil)); end
|
3460
|
+
|
3461
|
+
def _dump(_depth); end
|
3462
|
+
def hash; end
|
3463
|
+
def method_missing(meth, *args, &block); end
|
3464
|
+
|
3465
|
+
class << self
|
3466
|
+
def _load(str); end
|
3467
|
+
end
|
3468
|
+
end
|
3469
|
+
|
3470
|
+
YARD::StubProxy::FILELEN = T.let(T.unsafe(nil), Integer)
|
3471
|
+
YARD::TEMPLATE_ROOT = T.let(T.unsafe(nil), String)
|
3472
|
+
module YARD::Tags; end
|
3473
|
+
|
3474
|
+
class YARD::Tags::AttributeDirective < ::YARD::Tags::MethodDirective
|
3475
|
+
def after_parse; end
|
3476
|
+
|
3477
|
+
protected
|
3478
|
+
|
3479
|
+
def method_name; end
|
3480
|
+
def method_signature; end
|
3481
|
+
|
3482
|
+
private
|
3483
|
+
|
3484
|
+
def create_attribute_data(object); end
|
3485
|
+
def readable?; end
|
3486
|
+
def writable?; end
|
3487
|
+
end
|
3488
|
+
|
3489
|
+
class YARD::Tags::DefaultFactory
|
3490
|
+
def parse_tag(tag_name, text); end
|
3491
|
+
def parse_tag_with_name(tag_name, text); end
|
3492
|
+
def parse_tag_with_options(tag_name, text); end
|
3493
|
+
def parse_tag_with_title_and_text(tag_name, text); end
|
3494
|
+
def parse_tag_with_types(tag_name, text); end
|
3495
|
+
def parse_tag_with_types_and_name(tag_name, text); end
|
3496
|
+
def parse_tag_with_types_and_title(tag_name, text); end
|
3497
|
+
def parse_tag_with_types_name_and_default(tag_name, text); end
|
3498
|
+
|
3499
|
+
private
|
3500
|
+
|
3501
|
+
def extract_name_from_text(text); end
|
3502
|
+
def extract_title_and_desc_from_text(text); end
|
3503
|
+
def extract_types_and_name_from_text(text, opening_types = T.unsafe(nil), closing_types = T.unsafe(nil)); end
|
3504
|
+
def extract_types_and_name_from_text_unstripped(text, opening_types = T.unsafe(nil), closing_types = T.unsafe(nil)); end
|
3505
|
+
end
|
3506
|
+
|
3507
|
+
YARD::Tags::DefaultFactory::TYPELIST_CLOSING_CHARS = T.let(T.unsafe(nil), String)
|
3508
|
+
YARD::Tags::DefaultFactory::TYPELIST_OPENING_CHARS = T.let(T.unsafe(nil), String)
|
3509
|
+
|
3510
|
+
class YARD::Tags::DefaultTag < ::YARD::Tags::Tag
|
3511
|
+
def initialize(tag_name, text, types = T.unsafe(nil), name = T.unsafe(nil), defaults = T.unsafe(nil)); end
|
3512
|
+
|
3513
|
+
def defaults; end
|
3514
|
+
end
|
3515
|
+
|
3516
|
+
class YARD::Tags::Directive
|
3517
|
+
def initialize(tag, parser); end
|
3518
|
+
|
3519
|
+
def after_parse; end
|
3520
|
+
def call; end
|
3521
|
+
def expanded_text; end
|
3522
|
+
def expanded_text=(_arg0); end
|
3523
|
+
def handler; end
|
3524
|
+
def object; end
|
3525
|
+
def parser=(_arg0); end
|
3526
|
+
def tag; end
|
3527
|
+
def tag=(_arg0); end
|
3528
|
+
|
3529
|
+
protected
|
3530
|
+
|
3531
|
+
def inside_directive?; end
|
3532
|
+
def parser; end
|
3533
|
+
end
|
3534
|
+
|
3535
|
+
class YARD::Tags::EndGroupDirective < ::YARD::Tags::Directive
|
3536
|
+
def call; end
|
3537
|
+
end
|
3538
|
+
|
3539
|
+
class YARD::Tags::GroupDirective < ::YARD::Tags::Directive
|
3540
|
+
def call; end
|
3541
|
+
end
|
3542
|
+
|
3543
|
+
class YARD::Tags::Library
|
3544
|
+
def initialize(factory = T.unsafe(nil)); end
|
3545
|
+
|
3546
|
+
def abstract_tag(text); end
|
3547
|
+
def api_tag(text); end
|
3548
|
+
def attr_reader_tag(text); end
|
3549
|
+
def attr_tag(text); end
|
3550
|
+
def attr_writer_tag(text); end
|
3551
|
+
def attribute_directive(tag, parser); end
|
3552
|
+
def author_tag(text); end
|
3553
|
+
def deprecated_tag(text); end
|
3554
|
+
def directive_create(tag_name, tag_buf, parser); end
|
3555
|
+
def endgroup_directive(tag, parser); end
|
3556
|
+
def example_tag(text); end
|
3557
|
+
def factory; end
|
3558
|
+
def factory=(_arg0); end
|
3559
|
+
def group_directive(tag, parser); end
|
3560
|
+
def has_directive?(tag_name); end
|
3561
|
+
def has_tag?(tag_name); end
|
3562
|
+
def macro_directive(tag, parser); end
|
3563
|
+
def method_directive(tag, parser); end
|
3564
|
+
def note_tag(text); end
|
3565
|
+
def option_tag(text); end
|
3566
|
+
def overload_tag(text); end
|
3567
|
+
def param_tag(text); end
|
3568
|
+
def parse_directive(tag, parser); end
|
3569
|
+
def private_tag(text); end
|
3570
|
+
def raise_tag(text); end
|
3571
|
+
def return_tag(text); end
|
3572
|
+
def scope_directive(tag, parser); end
|
3573
|
+
def see_tag(text); end
|
3574
|
+
def since_tag(text); end
|
3575
|
+
def tag_create(tag_name, tag_buf); end
|
3576
|
+
def todo_tag(text); end
|
3577
|
+
def version_tag(text); end
|
3578
|
+
def visibility_directive(tag, parser); end
|
3579
|
+
def yield_tag(text); end
|
3580
|
+
def yieldparam_tag(text); end
|
3581
|
+
def yieldreturn_tag(text); end
|
3582
|
+
|
3583
|
+
private
|
3584
|
+
|
3585
|
+
def directive_call(tag, parser); end
|
3586
|
+
def send_to_factory(tag_name, meth, text); end
|
3587
|
+
|
3588
|
+
class << self
|
3589
|
+
def default_factory; end
|
3590
|
+
def default_factory=(factory); end
|
3591
|
+
def define_directive(tag, tag_meth = T.unsafe(nil), directive_class = T.unsafe(nil)); end
|
3592
|
+
def define_tag(label, tag, meth = T.unsafe(nil)); end
|
3593
|
+
def directive_method_name(tag_name); end
|
3594
|
+
def factory_method_for(tag); end
|
3595
|
+
def factory_method_for_directive(directive); end
|
3596
|
+
def instance; end
|
3597
|
+
def labels; end
|
3598
|
+
def sorted_labels; end
|
3599
|
+
def tag_method_name(tag_name); end
|
3600
|
+
def transitive_tags; end
|
3601
|
+
def transitive_tags=(_arg0); end
|
3602
|
+
def visible_tags; end
|
3603
|
+
def visible_tags=(_arg0); end
|
3604
|
+
|
3605
|
+
private
|
3606
|
+
|
3607
|
+
def tag_or_directive_method_name(tag_name, type = T.unsafe(nil)); end
|
3608
|
+
end
|
3609
|
+
end
|
3610
|
+
|
3611
|
+
class YARD::Tags::MacroDirective < ::YARD::Tags::Directive
|
3612
|
+
def call; end
|
3613
|
+
|
3614
|
+
private
|
3615
|
+
|
3616
|
+
def anonymous?; end
|
3617
|
+
def attach?; end
|
3618
|
+
def class_method?; end
|
3619
|
+
def expand(macro_data); end
|
3620
|
+
def find_or_create; end
|
3621
|
+
def new?; end
|
3622
|
+
def warn; end
|
3623
|
+
end
|
3624
|
+
|
3625
|
+
class YARD::Tags::MethodDirective < ::YARD::Tags::Directive
|
3626
|
+
def after_parse; end
|
3627
|
+
def call; end
|
3628
|
+
|
3629
|
+
protected
|
3630
|
+
|
3631
|
+
def create_object; end
|
3632
|
+
def method_name; end
|
3633
|
+
def method_signature; end
|
3634
|
+
def sanitized_tag_signature; end
|
3635
|
+
def use_indented_text; end
|
3636
|
+
end
|
3637
|
+
|
3638
|
+
YARD::Tags::MethodDirective::SCOPE_MATCH = T.let(T.unsafe(nil), Regexp)
|
3639
|
+
|
3640
|
+
class YARD::Tags::OptionTag < ::YARD::Tags::Tag
|
3641
|
+
def initialize(tag_name, name, pair); end
|
3642
|
+
|
3643
|
+
def pair; end
|
3644
|
+
def pair=(_arg0); end
|
3645
|
+
end
|
3646
|
+
|
3647
|
+
class YARD::Tags::OverloadTag < ::YARD::Tags::Tag
|
3648
|
+
def initialize(tag_name, text); end
|
3649
|
+
|
3650
|
+
def docstring; end
|
3651
|
+
def has_tag?(name); end
|
3652
|
+
def is_a?(other); end
|
3653
|
+
def kind_of?(other); end
|
3654
|
+
def method_missing(*args, &block); end
|
3655
|
+
def name(prefix = T.unsafe(nil)); end
|
3656
|
+
def object=(value); end
|
3657
|
+
def parameters; end
|
3658
|
+
def signature; end
|
3659
|
+
def tag(name); end
|
3660
|
+
def tags(name = T.unsafe(nil)); end
|
3661
|
+
def type; end
|
3662
|
+
|
3663
|
+
private
|
3664
|
+
|
3665
|
+
def parse_signature; end
|
3666
|
+
def parse_tag(text); end
|
3667
|
+
end
|
3668
|
+
|
3669
|
+
class YARD::Tags::ParseDirective < ::YARD::Tags::Directive
|
3670
|
+
def call; end
|
3671
|
+
end
|
3672
|
+
|
3673
|
+
module YARD::Tags::RefTag
|
3674
|
+
def owner; end
|
3675
|
+
def owner=(_arg0); end
|
3676
|
+
end
|
3677
|
+
|
3678
|
+
class YARD::Tags::RefTagList
|
3679
|
+
def initialize(tag_name, owner, name = T.unsafe(nil)); end
|
3680
|
+
|
3681
|
+
def name; end
|
3682
|
+
def name=(_arg0); end
|
3683
|
+
def owner; end
|
3684
|
+
def owner=(_arg0); end
|
3685
|
+
def tag_name; end
|
3686
|
+
def tag_name=(_arg0); end
|
3687
|
+
def tags; end
|
3688
|
+
end
|
3689
|
+
|
3690
|
+
class YARD::Tags::ScopeDirective < ::YARD::Tags::Directive
|
3691
|
+
def call; end
|
3692
|
+
end
|
3693
|
+
|
3694
|
+
class YARD::Tags::Tag
|
3695
|
+
def initialize(tag_name, text, types = T.unsafe(nil), name = T.unsafe(nil)); end
|
3696
|
+
|
3697
|
+
def explain_types; end
|
3698
|
+
def name; end
|
3699
|
+
def name=(_arg0); end
|
3700
|
+
def object; end
|
3701
|
+
def object=(_arg0); end
|
3702
|
+
def tag_name; end
|
3703
|
+
def tag_name=(_arg0); end
|
3704
|
+
def text; end
|
3705
|
+
def text=(_arg0); end
|
3706
|
+
def type; end
|
3707
|
+
def types; end
|
3708
|
+
def types=(_arg0); end
|
3709
|
+
end
|
3710
|
+
|
3711
|
+
class YARD::Tags::TagFormatError < ::RuntimeError; end
|
3712
|
+
|
3713
|
+
class YARD::Tags::TypesExplainer
|
3714
|
+
class << self
|
3715
|
+
def explain(*types); end
|
3716
|
+
def explain!(*types); end
|
3717
|
+
end
|
3718
|
+
end
|
3719
|
+
|
3720
|
+
class YARD::Tags::TypesExplainer::CollectionType < ::YARD::Tags::TypesExplainer::Type
|
3721
|
+
def initialize(name, types); end
|
3722
|
+
|
3723
|
+
def to_s(_singular = T.unsafe(nil)); end
|
3724
|
+
def types; end
|
3725
|
+
def types=(_arg0); end
|
3726
|
+
end
|
3727
|
+
|
3728
|
+
class YARD::Tags::TypesExplainer::FixedCollectionType < ::YARD::Tags::TypesExplainer::CollectionType
|
3729
|
+
def to_s(_singular = T.unsafe(nil)); end
|
3730
|
+
end
|
3731
|
+
|
3732
|
+
class YARD::Tags::TypesExplainer::HashCollectionType < ::YARD::Tags::TypesExplainer::Type
|
3733
|
+
def initialize(name, key_types, value_types); end
|
3734
|
+
|
3735
|
+
def key_types; end
|
3736
|
+
def key_types=(_arg0); end
|
3737
|
+
def to_s(_singular = T.unsafe(nil)); end
|
3738
|
+
def value_types; end
|
3739
|
+
def value_types=(_arg0); end
|
3740
|
+
end
|
3741
|
+
|
3742
|
+
class YARD::Tags::TypesExplainer::Parser
|
3743
|
+
include ::YARD::CodeObjects
|
3744
|
+
|
3745
|
+
def initialize(string); end
|
3746
|
+
|
3747
|
+
def parse; end
|
3748
|
+
|
3749
|
+
class << self
|
3750
|
+
def parse(string); end
|
3751
|
+
end
|
3752
|
+
end
|
3753
|
+
|
3754
|
+
YARD::Tags::TypesExplainer::Parser::TOKENS = T.let(T.unsafe(nil), Hash)
|
3755
|
+
|
3756
|
+
class YARD::Tags::TypesExplainer::Type
|
3757
|
+
def initialize(name); end
|
3758
|
+
|
3759
|
+
def name; end
|
3760
|
+
def name=(_arg0); end
|
3761
|
+
def to_s(singular = T.unsafe(nil)); end
|
3762
|
+
|
3763
|
+
private
|
3764
|
+
|
3765
|
+
def list_join(list); end
|
3766
|
+
end
|
3767
|
+
|
3768
|
+
class YARD::Tags::VisibilityDirective < ::YARD::Tags::Directive
|
3769
|
+
def call; end
|
3770
|
+
end
|
3771
|
+
|
3772
|
+
module YARD::Templates; end
|
3773
|
+
|
3774
|
+
module YARD::Templates::Engine
|
3775
|
+
class << self
|
3776
|
+
def generate(objects, options = T.unsafe(nil)); end
|
3777
|
+
def register_template_path(path); end
|
3778
|
+
def render(options = T.unsafe(nil)); end
|
3779
|
+
def template(*path); end
|
3780
|
+
def template!(path, full_paths = T.unsafe(nil)); end
|
3781
|
+
def template_paths; end
|
3782
|
+
def template_paths=(_arg0); end
|
3783
|
+
def with_serializer(object, serializer); end
|
3784
|
+
|
3785
|
+
private
|
3786
|
+
|
3787
|
+
def find_template_paths(from_template, path); end
|
3788
|
+
def set_default_options(options = T.unsafe(nil)); end
|
3789
|
+
def template_module_name(path); end
|
3790
|
+
end
|
3791
|
+
end
|
3792
|
+
|
3793
|
+
module YARD::Templates::ErbCache
|
3794
|
+
class << self
|
3795
|
+
def clear!; end
|
3796
|
+
def method_for(filename); end
|
3797
|
+
end
|
3798
|
+
end
|
3799
|
+
|
3800
|
+
module YARD::Templates::Helpers; end
|
3801
|
+
|
3802
|
+
module YARD::Templates::Helpers::BaseHelper
|
3803
|
+
def format_object_title(object); end
|
3804
|
+
def format_object_type(object); end
|
3805
|
+
def format_source(value); end
|
3806
|
+
def format_types(list, brackets = T.unsafe(nil)); end
|
3807
|
+
def globals; end
|
3808
|
+
def h(text); end
|
3809
|
+
def link_file(filename, title = T.unsafe(nil), anchor = T.unsafe(nil)); end
|
3810
|
+
def link_include_file(file); end
|
3811
|
+
def link_include_object(obj); end
|
3812
|
+
def link_object(obj, title = T.unsafe(nil)); end
|
3813
|
+
def link_url(url, title = T.unsafe(nil), params = T.unsafe(nil)); end
|
3814
|
+
def linkify(*args); end
|
3815
|
+
def object; end
|
3816
|
+
def object=(_arg0); end
|
3817
|
+
def owner; end
|
3818
|
+
def run_verifier(list); end
|
3819
|
+
def serializer; end
|
3820
|
+
def serializer=(_arg0); end
|
3821
|
+
end
|
3822
|
+
|
3823
|
+
module YARD::Templates::Helpers::FilterHelper
|
3824
|
+
def is_class?(object); end
|
3825
|
+
def is_method?(object); end
|
3826
|
+
def is_module?(object); end
|
3827
|
+
def is_namespace?(object); end
|
3828
|
+
end
|
3829
|
+
|
3830
|
+
module YARD::Templates::Helpers::HtmlHelper
|
3831
|
+
include ::YARD::Templates::Helpers::MarkupHelper
|
3832
|
+
include ::YARD::Templates::Helpers::ModuleHelper
|
3833
|
+
include ::YARD::Templates::Helpers::HtmlSyntaxHighlightHelper
|
3834
|
+
|
3835
|
+
def anchor_for(object); end
|
3836
|
+
def charset; end
|
3837
|
+
def format_object_name_list(objects); end
|
3838
|
+
def format_types(typelist, brackets = T.unsafe(nil)); end
|
3839
|
+
def h(text); end
|
3840
|
+
def html_markup_asciidoc(text); end
|
3841
|
+
def html_markup_html(text); end
|
3842
|
+
def html_markup_markdown(text); end
|
3843
|
+
def html_markup_none(text); end
|
3844
|
+
def html_markup_org(text); end
|
3845
|
+
def html_markup_pre(text); end
|
3846
|
+
def html_markup_rdoc(text); end
|
3847
|
+
def html_markup_ruby(source); end
|
3848
|
+
def html_markup_text(text); end
|
3849
|
+
def html_markup_textile(text); end
|
3850
|
+
def html_markup_textile_strict(text); end
|
3851
|
+
def html_syntax_highlight(source, type = T.unsafe(nil)); end
|
3852
|
+
def html_syntax_highlight_plain(source); end
|
3853
|
+
def htmlify(text, markup = T.unsafe(nil)); end
|
3854
|
+
def htmlify_line(*args); end
|
3855
|
+
def insert_include(text, markup = T.unsafe(nil)); end
|
3856
|
+
def link_file(filename, title = T.unsafe(nil), anchor = T.unsafe(nil)); end
|
3857
|
+
def link_include_file(file); end
|
3858
|
+
def link_include_object(obj); end
|
3859
|
+
def link_object(obj, title = T.unsafe(nil), anchor = T.unsafe(nil), relative = T.unsafe(nil)); end
|
3860
|
+
def link_url(url, title = T.unsafe(nil), params = T.unsafe(nil)); end
|
3861
|
+
def mtime(_file); end
|
3862
|
+
def mtime_url(obj, anchor = T.unsafe(nil), relative = T.unsafe(nil)); end
|
3863
|
+
def resolve_links(text); end
|
3864
|
+
def signature(meth, link = T.unsafe(nil), show_extras = T.unsafe(nil), full_attr_name = T.unsafe(nil)); end
|
3865
|
+
def signature_types(meth, link = T.unsafe(nil)); end
|
3866
|
+
def url_for(obj, anchor = T.unsafe(nil), relative = T.unsafe(nil)); end
|
3867
|
+
def url_for_file(filename, anchor = T.unsafe(nil)); end
|
3868
|
+
def url_for_frameset; end
|
3869
|
+
def url_for_index; end
|
3870
|
+
def url_for_list(type); end
|
3871
|
+
def url_for_main; end
|
3872
|
+
|
3873
|
+
private
|
3874
|
+
|
3875
|
+
def convert_method_to_overload(meth); end
|
3876
|
+
def detect_lang_in_codeblock_attributes(pre_html_attrs, code_html_attrs); end
|
3877
|
+
def parse_codeblocks(html); end
|
3878
|
+
def parse_lang_for_codeblock(source); end
|
3879
|
+
def tag_attrs(opts = T.unsafe(nil)); end
|
3880
|
+
def urlencode(text); end
|
3881
|
+
|
3882
|
+
class << self
|
3883
|
+
def urlencode(text); end
|
3884
|
+
end
|
3885
|
+
end
|
3886
|
+
|
3887
|
+
YARD::Templates::Helpers::HtmlHelper::ASCIIDOC_ATTRIBUTES = T.let(T.unsafe(nil), Hash)
|
3888
|
+
YARD::Templates::Helpers::HtmlHelper::URLMATCH = T.let(T.unsafe(nil), Regexp)
|
3889
|
+
|
3890
|
+
module YARD::Templates::Helpers::HtmlSyntaxHighlightHelper
|
3891
|
+
include ::YARD::Templates::Helpers::ModuleHelper
|
3892
|
+
|
3893
|
+
def html_syntax_highlight_ruby(source); end
|
3894
|
+
|
3895
|
+
private
|
3896
|
+
|
3897
|
+
def clean_token_object(token_obj); end
|
3898
|
+
def html_syntax_highlight_ruby_legacy(source); end
|
3899
|
+
def html_syntax_highlight_ruby_ripper(source); end
|
3900
|
+
end
|
3901
|
+
|
3902
|
+
module YARD::Templates::Helpers::Markup; end
|
3903
|
+
|
3904
|
+
class YARD::Templates::Helpers::Markup::RDocMarkdown < ::YARD::Templates::Helpers::Markup::RDocMarkup
|
3905
|
+
def initialize(text); end
|
3906
|
+
|
3907
|
+
def fix_typewriter(html); end
|
3908
|
+
end
|
3909
|
+
|
3910
|
+
class YARD::Templates::Helpers::Markup::RDocMarkup
|
3911
|
+
def initialize(text); end
|
3912
|
+
|
3913
|
+
def from_path; end
|
3914
|
+
def from_path=(_arg0); end
|
3915
|
+
def to_html; end
|
3916
|
+
|
3917
|
+
private
|
3918
|
+
|
3919
|
+
def fix_dash_dash(text); end
|
3920
|
+
def fix_typewriter(text); end
|
3921
|
+
end
|
3922
|
+
|
3923
|
+
YARD::Templates::Helpers::Markup::RDocMarkup::MARKUP = RDoc::Markup
|
3924
|
+
|
3925
|
+
class YARD::Templates::Helpers::Markup::RDocMarkupToHtml < ::RDoc::Markup::ToHtml
|
3926
|
+
def initialize; end
|
3927
|
+
|
3928
|
+
def accept_paragraph(*args); end
|
3929
|
+
def from_path; end
|
3930
|
+
def from_path=(_arg0); end
|
3931
|
+
def handle_special_HYPERLINK(special); end
|
3932
|
+
end
|
3933
|
+
|
3934
|
+
module YARD::Templates::Helpers::MarkupHelper
|
3935
|
+
def load_markup_provider(type = T.unsafe(nil)); end
|
3936
|
+
def markup_class(type = T.unsafe(nil)); end
|
3937
|
+
def markup_file_contents(contents); end
|
3938
|
+
def markup_for_file(contents, filename); end
|
3939
|
+
def markup_provider(type = T.unsafe(nil)); end
|
3940
|
+
|
3941
|
+
class << self
|
3942
|
+
def clear_markup_cache; end
|
3943
|
+
def markup_cache; end
|
3944
|
+
def markup_cache=(_arg0); end
|
3945
|
+
end
|
3946
|
+
end
|
3947
|
+
|
3948
|
+
YARD::Templates::Helpers::MarkupHelper::MARKUP_EXTENSIONS = T.let(T.unsafe(nil), Hash)
|
3949
|
+
YARD::Templates::Helpers::MarkupHelper::MARKUP_FILE_SHEBANG = T.let(T.unsafe(nil), Regexp)
|
3950
|
+
YARD::Templates::Helpers::MarkupHelper::MARKUP_PROVIDERS = T.let(T.unsafe(nil), Hash)
|
3951
|
+
|
3952
|
+
module YARD::Templates::Helpers::MethodHelper
|
3953
|
+
def format_args(object); end
|
3954
|
+
def format_block(object); end
|
3955
|
+
def format_code(object, _show_lines = T.unsafe(nil)); end
|
3956
|
+
def format_constant(value); end
|
3957
|
+
def format_lines(object); end
|
3958
|
+
def format_return_types(object); end
|
3959
|
+
end
|
3960
|
+
|
3961
|
+
module YARD::Templates::Helpers::ModuleHelper
|
3962
|
+
def prune_method_listing(list, hide_attributes = T.unsafe(nil)); end
|
3963
|
+
end
|
3964
|
+
|
3965
|
+
module YARD::Templates::Helpers::TextHelper
|
3966
|
+
def align_right(text, spacer = T.unsafe(nil), col = T.unsafe(nil)); end
|
3967
|
+
def h(text); end
|
3968
|
+
def hr(col = T.unsafe(nil), sep = T.unsafe(nil)); end
|
3969
|
+
def indent(text, len = T.unsafe(nil)); end
|
3970
|
+
def signature(meth); end
|
3971
|
+
def title_align_right(text, col = T.unsafe(nil)); end
|
3972
|
+
def wrap(text, col = T.unsafe(nil)); end
|
3973
|
+
|
3974
|
+
private
|
3975
|
+
|
3976
|
+
def resolve_links(text); end
|
3977
|
+
end
|
3978
|
+
|
3979
|
+
module YARD::Templates::Helpers::UMLHelper
|
3980
|
+
def format_path(object); end
|
3981
|
+
def h(text); end
|
3982
|
+
def tidy(data); end
|
3983
|
+
def uml_visibility(object); end
|
3984
|
+
end
|
3985
|
+
|
3986
|
+
class YARD::Templates::Section < ::Array
|
3987
|
+
def initialize(name, *args); end
|
3988
|
+
|
3989
|
+
def <<(*args); end
|
3990
|
+
def ==(other); end
|
3991
|
+
def [](*args); end
|
3992
|
+
def any(item); end
|
3993
|
+
def dup; end
|
3994
|
+
def eql?(other); end
|
3995
|
+
def inspect; end
|
3996
|
+
def name; end
|
3997
|
+
def name=(_arg0); end
|
3998
|
+
def place(*args); end
|
3999
|
+
def push(*args); end
|
4000
|
+
def to_a; end
|
4001
|
+
def unshift(*args); end
|
4002
|
+
|
4003
|
+
private
|
4004
|
+
|
4005
|
+
def parse_sections(args); end
|
4006
|
+
end
|
4007
|
+
|
4008
|
+
module YARD::Templates::Template
|
4009
|
+
include ::YARD::Templates::ErbCache
|
4010
|
+
include ::YARD::Templates::Helpers::BaseHelper
|
4011
|
+
include ::YARD::Templates::Helpers::MethodHelper
|
4012
|
+
|
4013
|
+
mixes_in_class_methods ::YARD::Templates::Template::ClassMethods
|
4014
|
+
|
4015
|
+
def initialize(opts = T.unsafe(nil)); end
|
4016
|
+
|
4017
|
+
def T(*path); end
|
4018
|
+
def class; end
|
4019
|
+
def class=(_arg0); end
|
4020
|
+
def erb(section, &block); end
|
4021
|
+
def file(basename, allow_inherited = T.unsafe(nil)); end
|
4022
|
+
def init; end
|
4023
|
+
def inspect; end
|
4024
|
+
def options; end
|
4025
|
+
def options=(value); end
|
4026
|
+
def run(opts = T.unsafe(nil), sects = T.unsafe(nil), start_at = T.unsafe(nil), break_first = T.unsafe(nil), &block); end
|
4027
|
+
def section; end
|
4028
|
+
def section=(_arg0); end
|
4029
|
+
def sections(*args); end
|
4030
|
+
def superb(sect = T.unsafe(nil), &block); end
|
4031
|
+
def yieldall(opts = T.unsafe(nil), &block); end
|
4032
|
+
|
4033
|
+
protected
|
4034
|
+
|
4035
|
+
def erb_file_for(section); end
|
4036
|
+
def erb_with(content, filename = T.unsafe(nil)); end
|
4037
|
+
|
4038
|
+
private
|
4039
|
+
|
4040
|
+
def add_options(opts = T.unsafe(nil)); end
|
4041
|
+
def cache(section); end
|
4042
|
+
def cache_filename(section); end
|
4043
|
+
def render_section(section, &block); end
|
4044
|
+
def set_ivars; end
|
4045
|
+
def with_section; end
|
4046
|
+
|
4047
|
+
class << self
|
4048
|
+
def extra_includes; end
|
4049
|
+
def extra_includes=(_arg0); end
|
4050
|
+
def include_extra(template, options); end
|
4051
|
+
def included(klass); end
|
4052
|
+
end
|
4053
|
+
end
|
4054
|
+
|
4055
|
+
module YARD::Templates::Template::ClassMethods
|
4056
|
+
def initialize(path, full_paths); end
|
4057
|
+
|
4058
|
+
def S(*args); end
|
4059
|
+
def T(*path); end
|
4060
|
+
def find_file(basename); end
|
4061
|
+
def find_nth_file(basename, index = T.unsafe(nil)); end
|
4062
|
+
def full_path; end
|
4063
|
+
def full_path=(_arg0); end
|
4064
|
+
def full_paths; end
|
4065
|
+
def is_a?(klass); end
|
4066
|
+
def new(*args); end
|
4067
|
+
def path; end
|
4068
|
+
def path=(_arg0); end
|
4069
|
+
def reset_full_paths; end
|
4070
|
+
def run(*args); end
|
4071
|
+
|
4072
|
+
private
|
4073
|
+
|
4074
|
+
def include_inherited(full_paths); end
|
4075
|
+
def include_parent; end
|
4076
|
+
def load_setup_rb; end
|
4077
|
+
end
|
4078
|
+
|
4079
|
+
class YARD::Templates::TemplateOptions < ::YARD::Options
|
4080
|
+
def __globals; end
|
4081
|
+
def default_return; end
|
4082
|
+
def default_return=(_arg0); end
|
4083
|
+
def embed_mixins; end
|
4084
|
+
def embed_mixins=(_arg0); end
|
4085
|
+
def embed_mixins_match?(mixin); end
|
4086
|
+
def format; end
|
4087
|
+
def format=(_arg0); end
|
4088
|
+
def globals; end
|
4089
|
+
def globals=(_arg0); end
|
4090
|
+
def hide_void_return; end
|
4091
|
+
def hide_void_return=(_arg0); end
|
4092
|
+
def highlight; end
|
4093
|
+
def highlight=(_arg0); end
|
4094
|
+
def index; end
|
4095
|
+
def index=(_arg0); end
|
4096
|
+
def markup; end
|
4097
|
+
def markup=(_arg0); end
|
4098
|
+
def markup_provider; end
|
4099
|
+
def markup_provider=(_arg0); end
|
4100
|
+
def no_highlight; end
|
4101
|
+
def no_highlight=(value); end
|
4102
|
+
def object; end
|
4103
|
+
def object=(_arg0); end
|
4104
|
+
def owner; end
|
4105
|
+
def owner=(_arg0); end
|
4106
|
+
def page_title; end
|
4107
|
+
def page_title=(_arg0); end
|
4108
|
+
def serialize; end
|
4109
|
+
def serialize=(_arg0); end
|
4110
|
+
def serializer; end
|
4111
|
+
def serializer=(_arg0); end
|
4112
|
+
def template; end
|
4113
|
+
def template=(_arg0); end
|
4114
|
+
def type; end
|
4115
|
+
def type=(_arg0); end
|
4116
|
+
def verifier; end
|
4117
|
+
def verifier=(_arg0); end
|
4118
|
+
end
|
4119
|
+
|
4120
|
+
YARD::VERSION = T.let(T.unsafe(nil), String)
|
4121
|
+
|
4122
|
+
class YARD::Verifier
|
4123
|
+
def initialize(*expressions); end
|
4124
|
+
|
4125
|
+
def add_expressions(*expressions); end
|
4126
|
+
def call(object); end
|
4127
|
+
def expressions; end
|
4128
|
+
def expressions=(value); end
|
4129
|
+
def method_missing(sym, *args, &block); end
|
4130
|
+
def run(list); end
|
4131
|
+
|
4132
|
+
protected
|
4133
|
+
|
4134
|
+
def o; end
|
4135
|
+
def object; end
|
4136
|
+
|
4137
|
+
private
|
4138
|
+
|
4139
|
+
def create_method_from_expressions; end
|
4140
|
+
def modify_nilclass; end
|
4141
|
+
def parse_expression(expr); end
|
4142
|
+
def unmodify_nilclass; end
|
4143
|
+
end
|
4144
|
+
|
4145
|
+
YARD::Verifier::NILCLASS_METHODS = T.let(T.unsafe(nil), Array)
|