Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StartCol (0.11 sec)

  1. src/go/printer/nodes.go

    		p.print(x)
    
    	case *ast.FuncLit:
    		p.setPos(x.Type.Pos())
    		p.print(token.FUNC)
    		// See the comment in funcDecl about how the header size is computed.
    		startCol := p.out.Column - len("func")
    		p.signature(x.Type)
    		p.funcBody(p.distanceFrom(x.Type.Pos(), startCol), blank, x.Body)
    
    	case *ast.ParenExpr:
    		if _, hasParens := x.X.(*ast.ParenExpr); hasParens {
    			// don't print parentheses around an already parenthesized expression
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
Back to top