Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for printSwitchBody (0.14 sec)

  1. src/cmd/compile/internal/syntax/printer.go

    		}
    
    	case *SwitchStmt:
    		p.print(_Switch, blank)
    		if n.Init != nil {
    			p.print(n.Init, _Semi, blank)
    		}
    		if n.Tag != nil {
    			p.print(n.Tag, blank)
    		}
    		p.printSwitchBody(n.Body)
    
    	case *SelectStmt:
    		p.print(_Select, blank) // for now
    		p.printSelectBody(n.Body)
    
    	case *RangeClause:
    		if n.Lhs != nil {
    			tok := _Assign
    			if n.Def {
    				tok = _Define
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
Back to top