Scanner.getNextToken
glib.types.TokenType getNextToken()Parses the next token just like [glib.scanner.Scanner.peekNextToken] and also removes it from the input stream. The token data is placed in the token, value, line, and position fields of the #GScanner structure.
Returns
the type of the token