Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newDelve (0.17 sec)

  1. src/cmd/compile/internal/ssa/debug_test.go

    	runGo(t, "", runGoArgs...)
    
    	nextlog := testbase + ".nexts"
    	tmplog := tmpbase + ".nexts"
    	var dbg dbgr
    	if *useGdb {
    		dbg = newGdb(t, tag, exe)
    	} else {
    		dbg = newDelve(t, tag, exe)
    	}
    	h1 := runDbgr(dbg, count)
    	if *dryrun {
    		fmt.Printf("# Tag for above is %s\n", dbg.tag())
    		return
    	}
    	if *update {
    		h1.write(nextlog)
    	} else {
    		h0 := &nextHist{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  2. src/text/template/parse/parse.go

    	// treated as "{{else}}{{if ..." and "{{else}}{{with ...".
    	// So return the else node here.
    	if peek.typ == itemIf || peek.typ == itemWith {
    		return t.newElse(peek.pos, peek.line)
    	}
    	token := t.expect(itemRightDelim, "else")
    	return t.newElse(token.pos, token.line)
    }
    
    // Block:
    //
    //	{{block stringValue pipeline}}
    //
    // Block keyword is past.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. src/text/template/parse/node.go

    type elseNode struct {
    	NodeType
    	Pos
    	tr   *Tree
    	Line int // The line number in the input. Deprecated: Kept for compatibility.
    }
    
    func (t *Tree) newElse(pos Pos, line int) *elseNode {
    	return &elseNode{tr: t, NodeType: nodeElse, Pos: pos, Line: line}
    }
    
    func (e *elseNode) Type() NodeType {
    	return nodeElse
    }
    
    func (e *elseNode) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top