Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Element ¶
type Element struct { Type ElementType // type of the element Tokens []*lexer.Token // tokens associated with this element Children *list.List // list of sub elements }
Type to denote a grammatical element.
func NewElement ¶
func NewElement(t ElementType) *Element
Click to show internal directories.
Click to hide internal directories.