check element gener param st parent state sub state creat param text text pars param entri action entri action expect creat param exit action exit action expect creat param action activ expect creat param intern number intern transit expect creat param except syntax error except expect intern state element creat object check gener object st text entri action exit action action intern except object sst model state machin factori build simpl state st check chang sst text entri action exit action action intern except sst 