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

Method End

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

End returns the position of the first character immediately after the node.

()

Source from the content-addressed store, hash-verified

15 Pos() token.Position
16 // End returns the position of the first character immediately after the node.
17 End() token.Position
18 // Format returns the node's text after format.
19 Format(...string) string
20 // HasHeadCommentGroup returns true if the node has head comment group.

Callers 15

rewriteFileFunction · 0.65
replacePkgFunction · 0.65
EndMethod · 0.65
EndMethod · 0.65
EndMethod · 0.65
EndMethod · 0.65
EndMethod · 0.65
EndMethod · 0.65
EndMethod · 0.65
EndMethod · 0.65
EndMethod · 0.65
EndMethod · 0.65

Implementers 15

SyntaxStmttools/goctl/pkg/parser/api/ast/syntaxs
TokenNodetools/goctl/pkg/parser/api/ast/ast.go
CommentStmttools/goctl/pkg/parser/api/ast/comment
ImportLiteralStmttools/goctl/pkg/parser/api/ast/imports
ImportGroupStmttools/goctl/pkg/parser/api/ast/imports
TypeLiteralStmttools/goctl/pkg/parser/api/ast/typesta
TypeGroupStmttools/goctl/pkg/parser/api/ast/typesta
TypeExprtools/goctl/pkg/parser/api/ast/typesta
ElemExprtools/goctl/pkg/parser/api/ast/typesta
AnyDataTypetools/goctl/pkg/parser/api/ast/typesta
ArrayDataTypetools/goctl/pkg/parser/api/ast/typesta
BaseDataTypetools/goctl/pkg/parser/api/ast/typesta

Calls

no outgoing calls

Tested by 12

TestTracerFromContextFunction · 0.52
TestTraceLogFunction · 0.52
TestTraceDebugFunction · 0.52
TestTraceErrorFunction · 0.52
TestTraceInfoFunction · 0.52
TestTraceInfoConsoleFunction · 0.52
TestTraceSlowFunction · 0.52
TestLogKeyFunction · 0.52
TestSpanIDFromContextFunction · 0.52
TestOtelHandlerFunction · 0.52
TestDontTracingSpanFunction · 0.52
TestTraceResponseWriterFunction · 0.52