- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 104 for Semicolons (0.25 sec)
-
src/go/parser/interface.go
} } p.errors.Sort() err = p.errors.Err() }() // parse expr p.init(fset, filename, text, mode) expr = p.parseRhs() // If a semicolon was inserted, consume it; // report an error if there's more tokens. if p.tok == token.SEMICOLON && p.lit == "\n" { p.next() } p.expect(token.EOF) return } // ParseExpr is a convenience function for obtaining the AST of an expression x.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.5K bytes - Viewed (0) -
src/mime/mediatype_test.go
{`attachment; filename="\"quoting\" tested.html"`, "attachment", m("filename", `"quoting" tested.html`)}, // #attwithquotedsemicolon {`attachment; filename="Here's a semicolon;.html"`, "attachment", m("filename", "Here's a semicolon;.html")}, // #attwithfilenameandextparam {`attachment; foo="bar"; filename="foo.html"`, "attachment", m("foo", "bar", "filename", "foo.html")},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 26 17:58:37 UTC 2022 - 18.1K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
for { pos, tok, lit := scan.Scan() if tok == token.EOF { break } if tok == token.SEMICOLON && lit != ";" { // Artificial semicolon: // assert that position is EOF or that of a newline. off := file.Offset(pos) if off != len(input) && input[off] != '\n' { t.Errorf("scanning <<%s>>, got SEMICOLON at offset %d, want newline or EOF", input, off) } } lit = tok.String() // "\n" => ";"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
build-logic/performance-testing/src/main/groovy/gradlebuild/performance/tasks/PerformanceTest.groovy
} @Option(option = "scenarios", description = "A semicolon-separated list of performance test scenario ids to run.") void setScenarios(String scenarios) { this.scenarios = scenarios } @Optional @Input @Option(option = "baselines", description = "A comma or semicolon separated list of Gradle versions to be used as baselines for comparing.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Dec 03 03:46:18 UTC 2022 - 12.7K bytes - Viewed (0) -
src/cmd/asm/internal/lex/tokenizer.go
line int file *os.File // If non-nil, file descriptor to close. } func NewTokenizer(name string, r io.Reader, file *os.File) *Tokenizer { var s scanner.Scanner s.Init(r) // Newline is like a semicolon; other space characters are fine. s.Whitespace = 1<<'\t' | 1<<'\r' | 1<<' ' // Don't skip comments: we need to count newlines. s.Mode = scanner.ScanChars | scanner.ScanFloats | scanner.ScanIdents |
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 04 20:35:21 UTC 2022 - 3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-provider-plugins/src/test/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/PrecompiledScriptPluginTest.kt
"unused", "nothing_to_inline" ) ] /* /* one more weird comment here */ */ package org.acme; // semicolon intentionally added to make sure it doesn't mess with processing """ ).id, equalTo("org.acme.my-script") ) } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PluginsBlockInterpreterTest.kt
""", PluginRequestSpec("plugin-id-1"), PluginRequestSpec("plugin-id-2"), ) } @Test fun `multiple plugins - id() separated by semicolon`() { assertStaticInterpretationOf( """ id("plugin-id-1") ; id("plugin-id-2") ; """, PluginRequestSpec("plugin-id-1"),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 15:15:27 UTC 2024 - 22.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Combinators.kt
import org.jetbrains.kotlin.lexer.KtTokens.RBRACKET import org.jetbrains.kotlin.lexer.KtTokens.REGULAR_STRING_PART import org.jetbrains.kotlin.lexer.KtTokens.RPAR import org.jetbrains.kotlin.lexer.KtTokens.SEMICOLON import org.jetbrains.kotlin.lexer.KtTokens.WHITE_SPACE import kotlin.reflect.KProperty internal typealias Parser<T> = KotlinLexer.() -> ParserResult<T> internal
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 12.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/etcd.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 15:02:16 UTC 2024 - 20K bytes - Viewed (0) -
src/html/template/js_test.go
{jsCtxRegexp, "return\n"}, {jsCtxRegexp, "return\u2028"}, // Identifiers can be divided and cannot validly be preceded by // a regular expressions. Semicolon insertion cannot happen // between an identifier and a regular expression on a new line // because the one token lookahead for semicolon insertion has // to conclude that it could be a div binary op and treat it as // such. {jsCtxDivOp, "x"}, {jsCtxDivOp, "x "},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 02:20:11 UTC 2024 - 12.6K bytes - Viewed (0)