Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for BlockStmt (0.5 sec)

  1. src/cmd/compile/internal/typecheck/typecheck.go

    	case ir.OAS2:
    		tcAssignList(n.(*ir.AssignListStmt))
    		return n
    
    	case ir.OBREAK,
    		ir.OCONTINUE,
    		ir.ODCL,
    		ir.OGOTO,
    		ir.OFALL:
    		return n
    
    	case ir.OBLOCK:
    		n := n.(*ir.BlockStmt)
    		Stmts(n.List)
    		return n
    
    	case ir.OLABEL:
    		if n.Sym().IsBlank() {
    			// Empty identifier is valid but useless.
    			// Eliminate now to simplify life later.
    			// See issues 7538, 11589, 11593.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/order.go

    		default:
    			base.Fatalf("order.stmt: %v", r.Op())
    		}
    
    		o.as2ok(n)
    		o.popTemp(t)
    
    	// Special: does not save n onto out.
    	case ir.OBLOCK:
    		n := n.(*ir.BlockStmt)
    		o.stmtList(n.List)
    
    	// Special: n->left is not an expression; save as is.
    	case ir.OBREAK,
    		ir.OCONTINUE,
    		ir.ODCL,
    		ir.OFALL,
    		ir.OGOTO,
    		ir.OLABEL,
    		ir.OTAILCALL:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/rulegen.go

    			u.node(node.Results)
    		}
    	case *ast.FieldList:
    		for _, field := range node.List {
    			u.node(field)
    		}
    	case *ast.Field:
    		u.node(node.Type)
    
    	// statements
    
    	case *ast.BlockStmt:
    		defer u.scoped()()
    		for _, stmt := range node.List {
    			u.node(stmt)
    		}
    	case *ast.DeclStmt:
    		u.node(node.Decl)
    	case *ast.IfStmt:
    		if node.Init != nil {
    			u.node(node.Init)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"BinaryExpr", Type, 0},
    		{"BinaryExpr.Op", Field, 0},
    		{"BinaryExpr.OpPos", Field, 0},
    		{"BinaryExpr.X", Field, 0},
    		{"BinaryExpr.Y", Field, 0},
    		{"BlockStmt", Type, 0},
    		{"BlockStmt.Lbrace", Field, 0},
    		{"BlockStmt.List", Field, 0},
    		{"BlockStmt.Rbrace", Field, 0},
    		{"BranchStmt", Type, 0},
    		{"BranchStmt.Label", Field, 0},
    		{"BranchStmt.Tok", Field, 0},
    		{"BranchStmt.TokPos", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/api_test.go

    		for node, scope := range info.Scopes {
    			var kind string
    			switch node.(type) {
    			case *syntax.File:
    				kind = "file"
    			case *syntax.FuncType:
    				kind = "func"
    			case *syntax.BlockStmt:
    				kind = "block"
    			case *syntax.IfStmt:
    				kind = "if"
    			case *syntax.SwitchStmt:
    				kind = "switch"
    			case *syntax.SelectStmt:
    				kind = "select"
    			case *syntax.CaseClause:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  6. 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)
  7. api/go1.txt

    pkg go/ast, type BinaryExpr struct, OpPos token.Pos
    pkg go/ast, type BinaryExpr struct, X Expr
    pkg go/ast, type BinaryExpr struct, Y Expr
    pkg go/ast, type BlockStmt struct
    pkg go/ast, type BlockStmt struct, Lbrace token.Pos
    pkg go/ast, type BlockStmt struct, List []Stmt
    pkg go/ast, type BlockStmt struct, Rbrace token.Pos
    pkg go/ast, type BranchStmt struct
    pkg go/ast, type BranchStmt struct, Label *Ident
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  8. 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