Skip to content

Parse new DeclarationReference format in TSDoc - #325

Draft
Ron Buckton (rbuckton) wants to merge 2 commits into
microsoft:mainfrom
rbuckton:parse-beta-declref
Draft

Parse new DeclarationReference format in TSDoc#325
Ron Buckton (rbuckton) wants to merge 2 commits into
microsoft:mainfrom
rbuckton:parse-beta-declref

Conversation

@rbuckton

Copy link
Copy Markdown

This builds on #324 to support parsing the new DeclarationReference format in TSDoc.

@octogonz

Copy link
Copy Markdown
Collaborator

Ron Buckton (@rbuckton) Thanks for contributing this PR! I apologize I haven't had a chance to look at it yet. I've been very busy the past week, but I should have some time on Friday.

@Gerrit0

Copy link
Copy Markdown
Contributor

One concern I have:

This new form of declaration references appears to be incapable of supporting the {@label} tag.

Meaning:
`:` MeaningKeyword // Indicates the meaning of a symbol (i.e. ':class')
`:` MeaningKeyword `(` DecimalDigits `)` // Indicates an overloaded meaning (i.e. ':function(1)')
`:` `(` DecimalDigits `)` // Shorthand for an overloaded meaning (i.e. `:(1)`)
`:` DecimalDigits // Shorthand for an overloaded meaning (i.e. ':1')

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.

3 participants