Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Unparen (0.2 sec)

  1. src/cmd/cgo/ast.go

    		}
    	case []ast.Spec:
    		for _, s := range n {
    			f.walk(s, context, visit)
    		}
    	}
    }
    
    // If x is of the form (T), unparen returns unparen(T), otherwise it returns x.
    func unparen(x ast.Expr) ast.Expr {
    	if p, isParen := x.(*ast.ParenExpr); isParen {
    		x = unparen(p.X)
    	}
    	return x
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. api/go1.22.txt

    pkg encoding/hex, func AppendDecode([]uint8, []uint8) ([]uint8, error) #53693
    pkg encoding/hex, func AppendEncode([]uint8, []uint8) []uint8 #53693
    pkg go/ast, func NewPackage //deprecated #52463
    pkg go/ast, func Unparen(Expr) Expr #60061
    pkg go/ast, type Importer //deprecated #52463
    pkg go/ast, type Object //deprecated #52463
    pkg go/ast, type Package //deprecated #52463
    pkg go/ast, type Scope //deprecated #52463
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/expr_test.go

    	{"3>>(1<<63)", "negative right shift count"},
    	{"(1<<63)>>2", "right shift of value with high bit set"},
    	{"(1<<62)>>2", ""},
    	{`'\x80'`, "illegal UTF-8 encoding for character constant"},
    	{"(23*4", "missing closing paren"},
    	{")23*4", "unexpected ) evaluating expression"},
    	{"18446744073709551616", "value out of range"},
    }
    
    func TestBadExpr(t *testing.T) {
    	for i, test := range badExprTests {
    		err := runBadTest(i, test, t)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    					break
    				}
    			}
    
    			return
    		}
    
    		call, ok := (*px).(*ast.CallExpr)
    		if !ok {
    			return
    		}
    
    		for _, c := range f.Calls {
    			if !c.Done && c.Call.Lparen == call.Lparen {
    				cstr, nu := p.rewriteCall(f, c)
    				if cstr != "" {
    					// Smuggle the rewritten call through an ident.
    					*px = ast.NewIdent(cstr)
    					if nu {
    						needsUnsafe = true
    					}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    			p.expectOperandEnd()
    			return
    		}
    		// fmt.Printf("offset %d \n", a.Offset)
    	}
    
    	// Register indirection: (reg) or (index*scale). We are on the opening paren.
    	p.registerIndirect(a, prefix)
    	// fmt.Printf("DONE %s\n", p.arch.Dconv(&emptyProg, 0, a))
    
    	p.expectOperandEnd()
    	return
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top