traverse

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 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