Module StringOps
Provides predicates and classes for working with string operations.
Import path
import semmle.go.StringOpsClasses
| Concatenation | A data-flow node that performs string concatenation. |
| ConcatenationElement | An element of a string concatenation, which either itself performs a string concatenation or occurs as an operand in a string concatenation. |
| ConcatenationLeaf | An operand to a concatenation that is not itself a concatenation. |
| ConcatenationOperand | An operand in a string concatenation. |
| ConcatenationRoot | A data-flow node that performs a string concatenation, and is not an immediate operand in a larger string concatenation. |
| HasPrefix | An expression that is equivalent to |
| ReplaceAll | An expression that is equivalent to |
Modules
| Concatenation | Provides predicates and classes for working with string concatenations. |
| Formatting | Provides predicates and classes for working with Printf-style formatters. |
| HasPrefix | Provides predicates and classes for working with prefix checks. |
| ReplaceAll | Provides predicates and classes for working with prefix checks. |
Aliases
| StartsWith | An expression that is equivalent to |