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