MCPcopy Create free account
hub / github.com/bufbuild/protocompile / EmptyDeclNode

Struct EmptyDeclNode

ast/node.go:114–117  ·  view source on GitHub ↗

EmptyDeclNode represents an empty declaration in protobuf source. These amount to extra semicolons, with no actual content preceding the semicolon.

Source from the content-addressed store, hash-verified

112// These amount to extra semicolons, with no actual content preceding
113// the semicolon.
114type EmptyDeclNode struct {
115 compositeNode
116 Semicolon *RuneNode
117}
118
119// NewEmptyDeclNode creates a new *EmptyDeclNode. The one argument must
120// be non-nil.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected