parser

package
v0.0.0-...-97928f7 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Empty lexer.XItemType = ""
)

NodeType enumerations

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Val    lexer.XItem
	Left   *Node
	Right  *Node
	Parent *Node
	// contains filtered or unexported fields
}

Node builds an AST tree for operating on XPath expressions

func Parse

func Parse(xp string) (*Node, error)

Parse creates an AST tree for XPath expressions.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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