Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ast (0.2 sec)

  1. src/cmd/cgo/ast_go1.go

    package main
    
    import (
    	"go/ast"
    	"go/token"
    )
    
    func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) {
    	error_(token.NoPos, "unexpected type %T in walk", x)
    	panic("unexpected type")
    }
    
    func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList {
    	return nil
    }
    
    func typeSpecTypeParams(n *ast.TypeSpec) *ast.FieldList {
    	return nil
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 30 21:45:10 GMT 2022
    - 578 bytes
    - Viewed (0)
  2. src/cmd/cgo/ast_go118.go

    }
    
    func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList {
    	return n.TypeParams
    }
    
    func typeSpecTypeParams(n *ast.TypeSpec) *ast.FieldList {
    	return n.TypeParams
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 30 21:45:10 GMT 2022
    - 730 bytes
    - Viewed (0)
  3. src/cmd/cgo/godefs.go

    	// except in the definition (handled at end of function).
    	refName := make(map[*ast.Expr]*Name)
    	for _, r := range f.Ref {
    		refName[r.Expr] = r.Name
    	}
    	for _, d := range f.AST.Decls {
    		d, ok := d.(*ast.GenDecl)
    		if !ok || d.Tok != token.TYPE {
    			continue
    		}
    		for _, s := range d.Specs {
    			s := s.(*ast.TypeSpec)
    			n := refName[&s.Type]
    			if n != nil && n.Mangle != "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  4. utils/tests/utils.go

    package tests
    
    import (
    	"database/sql/driver"
    	"fmt"
    	"go/ast"
    	"reflect"
    	"testing"
    	"time"
    
    	"gorm.io/gorm/utils"
    )
    
    func AssertObjEqual(t *testing.T, r, e interface{}, names ...string) {
    	for _, name := range names {
    		rv := reflect.Indirect(reflect.ValueOf(r))
    		ev := reflect.Indirect(reflect.ValueOf(e))
    		if rv.IsValid() != ev.IsValid() {
    			t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), r, e)
    			return
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Mar 10 09:21:56 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    import com.github.javaparser.ast.body.AnnotationDeclaration
    import com.github.javaparser.ast.body.AnnotationMemberDeclaration
    import com.github.javaparser.ast.body.BodyDeclaration
    import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration
    import com.github.javaparser.ast.body.ConstructorDeclaration
    import com.github.javaparser.ast.body.EnumConstantDeclaration
    import com.github.javaparser.ast.body.EnumDeclaration
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  6. api/go1.22.txt

    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
    pkg go/types, func NewAlias(*TypeName, Type) *Alias #63223
    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)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.sources
    
    import com.github.javaparser.JavaParser
    import com.github.javaparser.ast.CompilationUnit
    import com.github.javaparser.ast.visitor.GenericVisitor
    import org.gradle.util.internal.TextUtil.normaliseFileSeparators
    import org.jetbrains.kotlin.psi.KtFile
    import gradlebuild.basics.util.KotlinSourceParser
    import java.io.File
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Feb 20 16:37:41 GMT 2023
    - 4K bytes
    - Viewed (0)
  8. clause/expression.go

    package clause
    
    import (
    	"database/sql"
    	"database/sql/driver"
    	"go/ast"
    	"reflect"
    )
    
    // Expression expression interface
    type Expression interface {
    	Build(builder Builder)
    }
    
    // NegationExpressionBuilder negation expression builder
    type NegationExpressionBuilder interface {
    	NegationBuild(builder Builder)
    }
    
    // Expr raw expression
    type Expr struct {
    	SQL                string
    	Vars               []interface{}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Oct 10 06:45:48 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  9. internal/s3select/sql/aggregation.go

    	default:
    		// TODO: traverse arguments and call aggregateRow on
    		// them if they could be an ancestor of an
    		// aggregation.
    	}
    	return nil
    }
    
    // getAggregate() implementation for each AST node follows. This is
    // called after calling aggregateRow() on each input row, to calculate
    // the final aggregate result.
    
    func (e *FuncExpr) getAggregate() (*Value, error) {
    	switch e.getFunctionName() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
Back to top