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

Predicate Make::PrefixConstruction::prefixLength

Gets the minimum number of transitions it takes to reach state from the start state.

Import path

import codeql.regex.nfa.NfaUtils
int prefixLength(State start, State state)