go_ast_pair

package
v0.0.0-...-f1bff1d Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(v PairVisitorManager, leftNode, rightNode interface{}) Cont

Structurally recurses through `leftNode` and `rightNode` in tandem.

func ApplyWithContext

func ApplyWithContext(v PairVisitorManager, ctx PairContext, leftNode, rightNode interface{}) Cont

func DefaultVisitChildren

func DefaultVisitChildren(newContext PairContext, vm PairVisitorManager, left, right interface{}) Cont

func ZeroOf

func ZeroOf(v interface{}) interface{}

Returns the zero value of v's dynamic type. If v is a pointer type, this returns nil with the same type as v.

Types

This section is empty.

Jump to

Keyboard shortcuts

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