Debian Codegraph @

tools/gen-jscore/templates/name.tmpl

raw
1 {{- if eq . "length" "prototype" "constructor" -}}
2 property{{ucfirst .}}
3 {{- else if eq . "toString" -}}
4 methodToString
5 {{- else if eq . "Object" "Function" "Array" "String" "Boolean" "Number" "Math" "Date" "RegExp"
6 "Error" "EvalError" "TypeError" "RangeError" "ReferenceError" "SyntaxError" "URIError" "JSON" -}}
7 class{{.}}Name
8 {{- else -}}
9 "{{.}}"
10 {{- end -}}