Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 42 of 42 for BlockStmt (0.16 sec)

  1. src/go/types/api_test.go

    		for node, scope := range info.Scopes {
    			kind := "<unknown node kind>"
    			switch node.(type) {
    			case *ast.File:
    				kind = "file"
    			case *ast.FuncType:
    				kind = "func"
    			case *ast.BlockStmt:
    				kind = "block"
    			case *ast.IfStmt:
    				kind = "if"
    			case *ast.SwitchStmt:
    				kind = "switch"
    			case *ast.TypeSwitchStmt:
    				kind = "type switch"
    			case *ast.CaseClause:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    	// then this code is dead. Stop here.
    	if s.curBlock == nil && n.Op() != ir.OLABEL {
    		return
    	}
    
    	s.stmtList(n.Init())
    	switch n.Op() {
    
    	case ir.OBLOCK:
    		n := n.(*ir.BlockStmt)
    		s.stmtList(n.List)
    
    	case ir.OFALL: // no-op
    
    	// Expression statements
    	case ir.OCALLFUNC:
    		n := n.(*ir.CallExpr)
    		if ir.IsIntrinsicCall(n) {
    			s.intrinsicCall(n)
    			return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top