Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
manifest
Factor documentation
>
Factor handbook
>
The language
>
Parsing words
>
Reflection support for vocabulary search path
Next:
use-vocab ( vocab -- )
Vocabulary
vocabs.parser
Variable description
The current manifest. Only set at parse time.
Class description
Encapsulates the current vocabulary, as well as the vocabulary search path.
Definition
USING:
hash-sets
vectors
;
IN:
vocabs.parser
TUPLE:
manifest
current-vocab
{
search-vocab-names
hash-set
initial:
HS{
}
}
{
search-vocabs
vector
initial:
V{
}
}
{
qualified-vocabs
vector
initial:
V{
}
}
{
auto-used
vector
initial:
V{
}
}
;
Methods
USING:
accessors
generic
kernel
vocabs.parser
;
M:
manifest
clone
M\
manifest
clone
(call-next-method)
[
clone
]
change-search-vocab-names
[
clone
]
change-search-vocabs
[
clone
]
change-qualified-vocabs
[
clone
]
change-auto-used
;
USING:
compiler.units
kernel
vocabs.parser
vocabs.parser.private
;
M:
manifest
definitions-changed
nip
update-manifest
;