We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feef606 commit 4d6ec0fCopy full SHA for 4d6ec0f
ast/node.go
@@ -19,9 +19,8 @@ type Statement interface {
19
20
// ExCommand is the interface for Ex-command.
21
type ExCommand interface {
22
- Node
+ Statement
23
Cmd() Cmd
24
- stmtNode()
25
}
26
27
// Expr is the interface for expression.
@@ -42,6 +41,7 @@ func (f *File) Pos() Pos { return f.Start }
42
41
43
// vimlparser: COMMENT .str
44
type Comment struct {
45
Quote Pos // position of `"` starting the comment
46
Text string // comment text (excluding '\n')
47
@@ -572,7 +572,6 @@ func (*DotExpr) exprNode() {}
572
func (*BasicLit) exprNode() {}
573
func (*List) exprNode() {}
574
func (*Dict) exprNode() {}
575
-func (*KeyValue) exprNode() {}
576
func (*CurlyName) exprNode() {}
577
func (*CurlyNameLit) exprNode() {}
578
func (*CurlyNameExpr) exprNode() {}
0 commit comments