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