Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for LabeledStmt (0.26 sec)

  1. src/cmd/compile/internal/types2/stmt.go

    	inner := ctxt &^ (fallthroughOk | finalSwitchCase | inTypeSwitch)
    
    	switch s := s.(type) {
    	case *syntax.EmptyStmt:
    		// ignore
    
    	case *syntax.DeclStmt:
    		check.declStmt(s.DeclList)
    
    	case *syntax.LabeledStmt:
    		check.hasLabel = true
    		check.stmt(ctxt, s.Stmt)
    
    	case *syntax.ExprStmt:
    		// spec: "With the exception of specific built-in functions,
    		// function and method calls and receive operations can appear
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. src/go/parser/parser.go

    			// Go spec: The scope of a label is the body of the function
    			// in which it is declared and excludes the body of any nested
    			// function.
    			stmt := &ast.LabeledStmt{Label: label, Colon: colon, Stmt: p.parseStmt()}
    			return stmt, false
    		}
    		// The label declaration typically starts at x[0].Pos(), but the label
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"KeyValueExpr", Type, 0},
    		{"KeyValueExpr.Colon", Field, 0},
    		{"KeyValueExpr.Key", Field, 0},
    		{"KeyValueExpr.Value", Field, 0},
    		{"LabeledStmt", Type, 0},
    		{"LabeledStmt.Colon", Field, 0},
    		{"LabeledStmt.Label", Field, 0},
    		{"LabeledStmt.Stmt", Field, 0},
    		{"Lbl", Const, 0},
    		{"MapType", Type, 0},
    		{"MapType.Key", Field, 0},
    		{"MapType.Map", Field, 0},
    		{"MapType.Value", 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)
  4. doc/go1.17_spec.html

    is performed before adding <code>x</code>.
    </p>
    
    <h2 id="Statements">Statements</h2>
    
    <p>
    Statements control execution.
    </p>
    
    <pre class="ebnf">
    Statement =
    	Declaration | LabeledStmt | SimpleStmt |
    	GoStmt | ReturnStmt | BreakStmt | ContinueStmt | GotoStmt |
    	FallthroughStmt | Block | IfStmt | SwitchStmt | SelectStmt | ForStmt |
    	DeferStmt .
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  5. doc/go_spec.html

    is performed before adding <code>x</code>.
    </p>
    
    <h2 id="Statements">Statements</h2>
    
    <p>
    Statements control execution.
    </p>
    
    <pre class="ebnf">
    Statement =
    	Declaration | LabeledStmt | SimpleStmt |
    	GoStmt | ReturnStmt | BreakStmt | ContinueStmt | GotoStmt |
    	FallthroughStmt | Block | IfStmt | SwitchStmt | SelectStmt | ForStmt |
    	DeferStmt .
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  6. api/go1.txt

    pkg go/ast, type KeyValueExpr struct, Key Expr
    pkg go/ast, type KeyValueExpr struct, Value Expr
    pkg go/ast, type LabeledStmt struct
    pkg go/ast, type LabeledStmt struct, Colon token.Pos
    pkg go/ast, type LabeledStmt struct, Label *Ident
    pkg go/ast, type LabeledStmt struct, Stmt Stmt
    pkg go/ast, type MapType struct
    pkg go/ast, type MapType struct, Key Expr
    pkg go/ast, type MapType struct, Map token.Pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top