traverse

package
v0.13.6 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package traverse contains functions for traversing the clang AST.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllNodesOfType

func GetAllNodesOfType(root ast.Node, t reflect.Type) []ast.Node

GetAllNodesOfType returns all of the nodes of the tree that match the type provided. The type should be a pointer to an object in the ast package.

The nodes returned may reference each other and there is no guarenteed order in which the nodes are returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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