func (p *Parser) expect(expectedToken lex.ScanToken, expectedMessage string) {
	if p.peek() != expectedToken {
		p.errorf("expected %s, found %s", expectedMessage, p.next())
	}
}
// expect verifies that the next item has the expected type. It does not consume it.
expect verifies that the next item has the expected type. It does not consume it.
// expect verifies that the next item has the expected type . It does not consume it .
func (p *Parser) expect(expectedToken lex.ScanToken, expectedMessage string) {
	if p.peek() != expectedToken {
		p.errorf("expected %s, found %s", expectedMessage, p.next())
	}
}
func ( p * Parser ) expect ( expectedToken lex . ScanToken , expectedMessage string ) { if p . peek ( ) != expectedToken { p . errorf ( " " , expectedMessage , p . next ( ) ) } }
expect verifies that the next item has the expected type.
expect verifies that the next item has the expected type .