Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse TAG directives and node tag attribute #95

Merged
merged 9 commits into from
Nov 12, 2021
Merged

Parse TAG directives and node tag attribute #95

merged 9 commits into from
Nov 12, 2021

Conversation

kpodsiad
Copy link
Contributor

No description provided.

@kpodsiad kpodsiad added the feature New feature or request label Nov 11, 2021
@kpodsiad kpodsiad marked this pull request as ready for review November 11, 2021 20:19
case TokenKind.DocumentStart =>
productions.prependAll(ParseDocumentStart :: ParseDocumentStartOpt :: Nil)
getNextEventImpl()
case TokenKind.MappingStart | TokenKind.Scalar(_, _) | TokenKind.SequenceStart |
TokenKind.FlowMappingStart | TokenKind.FlowSequenceStart | _: TokenKind.Anchor =>
TokenKind.FlowMappingStart | TokenKind.FlowSequenceStart | _: TokenKind.Anchor |
_: TokenKind.Tag =>
Copy link
Contributor

Choose a reason for hiding this comment

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

wdyt about introduce more descriptive type instead of writing TokenKind.FlowMappingStart TokenKind.FlowSequenceStart | _: TokenKind.Anchor | _: TokenKind.Tag, but we can do it in another PR.

@lwronski lwronski self-requested a review November 12, 2021 08:14
Copy link
Contributor

@lwronski lwronski left a comment

Choose a reason for hiding this comment

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

LGTM

@kpodsiad kpodsiad merged commit 408e5b3 into main Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants