Skip to content

analyzeStateMachine

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/utils/state-machine-analyzer.ts

Analyze complete state machine from code

Combines enum parsing and transition extraction to build a complete state machine definition.

Signature

ts
function analyzeStateMachine(code: string, enumName: string, filePath: string): StateMachine

Parameters

NameType
codestring
enumNamestring
filePathstring

Returns: StateMachine

Was this page helpful?

Download as PDF