Home
last modified time | relevance | path

Searched +refs:namespace +refs:visit +refs:available +refs:modules (Results 1 – 25 of 1231) sorted by relevance

12345678910>>...50

/dports/lang/racket/racket-8.3/src/expander/namespace/
H A Dmodule.rkt48 namespace-module-visit!
50 namespace-primitive-module-visit!
51 namespace-visit-available-modules!
52 namespace-run-available-modules!
230 (namespace-module-visit! ns (namespace-mpi m-ns) phase))
411 (define (namespace-module-visit! ns mpi instance-phase #:visit-phase [visit-phase (namespace-phase …
414 (define (namespace-module-make-available! ns mpi instance-phase #:visit-phase [visit-phase (namespa…
524 (define (namespace-visit-available-modules! ns [run-phase (namespace-phase ns)])
525 (namespace-run-available-modules! ns (add1 run-phase)))
527 (define (namespace-run-available-modules! ns [run-phase (namespace-phase ns)])
[all …]
H A Dapi.rkt52 (define ns (namespace->namespace-at-phase (make-namespace)
57 (namespace-primitive-module-visit! ns '#%kernel)
60 (define/who (namespace-syntax-introduce s [ns (current-namespace)])
115 (define (do-namespace-require #:run? [run? #t] #:visit? [visit? #f]
133 #:visit? visit?
143 #:visit? visit?
154 (define/who (namespace-require req [ns (current-namespace)])
158 (do-namespace-require #:run? #f #:visit? #t who req ns))
192 (when b (namespace-visit-available-modules! ns))
250 (namespace-unset-variable! ns (namespace-phase ns) sym))
[all …]
/dports/lang/racket-minimal/racket-8.3/src/expander/namespace/
H A Dmodule.rkt48 namespace-module-visit!
50 namespace-primitive-module-visit!
51 namespace-visit-available-modules!
52 namespace-run-available-modules!
230 (namespace-module-visit! ns (namespace-mpi m-ns) phase))
411 (define (namespace-module-visit! ns mpi instance-phase #:visit-phase [visit-phase (namespace-phase …
414 (define (namespace-module-make-available! ns mpi instance-phase #:visit-phase [visit-phase (namespa…
524 (define (namespace-visit-available-modules! ns [run-phase (namespace-phase ns)])
525 (namespace-run-available-modules! ns (add1 run-phase)))
527 (define (namespace-run-available-modules! ns [run-phase (namespace-phase ns)])
[all …]
H A Dapi.rkt52 (define ns (namespace->namespace-at-phase (make-namespace)
57 (namespace-primitive-module-visit! ns '#%kernel)
60 (define/who (namespace-syntax-introduce s [ns (current-namespace)])
115 (define (do-namespace-require #:run? [run? #t] #:visit? [visit? #f]
133 #:visit? visit?
143 #:visit? visit?
154 (define/who (namespace-require req [ns (current-namespace)])
158 (do-namespace-require #:run? #f #:visit? #t who req ns))
192 (when b (namespace-visit-available-modules! ns))
250 (namespace-unset-variable! ns (namespace-phase ns) sym))
[all …]
/dports/lang/racket-minimal/racket-8.3/src/expander/expand/
H A Dprepare.rkt2 (require "../namespace/namespace.rkt"
3 "../namespace/module.rkt"
6 (provide prepare-next-phase-namespace)
8 (define (prepare-next-phase-namespace ctx)
10 (define ns (namespace->namespace-at-phase (expand-context-namespace ctx)
12 (namespace-visit-available-modules! ns phase))
H A Dbinding-for-transformer.rkt5 "../namespace/namespace.rkt"
6 "../namespace/module.rkt"
7 "../namespace/provided.rkt")
19 (define m (namespace->module ns (module-path-index-resolve
28 (namespace-visit-available-modules! ns (+ at-phase (module-binding-phase b)))
H A Dcontext.rkt11 "../namespace/namespace.rkt"
45 phase ; current expansion phase; must match phase of `namespace`
46 namespace ; namespace for modules and evaluation
75 skip-visit-available?)) ; avoid instantiation cycles
82 #:skip-visit-available? [skip-visit-available? #f])
83 (define root-ctx (namespace-get-root-expand-ctx ns))
96 (namespace-phase ns)
126 skip-visit-available?))
H A Dlocal-expand.rkt8 "../namespace/core.rkt"
9 "../namespace/module.rkt"
10 "../namespace/namespace.rkt"
114 (unless (expand-context-skip-visit-available? ctx)
115 (namespace-visit-available-modules! (expand-context-namespace ctx) phase)))
H A Dmodule.rkt15 "../namespace/namespace.rkt"
201 ;; as an import and visit it
210 (namespace-module-visit! m-ns enclosing-mod
316 … [namespace (namespace->namespace-at-phase m-ns phase)]
718 (namespace-visit-available-modules! m-ns phase)
782 … (namespace-run-available-modules! m-ns (add1 phase)) ; to support running `begin-for-syntax`
784 (namespace-visit-available-modules! m-ns phase) ; since we're shifting back a phase
1000 (log-expand* body-ctx ['visit #f] ['enter-prim #f] ['prim-define-values #f])
1134 … [namespace (namespace->namespace-at-phase m-ns phase)]
1334 ;; with a visit where definitions have prompts
[all …]
/dports/lang/racket/racket-8.3/src/expander/expand/
H A Dprepare.rkt2 (require "../namespace/namespace.rkt"
3 "../namespace/module.rkt"
6 (provide prepare-next-phase-namespace)
8 (define (prepare-next-phase-namespace ctx)
10 (define ns (namespace->namespace-at-phase (expand-context-namespace ctx)
12 (namespace-visit-available-modules! ns phase))
H A Dbinding-for-transformer.rkt5 "../namespace/namespace.rkt"
6 "../namespace/module.rkt"
7 "../namespace/provided.rkt")
19 (define m (namespace->module ns (module-path-index-resolve
28 (namespace-visit-available-modules! ns (+ at-phase (module-binding-phase b)))
H A Dcontext.rkt11 "../namespace/namespace.rkt"
45 phase ; current expansion phase; must match phase of `namespace`
46 namespace ; namespace for modules and evaluation
75 skip-visit-available?)) ; avoid instantiation cycles
82 #:skip-visit-available? [skip-visit-available? #f])
83 (define root-ctx (namespace-get-root-expand-ctx ns))
96 (namespace-phase ns)
126 skip-visit-available?))
H A Dlocal-expand.rkt8 "../namespace/core.rkt"
9 "../namespace/module.rkt"
10 "../namespace/namespace.rkt"
114 (unless (expand-context-skip-visit-available? ctx)
115 (namespace-visit-available-modules! (expand-context-namespace ctx) phase)))
H A Dmodule.rkt15 "../namespace/namespace.rkt"
201 ;; as an import and visit it
210 (namespace-module-visit! m-ns enclosing-mod
316 … [namespace (namespace->namespace-at-phase m-ns phase)]
718 (namespace-visit-available-modules! m-ns phase)
782 … (namespace-run-available-modules! m-ns (add1 phase)) ; to support running `begin-for-syntax`
784 (namespace-visit-available-modules! m-ns phase) ; since we're shifting back a phase
1000 (log-expand* body-ctx ['visit #f] ['enter-prim #f] ['prim-define-values #f])
1134 … [namespace (namespace->namespace-at-phase m-ns phase)]
1334 ;; with a visit where definitions have prompts
[all …]
/dports/lang/racket/racket-8.3/src/expander/eval/
H A Ddynamic-require.rkt6 "../namespace/namespace.rkt"
10 "../namespace/api.rkt"
43 ;; Run phase 0; don't visit or make available
45 #:otherwise-available? #f)]
47 ;; Run phase 0, also make available
50 ;; Just visit
51 (namespace-visit-available-modules! ns phase)
52 (namespace-module-visit! ns mpi phase #:visit-phase phase)]
75 #:otherwise-available? #f)
107 (namespace-module-visit! ns mpi phase #:visit-phase phase)
[all …]
H A Dmain.rkt5 "../namespace/namespace.rkt"
6 "../namespace/module.rkt"
7 "../namespace/core.rkt"
22 "../namespace/api.rkt"
63 (eval-module c #:namespace ns)]
216 (define phase (namespace-phase ns))
224 (log-expand tl-ctx 'visit s)
277 (define next-ns (namespace->namespace-at-phase ns next-phase))
281 (namespace-visit-available-modules! ns))
282 (namespace-visit-available-modules! next-ns) ; to match old behavior for empty body
[all …]
/dports/lang/racket-minimal/racket-8.3/src/expander/eval/
H A Ddynamic-require.rkt6 "../namespace/namespace.rkt"
10 "../namespace/api.rkt"
43 ;; Run phase 0; don't visit or make available
45 #:otherwise-available? #f)]
47 ;; Run phase 0, also make available
50 ;; Just visit
51 (namespace-visit-available-modules! ns phase)
52 (namespace-module-visit! ns mpi phase #:visit-phase phase)]
75 #:otherwise-available? #f)
107 (namespace-module-visit! ns mpi phase #:visit-phase phase)
[all …]
H A Dmain.rkt5 "../namespace/namespace.rkt"
6 "../namespace/module.rkt"
7 "../namespace/core.rkt"
22 "../namespace/api.rkt"
63 (eval-module c #:namespace ns)]
216 (define phase (namespace-phase ns))
224 (log-expand tl-ctx 'visit s)
277 (define next-ns (namespace->namespace-at-phase ns next-phase))
281 (namespace-visit-available-modules! ns))
282 (namespace-visit-available-modules! next-ns) ; to match old behavior for empty body
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/racket-doc/scribblings/guide/
H A Dmacro-module.scrbl55 After a module is instantiated in a particular @tech{namespace},
84 Instantiation of modules by @racket[require] is transitive. That is,
129 Unlike run-time instantiation in a namespace, when a module is used
131 namespace, the @racket[for-syntax]ed module is instantiated separately
156 modules are instantiated:
165 A namespace's top level behaves like a separate module, where multiple
192 When a module @racket[provide]s a macro for use by other modules, the
343 @deftech{available}. An @tech{available} module will be @tech{visit}ed
354 triggers a @tech{visit} of the @tech{available} module---which picks
377 modules, but no modules were made newly available by simply evaluating
[all …]
/dports/cad/netgen/netgen-6.2.2105/external_dependencies/pybind11/docs/advanced/cast/
H A Dstl.rst36 In C++14 mode, ``std::experimental::optional<>`` is supported if available.
45 namespace pybind11 { namespace detail {
57 namespace pybind11 { namespace detail {
61 // Specifies the function used to visit the variant -- `apply_visitor` instead of `visit`
69 }} // namespace pybind11::detail
72 a ``name::visit()`` function. For any other function name, the specialization must be
73 included to tell pybind11 how to visit the variant.
164 in Python, and to define a set of available operations, e.g.:
218 between module bindings (for example, from two separate modules each attempting
/dports/misc/py-onnx/onnx-1.10.2/third_party/pybind11/docs/advanced/cast/
H A Dstl.rst36 In C++14 mode, ``std::experimental::optional<>`` is supported if available.
45 namespace pybind11 { namespace detail {
57 namespace pybind11 { namespace detail {
61 // Specifies the function used to visit the variant -- `apply_visitor` instead of `visit`
69 }} // namespace pybind11::detail
72 a ``name::visit()`` function. For any other function name, the specialization must be
73 included to tell pybind11 how to visit the variant.
164 in Python, and to define a set of available operations, e.g.:
218 between module bindings (for example, from two separate modules each attempting
/dports/graphics/open3d/Open3D-0.2/src/External/pybind11/docs/advanced/cast/
H A Dstl.rst36 In C++14 mode, ``std::experimental::optional<>`` is supported if available.
45 namespace pybind11 { namespace detail {
57 namespace pybind11 { namespace detail {
61 // Specifies the function used to visit the variant -- `apply_visitor` instead of `visit`
69 }} // namespace pybind11::detail
72 a ``name::visit()`` function. For any other function name, the specialization must be
73 included to tell pybind11 how to visit the variant.
164 in Python, and to define a set of available operations, e.g.:
221 between module bindings (for example, from two separate modules each attempting
/dports/devel/nextpnr/nextpnr-48cd407/3rdparty/pybind11/docs/advanced/cast/
H A Dstl.rst36 In C++14 mode, ``std::experimental::optional<>`` is supported if available.
45 namespace pybind11 { namespace detail {
57 namespace pybind11 { namespace detail {
61 // Specifies the function used to visit the variant -- `apply_visitor` instead of `visit`
69 }} // namespace pybind11::detail
72 a ``name::visit()`` function. For any other function name, the specialization must be
73 included to tell pybind11 how to visit the variant.
164 in Python, and to define a set of available operations, e.g.:
218 between module bindings (for example, from two separate modules each attempting
/dports/graphics/py-open3d-python/Open3D-0.2/src/External/pybind11/docs/advanced/cast/
H A Dstl.rst36 In C++14 mode, ``std::experimental::optional<>`` is supported if available.
45 namespace pybind11 { namespace detail {
57 namespace pybind11 { namespace detail {
61 // Specifies the function used to visit the variant -- `apply_visitor` instead of `visit`
69 }} // namespace pybind11::detail
72 a ``name::visit()`` function. For any other function name, the specialization must be
73 included to tell pybind11 how to visit the variant.
164 in Python, and to define a set of available operations, e.g.:
221 between module bindings (for example, from two separate modules each attempting
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/thirdparty/pybind11/docs/advanced/cast/
H A Dstl.rst36 In C++14 mode, ``std::experimental::optional<>`` is supported if available.
45 namespace pybind11 { namespace detail {
57 namespace pybind11 { namespace detail {
61 // Specifies the function used to visit the variant -- `apply_visitor` instead of `visit`
69 }} // namespace pybind11::detail
72 a ``name::visit()`` function. For any other function name, the specialization must be
73 included to tell pybind11 how to visit the variant.
175 in Python, and to define a set of available operations, e.g.:
229 between module bindings (for example, from two separate modules each attempting

12345678910>>...50