Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for parenthesized (0.27 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/LightTreeUtil.kt

    import org.jetbrains.kotlin.KtNodeTypes.FUNCTION_LITERAL
    import org.jetbrains.kotlin.KtNodeTypes.LAMBDA_ARGUMENT
    import org.jetbrains.kotlin.KtNodeTypes.LAMBDA_EXPRESSION
    import org.jetbrains.kotlin.KtNodeTypes.PARENTHESIZED
    import org.jetbrains.kotlin.KtNodeTypes.SCRIPT
    import org.jetbrains.kotlin.com.intellij.lang.LighterASTNode
    import org.jetbrains.kotlin.com.intellij.lang.impl.PsiBuilderImpl
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/regexp/syntax/simplify_test.go

    	// The empty string must be preserved inside parens in order
    	// to make submatches work right, so these tests are less
    	// interesting than they might otherwise be. String inserts
    	// explicit (?:) in place of non-parenthesized empty strings,
    	// to make them easier to spot for other parsers.
    	{`(a|b|c|)`, `([a-c]|(?:))`},
    	{`(a|b|)`, `([ab]|(?:))`},
    	{`(|)`, `()`},
    	{`a()`, `a()`},
    	{`(()|())`, `(()|())`},
    	{`(a|)`, `(a|(?:))`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:02:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. src/strconv/atoc.go

    // component. If the second N is unsigned, a + sign is required between the two components
    // as indicated by the ±. If the second N is NaN, only a + sign is accepted.
    // The form may be parenthesized and cannot contain any spaces.
    // The resulting complex number consists of the two components converted by ParseFloat.
    //
    // The errors that ParseComplex returns have concrete type [*NumError]
    // and include err.Num = s.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/return.go

    		*syntax.AssignStmt, *syntax.CallStmt:
    		// no chance
    
    	case *syntax.LabeledStmt:
    		return check.isTerminating(s.Stmt, s.Label.Value)
    
    	case *syntax.ExprStmt:
    		// calling the predeclared (possibly parenthesized) panic() function is terminating
    		if call, ok := syntax.Unparen(s.X).(*syntax.CallExpr); ok && check.isPanic[call] {
    			return true
    		}
    
    	case *syntax.ReturnStmt:
    		return true
    
    	case *syntax.BranchStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/go/types/return.go

    		*ast.RangeStmt:
    		// no chance
    
    	case *ast.LabeledStmt:
    		return check.isTerminating(s.Stmt, s.Label.Name)
    
    	case *ast.ExprStmt:
    		// calling the predeclared (possibly parenthesized) panic() function is terminating
    		if call, ok := ast.Unparen(s.X).(*ast.CallExpr); ok && check.isPanic[call] {
    			return true
    		}
    
    	case *ast.ReturnStmt:
    		return true
    
    	case *ast.BranchStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/debug_lines_test.go

    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"reflect"
    	"regexp"
    	"runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    )
    
    // Matches lines in genssa output that are marked "isstmt", and the parenthesized plus-prefixed line number is a submatch
    var asmLine *regexp.Regexp = regexp.MustCompile(`^\s[vb]\d+\s+\d+\s\(\+(\d+)\)`)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:24:52 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSmartcastProvider.kt

    ) : KaSmartCastProvider(), KaFirSessionComponent {
    
        private val KtExpression.isExplicitSmartCastInfoTarget: Boolean
            get() {
                // we want to handle only most top-level parenthesised expressions
                if (parent is KtParenthesizedExpression) return false
    
                // expressions like `|foo.bar()|` or `|foo?.baz()|` are ignored
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top