package
Version:
v3.3.2
Opens a new window with list of versions in this module.
Published: Oct 2, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package item implements a lexical dotted item
Item contains the dotted item for one lex rule
Equal is true if i and other have the same rule and position.
GetRegExp returns the RegExp containing the current symbol in i. If pos.Len() > 1
this will be an alternate of a LexBracket.
IsReduce returns true if the position of i is after the last symbol of i
Next returns the next item after i. If i is a reduce item Next returns nil
Symbol returns the base (not bracket) symbol after the item place marker.
If i is a reduce item Symbol returns nil
Source Files
¶
Directories
¶
Package pos implements the position of a lexical dotted item
|
Package pos implements the position of a lexical dotted item |
Click to show internal directories.
Click to hide internal directories.