size property

  1. @override
int size
override

Returns the total number of symbols in the stream, including a single EOF symbol.

@throws UnsupportedOperationException if the size of the stream is unknown.

Implementation

@override
int get size {
  return tokens.length;
}