MCPcopy Create free account
hub / github.com/LissaGreense/GO4SQL / GetIdentifiers

Method GetIdentifiers

ast/ast.go:96–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94}
95
96func (ls ConditionExpression) GetIdentifiers() []Identifier {
97 var identifiers []Identifier
98
99 if ls.Left.IsIdentifier() {
100 identifiers = append(identifiers, Identifier{ls.Left.GetToken()})
101 }
102
103 if ls.Right.IsIdentifier() {
104 identifiers = append(identifiers, Identifier{ls.Right.GetToken()})
105 }
106
107 return identifiers
108}
109
110// ContainExpression - TokenType of Expression that represents structure for IN operator
111//

Callers

nothing calls this directly

Calls 2

IsIdentifierMethod · 0.65
GetTokenMethod · 0.65

Tested by

no test coverage detected