Lines Matching +defs:state +defs:mark

21 type state struct {  struct
22 tmpl *Template
23 wr io.Writer
24 node parse.Node // current node, for errors
25 vars []variable // push-down stack of variable values.
35 func (s *state) push(name string, value reflect.Value) {
40 func (s *state) mark() int { func
45 func (s *state) pop(mark int) {
50 func (s *state) setVar(n int, value reflect.Value) {
55 func (s *state) varValue(name string) reflect.Value {
68 func (s *state) at(node parse.Node) {
82 func (s *state) errorf(format string, args ...interface{}) {
174 func (s *state) walk(dot reflect.Value, node parse.Node) {
207 …With(typ parse.NodeType, dot reflect.Value, pipe *parse.PipeNode, list, elseList *parse.ListNode) {
255 func (s *state) walkRange(dot reflect.Value, r *parse.RangeNode) {
316 func (s *state) walkTemplate(dot reflect.Value, t *parse.TemplateNode) {
339 func (s *state) evalPipeline(dot reflect.Value, pipe *parse.PipeNode) (value reflect.Value) {
357 func (s *state) notAFunction(args []parse.Node, final reflect.Value) {
363 …*state) evalCommand(dot reflect.Value, cmd *parse.CommandNode, final reflect.Value) reflect.Value {
401 func (s *state) idealConstant(constant *parse.NumberNode) reflect.Value {
427 …(dot reflect.Value, field *parse.FieldNode, args []parse.Node, final reflect.Value) reflect.Value {
432 …(dot reflect.Value, chain *parse.ChainNode, args []parse.Node, final reflect.Value) reflect.Value {
445 …eflect.Value, variable *parse.VariableNode, args []parse.Node, final reflect.Value) reflect.Value {
459 …ect.Value, node parse.Node, ident []string, args []parse.Node, final reflect.Value) reflect.Value {
468 …node *parse.IdentifierNode, cmd parse.Node, args []parse.Node, final reflect.Value) reflect.Value {
481 …ieldName string, node parse.Node, args []parse.Node, final, receiver reflect.Value) reflect.Value {
550 …eflect.Value, node parse.Node, name string, args []parse.Node, final reflect.Value) reflect.Value {
621 func (s *state) validateType(value reflect.Value, typ reflect.Type) reflect.Value {
656 func (s *state) evalArg(dot reflect.Value, typ reflect.Type, n parse.Node) reflect.Value {
699 func (s *state) evalBool(typ reflect.Type, n parse.Node) reflect.Value {
710 func (s *state) evalString(typ reflect.Type, n parse.Node) reflect.Value {
721 func (s *state) evalInteger(typ reflect.Type, n parse.Node) reflect.Value {
732 func (s *state) evalUnsignedInteger(typ reflect.Type, n parse.Node) reflect.Value {
743 func (s *state) evalFloat(typ reflect.Type, n parse.Node) reflect.Value {
754 func (s *state) evalComplex(typ reflect.Type, n parse.Node) reflect.Value {
764 func (s *state) evalEmptyInterface(dot reflect.Value, n parse.Node) reflect.Value {
808 func (s *state) printValue(n parse.Node, v reflect.Value) {