MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Text

Function Text

testing/generation/utils/statement_generator.go:64–67  ·  view source on GitHub ↗

Text creates a new StatementGenerator representing a simple string.

(str string)

Source from the content-addressed store, hash-verified

62
63// Text creates a new StatementGenerator representing a simple string.
64func Text(str string) *TextGen {
65 gen := TextGen(str)
66 return &gen
67}
68
69// AddChildren implements the interface StatementGenerator.
70func (t *TextGen) AddChildren(children ...StatementGenerator) error {

Callers 7

generators.goFile · 0.92
mainFunction · 0.92
AddTextMethod · 0.70
NewParenScopeMethod · 0.70
ExitParenScopeMethod · 0.70
OptionalRepeatMethod · 0.70
CopyMethod · 0.70

Calls 1

TextGenTypeAlias · 0.85

Tested by

no test coverage detected