Documentation ¶
Overview ¶
Package slot is generated by gogll. Do not edit.
Index ¶
- type Index
- type Label
- func (l Label) Alternate() int
- func (l Label) EoR() bool
- func (l Label) FirstContains(typ token.Type) bool
- func (l Label) Head() symbols.NT
- func (l Label) Index() Index
- func (l Label) IsLookahead() bool
- func (l Label) IsNullable() bool
- func (l Label) Pos() int
- func (l Label) Slot() *Slot
- func (l Label) String() string
- func (l Label) Symbols() symbols.Symbols
- type Slot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Label ¶
type Label int
const ( CLOSE0R0 Label = iota CLOSE0R1 CLOSE0R2 CLOSE1F0 DIVIDE0R0 DIVIDE0R1 DIVIDE0R2 DIVIDE1F0 ELEMENT0R0 ELEMENT0R1 ELEMENT0R2 ELEMENT0R3 ELEMENT1M0 ELEMENT1R0 ELEMENT1M1 ELEMENT1R1 ELEMENT2F0 EXPR0R0 EXPR0R1 EXPR0R2 EXPR1F0 MINUS0R0 MINUS0R1 MINUS0R2 MINUS1F0 Number0R0 Number0R1 Number0R2 Number1F0 OPEN0R0 OPEN0R1 OPEN0R2 OPEN1F0 PLUS0R0 PLUS0R1 PLUS0R2 PLUS1F0 PLUSorMINUS0R0 PLUSorMINUS0R1 PLUSorMINUS0R2 PLUSorMINUS1M0 PLUSorMINUS1R0 PLUSorMINUS1M1 PLUSorMINUS1R1 PLUSorMINUS1M2 PLUSorMINUS1R2 PLUSorMINUS2F0 PRODUCT0R0 PRODUCT0R1 PRODUCT0R2 PRODUCT1F0 SUM0R0 SUM0R1 SUM0R2 SUM1F0 SuffPLUSorMINUS0R0 SuffPLUSorMINUS0R1 SuffPLUSorMINUS0R2 SuffPLUSorMINUS1R0 SuffTIMESorDIVIDE0R0 SuffTIMESorDIVIDE0R1 SuffTIMESorDIVIDE0R2 SuffTIMESorDIVIDE1R0 TIMES0R0 TIMES0R1 TIMES0R2 TIMES1F0 TIMESorDIVIDE0R0 TIMESorDIVIDE0R1 TIMESorDIVIDE0R2 TIMESorDIVIDE1M0 TIMESorDIVIDE1R0 TIMESorDIVIDE1M1 TIMESorDIVIDE1R1 TIMESorDIVIDE1M2 TIMESorDIVIDE1R2 TIMESorDIVIDE2F0 WS0R0 WS0R1 WS1R0 )
func GetAlternates ¶
func (Label) IsLookahead ¶
func (Label) IsNullable ¶
Click to show internal directories.
Click to hide internal directories.