go-common/app/interface/main/dm2/lib/xregex/item.go

24 lines
377 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package xregex
/*
golang version regex parser
refer to: https://github.com/aristotle9/as3cc/tree/master/java-template/src/org/lala/lex/utils/parser
*/
type rangeItem struct {
from int64
to int64
value int64
}
type stateTransItem struct {
isDead bool
toStates []int64
transEdge []*rangeItem
}
type productionItem struct {
headerID int64
bodyLength int64
}