MCPcopy
hub / github.com/zeromicro/go-zero / SyntaxStmt

Struct SyntaxStmt

tools/goctl/pkg/parser/api/ast/syntaxstatement.go:6–13  ·  view source on GitHub ↗

SyntaxStmt represents a syntax statement.

Source from the content-addressed store, hash-verified

4
5// SyntaxStmt represents a syntax statement.
6type SyntaxStmt struct {
7 // Syntax is the syntax token.
8 Syntax *TokenNode
9 // Assign is the assign token.
10 Assign *TokenNode
11 // Value is the syntax value.
12 Value *TokenNode
13}
14
15func (s *SyntaxStmt) HasHeadCommentGroup() bool {
16 return s.Syntax.HasHeadCommentGroup()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected