Skip to content

Conversation

okuramasafumi
Copy link
Contributor

At this time, @yield, @private and @api private are supported.
Ref: #1344

# Extract parameter names from YARD type specification
# e.g., "[String, Integer]" -> "value1, value2"
# e.g., "[item, index]" -> "item, index"
def extract_param_names(params_string)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part is kind of too much, but YARD's @yield might cause confusion to use type name instead of param name. Here it replaces type name with temporary param name,

@okuramasafumi okuramasafumi requested a deployment to fork-preview-protection August 27, 2025 08:45 — with GitHub Actions Waiting
@okuramasafumi okuramasafumi requested a deployment to fork-preview-protection August 28, 2025 03:09 — with GitHub Actions Waiting
@okuramasafumi okuramasafumi force-pushed the add-yard-yield-private-tag branch from 1ca2295 to 8bc0794 Compare August 28, 2025 05:53
@okuramasafumi okuramasafumi requested a deployment to fork-preview-protection August 28, 2025 05:53 — with GitHub Actions Waiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant