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

Predicate Make::deltaClosed

Holds if there is a state q that can be reached from q1 along epsilon edges, such that there is a transition from q to q2 that consumes symbol s.

Import path

import codeql.regex.nfa.NfaUtils
predicate deltaClosed(State q1, InputSymbol s, State q2)