nodestack

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: AGPL-3.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 NodeStack

type NodeStack struct {
	From  ast.Node
	Stack []ast.Node
}

func NewNodeStack

func NewNodeStack(from ast.Node) *NodeStack

func (*NodeStack) BuildIndexList

func (s *NodeStack) BuildIndexList() []string

func (*NodeStack) Clone

func (s *NodeStack) Clone() *NodeStack

func (*NodeStack) IsEmpty

func (s *NodeStack) IsEmpty() bool

func (*NodeStack) Peek added in v0.7.0

func (s *NodeStack) Peek() ast.Node

func (*NodeStack) Pop

func (s *NodeStack) Pop() ast.Node

func (*NodeStack) Push

func (s *NodeStack) Push(n ast.Node)

func (*NodeStack) ReorderDesugaredObjects

func (s *NodeStack) ReorderDesugaredObjects() *NodeStack

Jump to

Keyboard shortcuts

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