unexpected-eof? ( object -- ? )


Vocabulary
lexer

Inputs and outputs
objectan object
?a boolean


Word description
Tests if the object is an instance of the unexpected-eof class.

Definition
USING: accessors kernel ;

IN: lexer

: unexpected-eof? ( object -- ? )
dup unexpected? [ got>> not ] [ drop f ] if ;