class Crass::TokenScanner

def consume

Experimental RBS support (using type sampling data from the type_fusion project).

def consume: () -> Hash?

This signature was generated using 2 samples from 1 application.

`nil` if there is no next token.
Consumes the next token and returns it, advancing the pointer. Returns
def consume
  @current = @tokens[@pos]
  @pos += 1 if @current
  @current
end