func NewAnnotatedHSM(top, initial hsm.State) *AnnotatedHSM { return &AnnotatedHSM{ StdHSM: hsm.NewStdHSM(HSMTypeAnnotated, top, initial), } }
func NewCCommentHSM(top, initial hsm.State) *CCommentHSM { return &CCommentHSM{ StdHSM: hsm.NewStdHSM(HSMTypeCComment, top, initial), codeCharList: list.New(), } }