NFARunAutomaton
A RunAutomaton that does not require DFA. It will lazily determinize on-demand, memorizing the generated DFA states that has been explored. Note: the current implementation is NOT thread-safe
implemented based on: https://swtch.com/~rsc/regexp/regexp1.html
Properties
Functions
Gets character class of given codepoint
Iterate to the next transition after the provided one
How many transitions this state has.
Fill the provided Transition with the index'th transition leaving the specified state.
Initialize the provided Transition to iterate through all transitions leaving the specified state. You must call .getNextTransition to get each transition. Returns the number of transitions leaving this state.
Return the memory usage of this object in bytes. Negative values are illegal.