CodeQL library for Python
codeql/python-all 3.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)