Examples using... scanner.Scanner.Scan()

Recent
Scan scans the next token and returns the token position, the token, and its literal string if applicable. The source end is indicated by token.EOF.