CodeQL library for Swift
codeql/swift-all 6.3.2 (changelog, source)
Search

Class RegexCreation

A data-flow node where a regular expression object is created.

Import path

import codeql.swift.regex.Regex

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    getAnOptionsInput

    Gets a dataflow node for an options input that might contain options such as parse mode flags (if any).

    getStringInput

    Gets a dataflow node for the string that the regular expression object is created from.

    Inherited predicates

    asDefinition

    Gets this node’s underlying SSA definition, if any.

    from Node
    asExpr

    Gets the expression that corresponds to this node, if any.

    from Node
    asParameter

    Gets the parameter that corresponds to this node, if any.

    from Node
    asPattern

    Gets this node’s underlying pattern, if any.

    from Node
    getCfgNode

    Gets the control flow node that corresponds to this data flow node.

    from Node
    getLocation

    Gets the location of this node.

    from Node
    toString

    Gets a textual representation of this node.

    from Node