Class StringOps::ConcatenationLeaf
An operand to a concatenation that is not itself a concatenation.
See ConcatenationElement for more information.
Import path
import semmle.go.StringOpsDirect supertypes
Indirect supertypes
Predicates
| getNextLeaf | Gets the operand immediately succeeding this one in its parent concatenation. |
| getPreviousLeaf | Gets the operand immediately preceding this one in its parent concatenation. |
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 |
| getLocation | Gets the location of this element. | 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 | DEPRECATED: Use | from ConcatenationElement |
| toString | Gets a textual representation of this concatenation element. | from ConcatenationElement |