Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 141 for IsStmt (0.12 sec)

  1. internal/s3select/sql/statement.go

    	err = validateTableName(selectAST.From)
    	if err != nil {
    		return
    	}
    
    	// Analyze main select expression
    	stmt.selectQProp = selectAST.Expression.analyze(&selectAST)
    	err = stmt.selectQProp.err
    	if err != nil {
    		err = errQueryAnalysisFailure(err)
    	}
    
    	// Set table alias
    	stmt.tableAlias = selectAST.From.As
    	// Remove quotes from column aliases
    	if selectAST.Expression != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 09 17:19:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/rangefunc/rewrite.go

    func (r *rewriter) declVar(name string, typ types2.Type, init syntax.Expr) *types2.Var {
    	if r.declStmt == nil {
    		r.declStmt = &syntax.DeclStmt{}
    	}
    	stmt := r.declStmt
    	obj, n := r.makeVarName(stmt.Pos(), name, typ)
    	stmt.DeclList = append(stmt.DeclList, &syntax.VarDecl{
    		NameList: []*syntax.Name{n},
    		// Note: Type is ignored
    		Values: init,
    	})
    	return obj
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/modfile/print.go

    		p.newline()
    	}
    
    	for i, stmt := range f.Stmt {
    		switch x := stmt.(type) {
    		case *CommentBlock:
    			// comments already handled
    			p.expr(x)
    
    		default:
    			p.expr(x)
    			p.newline()
    		}
    
    		for _, com := range stmt.Comment().After {
    			p.printf("%s", strings.TrimSpace(com.Token))
    			p.newline()
    		}
    
    		if i+1 < len(f.Stmt) {
    			p.newline()
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 00:48:59 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. callbacks/query.go

    				}
    			}
    
    			if queryFields {
    				stmt := gorm.Statement{DB: db}
    				// smaller struct
    				if err := stmt.Parse(db.Statement.Dest); err == nil && (db.QueryFields || stmt.Schema.ModelType != db.Statement.Schema.ModelType) {
    					clauseSelect.Columns = make([]clause.Column, len(stmt.Schema.DBNames))
    
    					for idx, dbName := range stmt.Schema.DBNames {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:51:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/order.go

    	}
    	ir.SetPos(fn) // Set reasonable position for instrumenting code. See issue 53688.
    	orderBlock(&fn.Body, map[string][]*ir.Name{})
    }
    
    // append typechecks stmt and appends it to out.
    func (o *orderState) append(stmt ir.Node) {
    	o.out = append(o.out, typecheck.Stmt(stmt))
    }
    
    // newTemp allocates a new temporary with the given type,
    // pushes it onto the temp stack, and returns it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/select.go

    			call := mkcall1(fn, fn.Type().ResultsTuple(), r.PtrInit(), elem, ch)
    			as := ir.NewAssignListStmt(r.Pos(), ir.OAS2, []ir.Node{cond, n.Lhs[1]}, []ir.Node{call})
    			r.PtrInit().Append(typecheck.Stmt(as))
    		}
    
    		r.Cond = typecheck.Expr(cond)
    		r.Body = cas.Body
    		r.Else = append(dflt.Init(), dflt.Body...)
    		return []ir.Node{r, ir.NewBranchStmt(base.Pos, ir.OBREAK, nil)}
    	}
    
    	if dflt != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  7. src/go/ast/ast.go

    		Lbrace token.Pos // position of "{"
    		List   []Stmt
    		Rbrace token.Pos // position of "}", if any (may be absent due to syntax error)
    	}
    
    	// An IfStmt node represents an if statement.
    	IfStmt struct {
    		If   token.Pos // position of "if" keyword
    		Init Stmt      // initialization statement; or nil
    		Cond Expr      // condition
    		Body *BlockStmt
    		Else Stmt // else branch; or nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RulesVisitor.java

    import org.codehaus.groovy.ast.expr.PropertyExpression;
    import org.codehaus.groovy.ast.expr.VariableExpression;
    import org.codehaus.groovy.ast.stmt.BlockStatement;
    import org.codehaus.groovy.ast.stmt.EmptyStatement;
    import org.codehaus.groovy.ast.stmt.ExpressionStatement;
    import org.codehaus.groovy.ast.stmt.Statement;
    import org.codehaus.groovy.control.SourceUnit;
    import org.gradle.groovy.scripts.internal.AstUtils;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/plugin/use/internal/PluginUseScriptBlockMetadataCompiler.java

    import org.codehaus.groovy.ast.expr.PropertyExpression;
    import org.codehaus.groovy.ast.expr.VariableExpression;
    import org.codehaus.groovy.ast.stmt.BlockStatement;
    import org.codehaus.groovy.ast.stmt.ExpressionStatement;
    import org.codehaus.groovy.ast.stmt.Statement;
    import org.codehaus.groovy.control.SourceUnit;
    import org.gradle.api.internal.DocumentationRegistry;
    import org.gradle.groovy.scripts.internal.Permits;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 28 01:30:32 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. src/database/sql/driver/driver.go

    	// RowsAffected returns the number of rows affected by the
    	// query.
    	RowsAffected() (int64, error)
    }
    
    // Stmt is a prepared statement. It is bound to a [Conn] and not
    // used by multiple goroutines concurrently.
    type Stmt interface {
    	// Close closes the statement.
    	//
    	// As of Go 1.1, a Stmt will not be closed if it's in use
    	// by any queries.
    	//
    	// Drivers must ensure all network calls made by Close
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 09:04:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
Back to top