Home | History | Annotate | Download | only in ast

Lines Matching refs:Node

6 // Walk calls callback cb for every top-level node in description.
8 func (desc *Description) Walk(cb func(Node)) {
14 func Recursive(cb func(Node)) func(Node) {
15 var rec func(Node)
16 rec = func(n Node) {
23 func (n *NewLine) Walk(cb func(Node)) {}
24 func (n *Comment) Walk(cb func(Node)) {}
25 func (n *Ident) Walk(cb func(Node)) {}
26 func (n *String) Walk(cb func(Node)) {}
27 func (n *Int) Walk(cb func(Node)) {}
29 func (n *Include) Walk(cb func(Node)) {
33 func (n *Incdir) Walk(cb func(Node)) {
37 func (n *Define) Walk(cb func(Node)) {
42 func (n *Resource) Walk(cb func(Node)) {
50 func (n *TypeDef) Walk(cb func(Node)) {
63 func (n *Call) Walk(cb func(Node)) {
73 func (n *Struct) Walk(cb func(Node)) {
86 func (n *IntFlags) Walk(cb func(Node)) {
93 func (n *StrFlags) Walk(cb func(Node)) {
100 func (n *Type) Walk(cb func(Node)) {
106 func (n *Field) Walk(cb func(Node)) {