MCPcopy
hub / github.com/uber/aresdb / NewIdentifier

Function NewIdentifier

query/sql/tree/Identifier.go:28–34  ·  view source on GitHub ↗

NewIdentifier creates Identifier

(location *NodeLocation, value string, delimited bool)

Source from the content-addressed store, hash-verified

26
27// NewIdentifier creates Identifier
28func NewIdentifier(location *NodeLocation, value string, delimited bool) *Identifier {
29 return &Identifier{
30 NewExpression(location),
31 value,
32 delimited,
33 }
34}
35
36// Accept accepts visitor
37func (e *Identifier) Accept(visitor AstVisitor, ctx interface{}) interface{} {

Callers 2

VisitQuotedIdentifierMethod · 0.92

Calls 1

NewExpressionFunction · 0.85

Tested by

no test coverage detected