item.go 377 B

1234567891011121314151617181920212223
  1. package xregex
  2. /*
  3. golang version regex parser
  4. refer to: https://github.com/aristotle9/as3cc/tree/master/java-template/src/org/lala/lex/utils/parser
  5. */
  6. type rangeItem struct {
  7. from int64
  8. to int64
  9. value int64
  10. }
  11. type stateTransItem struct {
  12. isDead bool
  13. toStates []int64
  14. transEdge []*rangeItem
  15. }
  16. type productionItem struct {
  17. headerID int64
  18. bodyLength int64
  19. }