Home
last modified time | relevance | path

Searched +refs:struct +refs:expand +refs:context +refs:inner (Results 1 – 25 of 3066) sorted by relevance

12345678910>>...123

/dports/lang/racket-minimal/racket-8.3/src/bc/src/
H A Dstartup.inc12261 "(struct:root-expand-context/inner"
15968 "(struct:expand-context/inner"
15970 " expand-context/inner?"
15997 " 'expand-context/inner"
15998 " struct:root-expand-context/inner"
16162 "(lambda(v_0)(begin(expand-context/inner-in-local-expand?(root-expand-context/outer-inner v_0)))))"
45950 "(if(expand-context/inner?"
51950 "(if(expand-context/inner?"
52076 "(if(expand-context/inner?"
78995 "(if(expand-context/inner?"
[all …]
/dports/lang/racket/racket-8.3/src/bc/src/
H A Dstartup.inc12261 "(struct:root-expand-context/inner"
15968 "(struct:expand-context/inner"
15970 " expand-context/inner?"
15997 " 'expand-context/inner"
15998 " struct:root-expand-context/inner"
16162 "(lambda(v_0)(begin(expand-context/inner-in-local-expand?(root-expand-context/outer-inner v_0)))))"
45950 "(if(expand-context/inner?"
51950 "(if(expand-context/inner?"
52076 "(if(expand-context/inner?"
78995 "(if(expand-context/inner?"
[all …]
/dports/lang/racket-minimal/racket-8.3/collects/racket/
H A Dtrait.rkt11 generate-class-expand-context)))
36 (define-struct trait (methods fields))
38 (define-struct method (name inherit? super? inner?
44 (define-struct feeld (name make-mixin))
131 (define (expand-body clauses)
144 [expand-context (generate-class-expand-context)])
149 expand-context
667 (cons (struct-copy method m
683 (struct-copy method m
702 (struct-copy method m
[all …]
/dports/lang/racket/racket-8.3/collects/racket/
H A Dtrait.rkt11 generate-class-expand-context)))
36 (define-struct trait (methods fields))
38 (define-struct method (name inherit? super? inner?
44 (define-struct feeld (name make-mixin))
131 (define (expand-body clauses)
144 [expand-context (generate-class-expand-context)])
149 expand-context
667 (cons (struct-copy method m
683 (struct-copy method m
702 (struct-copy method m
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/web-server-lib/web-server/formlets/
H A Ddyn-syntax.rkt12 syntax/strip-context))
20 (struct label-formlet (p))
65 (struct #%#-mark (l))
66 (define-syntax-rule (inner-#%# e ...) (#%#-mark (list e ...)))
83 (hash-set! label->name label (replace-context #'e name)))
86 (local-expand #`(syntax-parameterize ([=>* #,this-=>*]
87 [#%# (make-rename-transformer #'inner-#%#)])
/dports/lang/racket/racket-8.3/share/pkgs/web-server-lib/web-server/formlets/unsafe/
H A Ddyn-syntax.rkt10 syntax/strip-context))
19 (struct label-formlet (p))
64 (struct #%#-mark (l))
65 (define-syntax-rule (inner-#%# e ...) (#%#-mark (list e ...)))
82 (hash-set! label->name label (replace-context #'e name)))
85 (local-expand #`(syntax-parameterize ([=>* #,this-=>*]
86 [#%# (make-rename-transformer #'inner-#%#)])
/dports/lang/racket/racket-8.3/collects/racket/private/
H A Dclassidmap.rkt16 (define-values (struct:s!t make-s!t s!t? s!t-ref s!t-set!)
17 (make-struct-type 'set!-transformer #f 2 0 #f null (current-inspector) 0))
250 "misuse of inner method (not in application)"
356 (define-struct private-name (orig-id gen-id)
381 (define-struct class-context ())
383 (define (generate-class-expand-context)
384 (let ([c (syntax-local-context)]
385 [v (make-class-context)])
390 (define (class-top-level-context? ctx)
392 (class-context? (car ctx))))
[all …]
H A Dclass-internal.rkt246 (define-syntax define/provide-context-keyword
258 (define/provide-context-keyword
364 [expand-context (generate-class-expand-context)]
365 [expand
367 (local-expand
369 expand-context
467 (define (expand expr locals)
468 (local-expand
667 (if can-expand?
1816 (unless (class-top-level-context? (syntax-local-context))
[all …]
H A Dfor.rkt40 (for-syntax (rename expand-clause expand-for-clause))
375 (define-values (struct:do-sequence
384 (make-struct-type-property
409 (make-struct-type-property
422 (make-struct-type-property
540 (define-values (struct:range
545 (make-struct-type 'stream #f 3 0 #f
618 (define-values (struct:list-stream
1279 (define-values (struct:do-stream
1481 ;; Force expression context
[all …]
/dports/lang/racket-minimal/racket-8.3/collects/racket/private/
H A Dclassidmap.rkt16 (define-values (struct:s!t make-s!t s!t? s!t-ref s!t-set!)
17 (make-struct-type 'set!-transformer #f 2 0 #f null (current-inspector) 0))
250 "misuse of inner method (not in application)"
356 (define-struct private-name (orig-id gen-id)
381 (define-struct class-context ())
383 (define (generate-class-expand-context)
384 (let ([c (syntax-local-context)]
385 [v (make-class-context)])
390 (define (class-top-level-context? ctx)
392 (class-context? (car ctx))))
[all …]
H A Dclass-internal.rkt246 (define-syntax define/provide-context-keyword
258 (define/provide-context-keyword
364 [expand-context (generate-class-expand-context)]
365 [expand
367 (local-expand
369 expand-context
467 (define (expand expr locals)
468 (local-expand
667 (if can-expand?
1816 (unless (class-top-level-context? (syntax-local-context))
[all …]
H A Dfor.rkt40 (for-syntax (rename expand-clause expand-for-clause))
375 (define-values (struct:do-sequence
384 (make-struct-type-property
409 (make-struct-type-property
422 (make-struct-type-property
540 (define-values (struct:range
545 (make-struct-type 'stream #f 3 0 #f
618 (define-values (struct:list-stream
1279 (define-values (struct:do-stream
1481 ;; Force expression context
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/macro-debugger-text-lib/macro-debugger/model/
H A Dderiv-c.rkt17 (struct node (z1 z2) #:transparent)
23 (struct deriv node () #:transparent)
28 ;; represents expand/compile-time-evals, also main expand per-top-level loop
64 (struct local-exn (exn) #:transparent)
65 (struct local-expansion node (for-stx? me1 inner lifted me2 opaque) #:transparent)
74 ;; if name is rebound in definition context
84 (struct prule base () #:transparent)
102 (struct p:#%expression prule (inner untag) #:transparent)
164 (struct p::STOP prule () #:transparent)
197 (struct brule () #:transparent)
[all …]
H A Dreductions.rkt30 (call-with-initial-context
71 [#:parameterize ((the-context (add-rearm-frame e1 (the-context))))
96 [else (the-context)]))
145 [Expr ?inner inner])]
149 [Expr ?inner inner]
338 ;; expand/compile-time-evals
394 ;; If macro with local-expand is transparent,
397 [#:new-local-context
676 (struct modp1*:head (head) #:transparent)
677 (struct modp1*:case (prim) #:transparent)
[all …]
/dports/math/py-numpy/numpy-1.20.3/doc/neps/
H A Dnep-0043-extensible-ufuncs.rst42 This NEP proposes to expand the design of ufuncs.
122 the NumPy ufunc struct directly for its own purposes.
592 typedef struct {
632 the existing ``NpyAuxData *`` struct::
634 struct {
641 This struct is currently mainly used for the NumPy internal casting
694 typedef struct {
767 Further, we could expand ``get_loop`` and allow the ``ArrayMethod`` implementer
780 the signature by adding new fields to the context struct.
790 In this NEP we propose passing the struct to simplify creation of loops for
[all …]
/dports/lang/elixir/elixir-1.12.3/lib/elixir/lib/
H A Dkernel.ex4037 expand =
4043 case expand.(right) do
4072 in_var(in_body?, left, &in_range(&1, expand.(first), expand.(last), expand.(step)))
4110 {tail, acc} = ensure_evaled_tail(expand.(tail), acc, expand)
4219 case expand.(tail) do
4289 case Macro.expand(context, __CALLER__) do
4290 context when is_atom(context) ->
4295 "expected var! context to expand to an atom, got: #{Macro.to_string(other)}"
4357 When nesting, Elixir automatically creates an alias to the inner module,
5219 {ref, _meta, context} when is_atom(ref) and is_atom(context) ->
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/typed-racket-lib/typed-racket/base-env/
H A Dclass-prims.rkt75 (struct tr-class-info (clauses private-fields maybe-private) #:mutable)
90 (quote-syntax untyped:inherit/inner)
91 (quote-syntax untyped:rename-inner)))
111 (quote-syntax untyped:inner)
150 (define expanded (local-expand #'class-exp (syntax-local-context) stop-forms))
160 (match-define (struct clause (stx kind ids types)) clause-data)
263 (define expanded (local-expand stx (syntax-local-context) stop-list))
355 ;; The identifiers inside the lambdas below will expand via
403 (values #,@(map (λ (stx) #`(λ () (#,stx) (untyped:inner #f #,stx)))
/dports/lang/elixir-devel/elixir-1.13.1/lib/elixir/lib/
H A Dkernel.ex4206 expand =
4212 case expand.(right) do
4231 in_var(in_body?, left, &in_range(&1, expand.(first), expand.(last), expand.(step)))
4347 case expand.(tail) do
4417 case Macro.expand(context, __CALLER__) do
4418 context when is_atom(context) ->
4423 "expected var! context to expand to an atom, got: #{Macro.to_string(other)}"
4485 When nesting, Elixir automatically creates an alias to the inner module,
5493 base = Macro.expand(base, env)
5508 [Macro.expand(module, env)]
[all …]
/dports/lang/polyml/polyml-5.8.2/mlsource/MLCompiler/CodeTree/
H A DCODETREE_CODEGEN_CONSTANT_FUNCTIONS.sml46 struct
91 | cgFuns (context as {debugArgs, ...}) (Lambda lambda) =
101 … may be inner functions that only make recursive calls to this. By turning
114 (* First expand out any mutually-recursive bindings. This ensures that if
122 case mapCodetree (cgFuns context) value of
190 val body = mapCodetree (cgFuns context) envExp
197 | cgFuns context (Tuple{ fields, isVariant }) =
226 val context = value
235 val newBody = mapCodetree (cgFuns context) body
257 val context = value
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/drracket/drracket/private/
H A Dmodule-language.rkt69 (struct dirty (timer-pending?) #:transparent)
70 (struct running (sym str) #:transparent)
72 (provide (struct-out clean)
73 (struct-out dirty)
74 (struct-out running)))
171 (for ([x (in-list (continuation-mark-set->context
1059 (inner (void) on-close))
1565 (inner (void) after-insert start end))
1571 (inner (void) after-delete start end))
1577 (inner (void) after-edit-sequence))
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/macro-debugger/macro-debugger/syntax-browser/
H A Dtext.rkt35 (define-struct drawing (draw tacked?))
37 (define-struct idloc (start end id))
108 (inner (void) after-delete start len))
112 (interval-map-expand! im start (+ start len)))
113 (inner (void) after-insert start len))
176 ;; relies on order drawings added & list-of-eq?-struct equality
206 (inner (void) after-delete start len))
209 (inner (void) after-insert start len))
234 (send keymap add-context-menu-items menu))
/dports/lang/racket/racket-8.3/share/pkgs/racket-doc/scribblings/reference/
H A Dsyntax-model.scrbl2 @(require scribble/struct "mz.rkt" (for-syntax mzscheme))
17 @item{an @deftech{expand} pass that processes a syntax object to
26 The @tech{expand} pass recursively processes a @tech{syntax object}
105 the inner @racket[let] creates a second scope for the second
353 @racket[local-expand] when the stop list is empty.
364 @subsection[#:tag "expand-steps"]{Expansion Steps}
473 @subsection[#:tag "expand-context-model"]{Expansion Context}
611 @secref["expand-steps"].
1250 cons list make-struct-type make-struct-type-property
1268 (#%plain-app make-struct-type cross-expr ...+)
[all …]
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/gcc/java/
H A DChangeLog1794 * jcf-reader.c: Don't expand JCF_readu4 inside the
1799 * jcf-reader.c: Don't expand JCF_readu4 inside the
4572 context of inner classes here.
5802 context when creating inner class instances.
7242 necessary and expand it accordingly.
7399 enclosing context argument in the case of inner class constructors.
7630 context of a pure inner class or if the method's context is right.
8099 context when processing an inner interface.
8419 pre-expand static fields.
8751 parser context when processing an inner class. Push the
[all …]
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/gcc/java/
H A DChangeLog1794 * jcf-reader.c: Don't expand JCF_readu4 inside the
1799 * jcf-reader.c: Don't expand JCF_readu4 inside the
4572 context of inner classes here.
5802 context when creating inner class instances.
7242 necessary and expand it accordingly.
7399 enclosing context argument in the case of inner class constructors.
7630 context of a pure inner class or if the method's context is right.
8099 context when processing an inner interface.
8419 pre-expand static fields.
8751 parser context when processing an inner class. Push the
[all …]
/dports/lang/gomacro/gomacro-2.7-304-g2f4dc7c/doc/
H A Dgenerics.md161 in a new inner scope, that defines the template arguments to use for instantiation.
214 type IntList struct { First int; Rest *IntList }
235 template[T] List struct { First T; Rest *List#[T] }
248 type List#[T] struct { First T; Rest *List#[T] }
281 and the special case "T is struct{}" as:
283 template[] for[struct{}] func nonzero(a, b struct{}) struct{} { return struct{}{} }
318 of each *ast.Ident and *ast.BasicList, but it should also expand type aliases
321 It is not yet clear whether it is feasible for pattern-matching to also expand
350 template<> struct Fib<1> { enum { value = 1 }; };
351 template<> struct Fib<0> { enum { value = 0 }; };
[all …]

12345678910>>...123