Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ParenExpr (0.12 sec)

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

    	case *ArrayType, *StructType, *FuncType, *InterfaceType, *SliceType, *MapType, *ChanType:
    		return true
    	case *Operation:
    		return isTypeElem(x.X) || (x.Y != nil && isTypeElem(x.Y)) || x.Op == Tilde
    	case *ParenExpr:
    		return isTypeElem(x.X)
    	}
    	return false
    }
    
    // VarSpec = IdentifierList ( Type [ "=" ExpressionList ] | "=" ExpressionList ) .
    func (p *parser) varDecl(group *Group) Decl {
    	if trace {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  2. src/go/types/expr.go

    	case *ast.Ident, *ast.BasicLit, *ast.SelectorExpr:
    		// An identifier denoting a constant, a constant literal,
    		// or a qualified identifier (imported untyped constant).
    		// No operands to take care of.
    
    	case *ast.ParenExpr:
    		check.updateExprType0(x, x.X, typ, final)
    
    	case *ast.UnaryExpr:
    		// If x is a constant, the operands were constants.
    		// The operands don't need to be updated since they
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/expr.go

    		// An identifier denoting a constant, a constant literal,
    		// or a qualified identifier (imported untyped constant).
    		// No operands to take care of.
    
    	case *syntax.ParenExpr:
    		check.updateExprType0(x, x.X, typ, final)
    
    	// case *syntax.UnaryExpr:
    	// 	// If x is a constant, the operands were constants.
    	// 	// The operands don't need to be updated since they
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    			"rune", "string",
    			"uint", "uint8", "uint16", "uint32", "uint64", "uintptr":
    
    			return true
    		}
    		if strings.HasPrefix(t.Name, "_Ctype_") {
    			return true
    		}
    	case *ast.ParenExpr:
    		return p.isType(t.X)
    	case *ast.StarExpr:
    		return p.isType(t.X)
    	case *ast.ArrayType, *ast.StructType, *ast.FuncType, *ast.InterfaceType,
    		*ast.MapType, *ast.ChanType:
    
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top