- Sort Score
- Result 10 results
- Languages All
Results 51 - 58 of 58 for IsStmt (0.23 sec)
-
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/InitialPassStatementTransformer.java
*/ package org.gradle.groovy.scripts.internal; import org.codehaus.groovy.ast.expr.ArgumentListExpression; import org.codehaus.groovy.ast.expr.ConstantExpression; import org.codehaus.groovy.ast.stmt.Statement; import org.codehaus.groovy.control.SourceUnit; import org.codehaus.groovy.syntax.SyntaxException; import org.gradle.api.internal.DocumentationRegistry; import org.gradle.configuration.ScriptTarget;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 19 11:25:50 UTC 2023 - 6.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/httpresponse/httpresponse.go
// block and returns the suffix of its statements starting with the current // node, along with the number of call expressions encountered. func restOfBlock(stack []ast.Node) ([]ast.Stmt, int) { var ncalls int for i := len(stack) - 1; i >= 0; i-- { if b, ok := stack[i].(*ast.BlockStmt); ok { for j, v := range b.List { if v == stack[i+1] { return b.List[j:], ncalls } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 5K bytes - Viewed (0) -
src/go/ast/example_test.go
// 21 . . . . . Closing: 3:11 // 22 . . . . } // 23 . . . } // 24 . . . Body: *ast.BlockStmt { // 25 . . . . Lbrace: 3:13 // 26 . . . . List: []ast.Stmt (len = 1) { // 27 . . . . . 0: *ast.ExprStmt { // 28 . . . . . . X: *ast.CallExpr { // 29 . . . . . . . Fun: *ast.Ident { // 30 . . . . . . . . NamePos: 4:2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:44:50 UTC 2024 - 6.1K bytes - Viewed (0) -
src/cmd/compile/internal/coverage/cover.go
callx := typecheck.Call(pos, fn, []ir.Node{mdauspx, lenx, hashx, pkPathNode, pkIdNode, cmodeNode, cgranNode}, false) assign := callx if pkid == coverage.NotHardCoded { assign = typecheck.Stmt(ir.NewAssignStmt(pos, cnames.PkgIdVar, callx)) } // Tack the call onto the start of our init function. We do this // early in the init since it's possible that instrumented function
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:46 UTC 2024 - 6K bytes - Viewed (0) -
src/cmd/compile/internal/walk/closure.go
n.X = cheapExpr(n.X, init) n.X = walkExpr(n.X, nil) tab := ir.NewUnaryExpr(base.Pos, ir.OITAB, n.X) check := ir.NewUnaryExpr(base.Pos, ir.OCHECKNIL, tab) init.Append(typecheck.Stmt(check)) } typ := typecheck.MethodValueType(n) clos := ir.NewCompLitExpr(base.Pos, ir.OCOMPLIT, typ, nil) clos.SetEsc(n.Esc())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:56:08 UTC 2023 - 6.5K bytes - Viewed (0) -
src/go/ast/walk.go
// Statements case *BadStmt: // nothing to do case *DeclStmt: Walk(v, n.Decl) case *EmptyStmt: // nothing to do case *LabeledStmt: Walk(v, n.Label) Walk(v, n.Stmt) case *ExprStmt: Walk(v, n.X) case *SendStmt: Walk(v, n.Chan) Walk(v, n.Value) case *IncDecStmt: Walk(v, n.X) case *AssignStmt: walkList(v, n.Lhs)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:34:10 UTC 2024 - 6.4K bytes - Viewed (0) -
src/database/sql/driver/types.go
// It exists for compatibility. func IsScanValue(v any) bool { return IsValue(v) } // DefaultParameterConverter is the default implementation of // [ValueConverter] that's used when a [Stmt] doesn't implement // [ColumnConverter]. // // DefaultParameterConverter returns its argument directly if // IsValue(arg). Otherwise, if the argument implements [Valuer], its
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 16:30:20 UTC 2024 - 8.8K bytes - Viewed (0) -
src/go/ast/commentmap.go
r.next() } // update previous node p = q pend = fset.Position(p.End()) // update previous node group if we see an "important" node switch q.(type) { case *File, *Field, Decl, Spec, Stmt: stack.push(q) } } return cmap } // Update replaces an old node in the comment map with the new node // and returns the new node. Comments that were associated with the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.9K bytes - Viewed (0)