Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
goccy committed Dec 9, 2024
1 parent 7f1cf96 commit e646ff7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ast/ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -1726,8 +1726,11 @@ func (n *AliasNode) MarshalYAML() ([]byte, error) {
// DirectiveNode type of directive node
type DirectiveNode struct {
*BaseNode
Start *token.Token
Name Node
// Start is '%' token.
Start *token.Token
// Name is directive name e.g.) "YAML" or "TAG".
Name Node
// Values is directive values e.g.) "1.2" or "!!" and "tag:clarkevans.com,2002:app/".
Values []Node
}

Expand Down

0 comments on commit e646ff7

Please sign in to comment.