Lines Matching refs:Clone

6 func (desc *Description) Clone() *Description {  func
9 desc1.Nodes = append(desc1.Nodes, n.Clone())
14 func (n *NewLine) Clone() Node { func
20 func (n *Comment) Clone() Node { func
27 func (n *Include) Clone() Node { func
30 File: n.File.Clone().(*String),
34 func (n *Incdir) Clone() Node { func
37 Dir: n.Dir.Clone().(*String),
41 func (n *Define) Clone() Node { func
44 Name: n.Name.Clone().(*Ident),
45 Value: n.Value.Clone().(*Int),
49 func (n *Resource) Clone() Node { func
52 Name: n.Name.Clone().(*Ident),
53 Base: n.Base.Clone().(*Type),
58 func (n *TypeDef) Clone() Node { func
61 args = append(args, v.Clone().(*Ident))
65 typ = n.Type.Clone().(*Type)
69 str = n.Struct.Clone().(*Struct)
73 Name: n.Name.Clone().(*Ident),
80 func (n *Call) Clone() Node { func
83 ret = n.Ret.Clone().(*Type)
87 Name: n.Name.Clone().(*Ident),
95 func (n *Struct) Clone() Node { func
98 Name: n.Name.Clone().(*Ident),
106 func (n *IntFlags) Clone() Node { func
109 Name: n.Name.Clone().(*Ident),
114 func (n *StrFlags) Clone() Node { func
117 values = append(values, v.Clone().(*String))
121 Name: n.Name.Clone().(*Ident),
126 func (n *Ident) Clone() Node { func
133 func (n *String) Clone() Node { func
140 func (n *Int) Clone() Node { func
150 func (n *Type) Clone() Node { func
167 func (n *Field) Clone() Node { func
170 Name: n.Name.Clone().(*Ident),
171 Type: n.Type.Clone().(*Type),
179 res = append(res, n.Clone().(*Field))
186 res = append(res, n.Clone().(*Int))
193 res = append(res, n.Clone().(*Type))
200 res = append(res, n.Clone().(*Comment))