Home | History | Annotate | Download | only in template

Lines Matching full:nil

67 	if t.common == nil {
83 nt := t.copy(nil)
85 if t.common == nil {
86 return nt, nil
105 return nt, nil
130 if replace, err := t.associate(nt, tree); err != nil {
131 return nil, err
135 return nt, nil
140 if t.common == nil {
141 return nil
177 // It returns nil if there is no such template or the template has no definition.
179 if t.common == nil {
180 return nil
197 if err != nil {
198 return nil, err
202 if _, err := t.AddParseTree(name, tree); err != nil {
203 return nil, err
206 return t, nil
218 if old := t.tmpl[name]; old != nil {
223 return false, nil
230 return true, nil