File: go1_21_html_template.go

package info (click to toggle)
golang-github-traefik-yaegi 0.16.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 24,608 kB
  • sloc: sh: 457; makefile: 39
file content (56 lines) | stat: -rw-r--r-- 2,661 bytes parent folder | download
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
56
// Code generated by 'yaegi extract html/template'. DO NOT EDIT.

//go:build go1.21 && !go1.22
// +build go1.21,!go1.22

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),
		"ErrJSTemplate":        reflect.ValueOf(template.ErrJSTemplate),
		"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)),
	}
}