Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tokenclass (0.12 sec)

  1. src/go/scanner/scanner_test.go

    			e = tokens[index]
    			index++
    		}
    		if tok != e.tok {
    			t.Errorf("bad token for %q: got %s, expected %s", lit, tok, e.tok)
    		}
    
    		// check token class
    		if tokenclass(tok) != e.class {
    			t.Errorf("bad class for %q: got %d, expected %d", lit, tokenclass(tok), e.class)
    		}
    
    		// check literal
    		elit := ""
    		switch e.tok {
    		case token.COMMENT:
    			// no CRs in comments
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt

                index != fnParams.lastIndex || configureLambdas.getTypeConfiguredByLambda(returnTypeClassifier) == null
            }.map { dataParameter(function, it, function.returnType.toKClass(), semanticsFromSignature, preIndex) }
    
            return DefaultDataTopLevelFunction(
                function.javaMethod!!.declaringClass.`package`.name,
                function.name,
                params,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top