[refactoring] update ast structure of "Nullable"

This commit is contained in:
Vadym Slizov
2020-11-20 22:07:58 +02:00
parent bf3ae74d56
commit 43ace92875
4 changed files with 1029 additions and 1028 deletions

View File

@@ -33,7 +33,8 @@ func (n *Root) Accept(v NodeVisitor) {
// Nullable node
type Nullable struct {
Node
Expr Vertex
QuestionTkn *token.Token
Expr Vertex
}
func (n *Nullable) Accept(v NodeVisitor) {