internal

package
v0.0.0-...-2bc12df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NonterminalNode

type NonterminalNode interface {
	rql.ASTNode
	MatchedNode() rql.ASTNode
	SetMatchedNode(rql.ASTNode) NonterminalNode
	SetMatchErrMsg(msg string) NonterminalNode
}

A NonterminalNode is a node that can be matched by one or more other nodes when it is unmarshaled. MatchedNode returns the matched node

func NewNonterminalNode

func NewNonterminalNode(n rql.ASTNode, ns ...rql.ASTNode) NonterminalNode

NewNonterminalNode returns a new nonterminal node. This is structured as "n, ns" to indicate at compile-time that the method takes at least one argument.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL