- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,098 for SYNTAX (0.17 sec)
-
src/cmd/go/internal/imports/read.go
func isIdent(c byte) bool { return 'A' <= c && c <= 'Z' || 'a' <= c && c <= 'z' || '0' <= c && c <= '9' || c == '_' || c >= utf8.RuneSelf } var ( errSyntax = errors.New("syntax error") errNUL = errors.New("unexpected NUL in input") ) // syntaxError records a syntax error, but only if an I/O error has not already been recorded. func (r *importReader) syntaxError() { if r.err == nil { r.err = errSyntax } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 15 18:42:11 UTC 2021 - 6.1K bytes - Viewed (0) -
maven-compat/src/main/resources/META-INF/maven/plugin-expressions/settings.paramdoc.xml
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ../../../../../../../maven-plugin-parameter-documenter/target/generated-site/xsd/paramdoc-1.0.0.xsd "> <expressions> <expression> <syntax>settings.offline</syntax> <configuration> <![CDATA[ <offline>true</offline> ]]></configuration> <description> <![CDATA[
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jul 18 17:22:19 UTC 2022 - 2K bytes - Viewed (0) -
src/regexp/onepass_test.go
func TestCompileOnePass(t *testing.T) { var ( p *syntax.Prog re *syntax.Regexp err error ) for _, test := range onePassTests { if re, err = syntax.Parse(test.re, syntax.Perl); err != nil { t.Errorf("Parse(%q) got err:%s, want success", test.re, err) continue } // needs to be done before compile... re = re.Simplify() if p, err = syntax.Compile(re); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:36:03 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/gnu.go
// license that can be found in the LICENSE file. package arm64asm import ( "strings" ) // GNUSyntax returns the GNU assembler syntax for the instruction, as defined by GNU binutils. // This form typically matches the syntax defined in the ARM Reference Manual. func GNUSyntax(inst Inst) string { switch inst.Op { case RET: if r, ok := inst.Args[0].(Reg); ok && r == X30 { return "ret" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 17:57:48 UTC 2017 - 1K bytes - Viewed (0) -
src/html/template/css.go
if i == -1 { i = len(s) } b, s = append(b, s[:i]...), s[i:] if len(s) < 2 { break } // https://www.w3.org/TR/css3-syntax/#SUBTOK-escape // escape ::= unicode | '\' [#x20-#x7E#x80-#xD7FF#xE000-#xFFFD#x10000-#x10FFFF] if isHex(s[1]) { // https://www.w3.org/TR/css3-syntax/#SUBTOK-unicode // unicode ::= '\' [0-9a-fA-F]{1,6} wc? j := 2 for j < len(s) && j < 7 && isHex(s[j]) { j++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 19:38:18 UTC 2023 - 7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object.go
sameId(pkg *Package, name string, foldCase bool) bool // scopePos returns the start position of the scope of this Object scopePos() syntax.Pos // setScopePos sets the start position of the scope for this Object. setScopePos(pos syntax.Pos) } func isExported(name string) bool { ch, _ := utf8.DecodeRuneInString(name) return unicode.IsUpper(ch) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue51658.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This test checks syntax errors which differ between // go/parser and the syntax package. // TODO: consolidate eventually package p type F { // ERRORx "expected type|type declaration" float64 } // ERRORx "expected declaration|non-declaration statement" func _[T F | int](x T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 1016 bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/syntaxError.txt
(161,162) SYNTAX Syntax error: Unexpected symbol....
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 50 bytes - Viewed (0) -
src/cmd/compile/internal/types/fmt.go
return new(bytes.Buffer) }, } // Format implements formatting for a Type. // The valid formats are: // // %v Go syntax // %+v Debug syntax: Go syntax with a KIND- prefix for all but builtins. // %L Go syntax for underlying type if t is named // %S short Go syntax: drop leading "func" in function type // %-S special case for method receiver symbol func (t *Type) Format(s fmt.State, verb rune) { mode := fmtGo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 15:41:17 UTC 2023 - 15.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/signature.go
// ---------------------------------------------------------------------------- // Implementation // funcType type-checks a function or method type. func (check *Checker) funcType(sig *Signature, recvPar *syntax.Field, tparams []*syntax.Field, ftyp *syntax.FuncType) { check.openScope(ftyp, "function") check.scope.isFunc = true check.recordScope(ftyp, check.scope) sig.scope = check.scope defer check.closeScope() if recvPar != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:33:05 UTC 2024 - 12.6K bytes - Viewed (0)