code: func (a *Automaton) setAccept(state int, accept bool) {
  	assert2(state < a.numStates(), "state=%v is out of bounds (numStates=%v)", state, a.numStates())
  	if accept {
  		a.isAccept.Set(int64(state))
  	} else {
  		a.isAccept.Clear(int64(state))
  	}
  }
docs: /* Set or clear this state as an accept state. */