Scanner.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.

class Scanner
getNextToken
()

Return Value

Type: glib.types.TokenType

the type of the token