Documentation
¶
Overview ¶
Package items computes the lexical item sets, following
Modern Compiler Design. Second Edition. Grune et al Springer 2012 Section 2.6
Index ¶
- type Event
- type Set
- func (set *Set) Accept(slits *stringset.StringSet) string
- func (set *Set) Add(items ...*item.Item)
- func (set *Set) Contains(item *item.Item) bool
- func (set *Set) Equals(other *Set) bool
- func (set *Set) Items() []*item.Item
- func (s *Set) Len() int
- func (s *Set) Less(i, j int) bool
- func (set *Set) String() string
- func (s *Set) Swap(i, j int)
- type Sets
- type Transition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set struct { No int Transitions []*Transition // contains filtered or unexported fields }
type Sets ¶
type Sets struct {
// contains filtered or unexported fields
}
func (*Sets) GetExisting ¶
type Transition ¶
Click to show internal directories.
Click to hide internal directories.