MCPcopy
hub / github.com/sqldef/sqldef / NewIdent

Function NewIdent

parser/node.go:3185–3187  ·  view source on GitHub ↗

NewIdent creates a new Ident.

(name string, quoted bool)

Source from the content-addressed store, hash-verified

3183
3184// NewIdent creates a new Ident.
3185func NewIdent(name string, quoted bool) Ident {
3186 return Ident{Name: name, Quoted: quoted}
3187}
3188
3189// IsEmpty returns true if the name is empty.
3190func (n Ident) IsEmpty() bool {

Callers 15

parseCreateStmtMethod · 0.92
parseIndexStmtMethod · 0.92
parseSelectStmtMethod · 0.92
parseResTargetMethod · 0.92
parseExprMethod · 0.92
parseIndexColumnMethod · 0.92
parseIdentListMethod · 0.92
parseTableNameMethod · 0.92
parseExtensionStmtMethod · 0.92
parseConstraintMethod · 0.92
parseExclusionMethod · 0.92
parseForeignKeyMethod · 0.92

Calls

no outgoing calls