Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
unexpected-eof? ( object -- ? )
Vocabulary
lexer
Inputs and outputs
object
an
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
;