// ScanIgnoreWSAndComment scans the next token, and repeats until it finds neither whitespace (including EOL) nor comment.
// litPos is where the returned literal starts.
ScanIgnoreWSAndComment scans the next token, and repeats until it finds neither whitespace (including EOL) nor comment.
litPos is where the returned literal starts.
// ScanIgnoreWSAndComment scans the next token and repeats until it finds neither whitespace ( including EOL ) nor comment . // litPos is where the returned literal starts .
func (p *Parser) ScanIgnoreWSAndComment() (tok Token, lit string, litPos ParserPosition) {
	tok, lit, litPos = p.Scan()
	for tok == WS || tok == EOL || tok == LINECOMMENT {
		tok, lit, litPos = p.Scan()
	}
	return
}
func ( p * Parser ) ScanIgnoreWSAndComment ( ) ( tok Token , lit string , litPos ParserPosition ) { tok , lit , litPos = p . Scan ( ) for tok == WS || tok == EOL || tok == LINECOMMENT { tok , lit , litPos = p . Scan ( ) } return }
ScanIgnoreWSAndComment scans the next token, and repeats until it finds neither whitespace (including EOL) nor comment.
ScanIgnoreWSAndComment scans the next token and repeats until it finds neither whitespace ( including EOL ) nor comment .