Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identifier ¶
type Identifier struct { Name *token.Token ParserContext *ParserContext }
Simple type that will convey both kinds of context.
func NewIdentifier ¶
func NewIdentifier(name Attrib, context interface{}) (*Identifier, error)
type LexicalContext ¶
Demonstrates how Lexical and Parser context might differ.
func (*LexicalContext) Source ¶
func (lc *LexicalContext) Source() string
Source implements the lexer.Sourcer interface.
Click to show internal directories.
Click to hide internal directories.