/
go1_19_html_template.go
55 lines (50 loc) · 2.51 KB
/
go1_19_html_template.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Code generated by 'yaegi extract html/template'. DO NOT EDIT.
//go:build go1.19
// +build go1.19
package stdlib
import (
"html/template"
"reflect"
)
func init() {
Symbols["html/template/template"] = map[string]reflect.Value{
// function, constant and variable definitions
"ErrAmbigContext": reflect.ValueOf(template.ErrAmbigContext),
"ErrBadHTML": reflect.ValueOf(template.ErrBadHTML),
"ErrBranchEnd": reflect.ValueOf(template.ErrBranchEnd),
"ErrEndContext": reflect.ValueOf(template.ErrEndContext),
"ErrNoSuchTemplate": reflect.ValueOf(template.ErrNoSuchTemplate),
"ErrOutputContext": reflect.ValueOf(template.ErrOutputContext),
"ErrPartialCharset": reflect.ValueOf(template.ErrPartialCharset),
"ErrPartialEscape": reflect.ValueOf(template.ErrPartialEscape),
"ErrPredefinedEscaper": reflect.ValueOf(template.ErrPredefinedEscaper),
"ErrRangeLoopReentry": reflect.ValueOf(template.ErrRangeLoopReentry),
"ErrSlashAmbig": reflect.ValueOf(template.ErrSlashAmbig),
"HTMLEscape": reflect.ValueOf(template.HTMLEscape),
"HTMLEscapeString": reflect.ValueOf(template.HTMLEscapeString),
"HTMLEscaper": reflect.ValueOf(template.HTMLEscaper),
"IsTrue": reflect.ValueOf(template.IsTrue),
"JSEscape": reflect.ValueOf(template.JSEscape),
"JSEscapeString": reflect.ValueOf(template.JSEscapeString),
"JSEscaper": reflect.ValueOf(template.JSEscaper),
"Must": reflect.ValueOf(template.Must),
"New": reflect.ValueOf(template.New),
"OK": reflect.ValueOf(template.OK),
"ParseFS": reflect.ValueOf(template.ParseFS),
"ParseFiles": reflect.ValueOf(template.ParseFiles),
"ParseGlob": reflect.ValueOf(template.ParseGlob),
"URLQueryEscaper": reflect.ValueOf(template.URLQueryEscaper),
// type definitions
"CSS": reflect.ValueOf((*template.CSS)(nil)),
"Error": reflect.ValueOf((*template.Error)(nil)),
"ErrorCode": reflect.ValueOf((*template.ErrorCode)(nil)),
"FuncMap": reflect.ValueOf((*template.FuncMap)(nil)),
"HTML": reflect.ValueOf((*template.HTML)(nil)),
"HTMLAttr": reflect.ValueOf((*template.HTMLAttr)(nil)),
"JS": reflect.ValueOf((*template.JS)(nil)),
"JSStr": reflect.ValueOf((*template.JSStr)(nil)),
"Srcset": reflect.ValueOf((*template.Srcset)(nil)),
"Template": reflect.ValueOf((*template.Template)(nil)),
"URL": reflect.ValueOf((*template.URL)(nil)),
}
}