Class StringOps::ConcatenationOperand
An operand in a string concatenation.
See ConcatenationElement
for more information.
Import path
import semmle.go.StringOps
Direct supertypes
Indirect supertypes
Known direct subtypes
Inherited predicates
asNode | Gets the data-flow node corresponding to this concatenation element, if any. | from ConcatenationElement |
getALeaf | Gets a leaf in the concatenation tree that this element is the root of. | from ConcatenationElement |
getAnOperand | Gets an operand of this string concatenation. | from ConcatenationElement |
getConcatenationRoot | Gets the root of the concatenation tree to which this element belongs. | from ConcatenationElement |
getFirstLeaf | Gets the first leaf in this concatenation tree. | from ConcatenationElement |
getFirstOperand | Gets the first operand of this string concatenation. | from ConcatenationElement |
getLastLeaf | Gets the last leaf in this concatenation tree. | from ConcatenationElement |
getLastOperand | Gets the last operand of this string concatenation. | from ConcatenationElement |
getNumOperand | Gets the number of operands of this string concatenation. | from ConcatenationElement |
getOperand | Gets the | from ConcatenationElement |
getStringValue | Gets the string value of this concatenation element if it is a constant. | from ConcatenationElement |
hasLocationInfo | Holds if this element is at the specified location. The location spans column | from ConcatenationElement |
toString | Gets a textual representation of this concatenation element. | from ConcatenationElement |