- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for typeSetsOK (0.09 sec)
-
src/cmd/compile/internal/syntax/parser.go
if trace { defer p.trace("paramDeclOrNil")() } // type set notation is ok in type parameter lists typeSetsOk := follow == _Rbrack pos := p.pos() if name != nil { pos = name.pos } else if typeSetsOk && p.tok == _Operator && p.op == Tilde { // "~" ... return p.embeddedElem(nil) } f := new(Field) f.pos = pos
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
src/go/parser/parser.go
} func (p *parser) parseParamDecl(name *ast.Ident, typeSetsOK bool) (f field) { // TODO(rFindley) refactor to be more similar to paramDeclOrNil in the syntax // package if p.trace { defer un(trace(p, "ParamDeclOrNil")) } ptok := p.tok if name != nil { p.tok = token.IDENT // force token.IDENT case in switch below } else if typeSetsOK && p.tok == token.TILDE { // "~" ...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0)