CodeQL library for Java/Kotlin
codeql/java-all 4.2.2-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)