// ParseClassExpressionsUntilB2 parses all ClassExpression until ")" is found
// The closing ")" is not consumed.
ParseClassExpressionsUntilB2 parses all ClassExpression until ")" is found
The closing ")" is not consumed.
// ParseClassExpressionsUntilB2 parses all ClassExpression until " ) " is found // The closing " ) " is not consumed .
func ParseClassExpressionsUntilB2(p *parser.Parser, decls store.Decls, prefixes tech.Prefixes) (Cs []meta.ClassExpression, err error) {
	var tok parser.Token
	var C meta.ClassExpression
	for {
		tok, _, _ = p.ScanIgnoreWSAndComment()
		p.Unscan()
		if tok == parser.B2 {
			break
		}
		C, err = ParseClassExpression(p, decls, prefixes)
		if err != nil {
			return
		}
		Cs = append(Cs, C)
	}
	return
}
func ParseClassExpressionsUntilB2 ( p * parser . Parser , decls store . Decls , prefixes tech . Prefixes ) ( Cs [ ] meta . ClassExpression , err error ) { var tok parser . Token var C meta . ClassExpression for { tok , _ , _ = p . ScanIgnoreWSAndComment ( ) p . Unscan ( ) if tok == parser . B2 { break } C , err = ParseClassExpression ( p , decls , prefixes ) if err != nil { return } Cs = append ( Cs , C ) } return }
ParseClassExpressionsUntilB2 parses all ClassExpression until ")" is found
The closing ")" is not consumed.
ParseClassExpressionsUntilB2 parses all ClassExpression until " ) " is found The closing " ) " is not consumed .