/dports/lang/racket-minimal/racket-8.3/src/expander/expand/ |
H A D | root-expand-context.rkt | 13 apply-post-expansion 14 post-expansion-scope 26 …* post-expansion ; #f, a shifted multiscope to push to every expansion (often module's inside edg… 41 … #:post-expansion-scope [post-expansion-scope (new-multi-scope 'top-level)] 43 (define module-scopes (list* post-expansion-scope 48 post-expansion-scope ; post-expansion 60 (define (apply-post-expansion pe s) 64 [(pair? pe) (syntax-add-shifts (push-scope s (car pe)) (cdr pe))] 67 (define (post-expansion-scope pe) 71 [else (error 'post-expansion-scope "internal error: cannot extract scope from ~s" pe)])) [all …]
|
H A D | module.rkt | 140 #:post-expansion-scope inside-scope 161 … [post-expansion #:parent root-expand-context (lambda (s) (add-scope s inside-scope))] 263 (define added-s (add-scope mb-s inside-scope)) 676 (add-scope (add-scope s-without-enclosing 735 (define added-bodys (add-post-expansion-scope bodys partial-body-ctx)) 749 (define added-lifted-mods (add-post-expansion-scope lifted-mods partial-body-ctx)) 927 (add-scope id inside-scope))) 943 (define (add-post-expansion-scope bodys ctx) 979 (loop #t (add-post-expansion-scope bodys body-ctx))])] 1044 (add-post-expansion-scope lifted-modules body-ctx) [all …]
|
H A D | lift-context.rkt | 3 "../syntax/scope.rkt" 17 add-lifted! 28 add-lifted-module! 32 add-lifted-require! 86 ;; Add the namespace's post-expansion scope (i.e., the inside-edge 87 ;; scope) so that the binding has a specific phase: 88 (define post-scope 89 (post-expansion-scope 90 (root-expand-context-post-expansion 94 (add-scope id post-scope))) [all …]
|
H A D | apply-transformer.rkt | 7 "../syntax/scope.rkt" 58 (add-intdef-scopes 95 (define intro-scope (new-scope 'macro)) 98 (define (scope-arg s) 99 (define intro-s (add-scope s intro-scope)) 100 (define use-s (add-scopes intro-s use-scopes)) 107 intro-scope use-scopes 110 (define (scope-res s) 111 (define result-s (flip-scope s intro-scope)) 112 (define post-s (maybe-add-post-expansion result-s ctx)) [all …]
|
H A D | main.rkt | 71 maybe-add-post-expansion) 204 (add-scope s (root-expand-context-top-level-bind-scope ctx)))) 384 (define use-s (add-scopes intro-s use-scopes)) 398 ;; In a definition context, we need to add the inside-edge scope to 400 (define post-s (maybe-add-post-expansion result-s ctx)) 407 ;; With all the pre-call scope work done and post-call scope work in 480 (define (maybe-add-post-expansion s ctx) 486 (apply-post-expansion (root-expand-context-post-expansion ctx) 506 (define intro-id (add-scope target-id intro-scope)) 620 ;; expansion context [all …]
|
H A D | definition-context.rkt | 43 add-scope? ; whether the scope is auto-added for expansion 54 (define (syntax-local-make-definition-context [parent-ctx #f] [add-scope? #t]) 72 …(internal-definition-context frame-id outside-edge inside-edge add-scope? (box null) use-site-scop… 154 [(add) add-scope] 193 (add-scope 194 (add-scope 269 #:action [action add-scope]) 272 (internal-definition-context-add-scope? intdef))) 325 [post-expansion #:parent root-expand-context 329 (root-expand-context-post-expansion ctx))]) [all …]
|
H A D | syntax-local.rkt | 144 [(add) (add-scope s sc)] 249 (add-scope (datum->syntax #f name) (new-scope 'macro)))) 301 #:post-wrap [post-wrap (lambda (s phase lift-ctx) s)]) 314 (define post-s (post-wrap shift-s wrt-phase lift-ctx)) ; post-wrap at lift-context phase 318 (add-lifted! lift-ctx post-s wrt-phase) ; record lift for the target phase 319 (values ctx post-s)) 337 #:post-wrap 339 (wrap-form '#%require (add-scope s sc) phase)))) 343 (define result-s (add-scope use-s sc)) 358 #:post-wrap [all …]
|
H A D | body.rkt | 4 "../syntax/scope.rkt" 37 ;; through macro expansion) in the definition context 38 (define inside-sc (new-scope 'intdef)) 41 (add-scope body inside-sc))) 54 [post-expansion #:parent root-expand-context 55 (lambda (s) (add-scope s inside-sc))] 70 ;; Loop through the body forms for partial expansion 135 (add-local-binding! id phase counter 185 (add-local-binding! id phase counter 272 [post-expansion #:parent root-expand-context #f])) [all …]
|
/dports/lang/racket/racket-8.3/src/expander/expand/ |
H A D | root-expand-context.rkt | 13 apply-post-expansion 14 post-expansion-scope 26 …* post-expansion ; #f, a shifted multiscope to push to every expansion (often module's inside edg… 41 … #:post-expansion-scope [post-expansion-scope (new-multi-scope 'top-level)] 43 (define module-scopes (list* post-expansion-scope 48 post-expansion-scope ; post-expansion 60 (define (apply-post-expansion pe s) 64 [(pair? pe) (syntax-add-shifts (push-scope s (car pe)) (cdr pe))] 67 (define (post-expansion-scope pe) 71 [else (error 'post-expansion-scope "internal error: cannot extract scope from ~s" pe)])) [all …]
|
H A D | module.rkt | 140 #:post-expansion-scope inside-scope 161 … [post-expansion #:parent root-expand-context (lambda (s) (add-scope s inside-scope))] 263 (define added-s (add-scope mb-s inside-scope)) 676 (add-scope (add-scope s-without-enclosing 735 (define added-bodys (add-post-expansion-scope bodys partial-body-ctx)) 749 (define added-lifted-mods (add-post-expansion-scope lifted-mods partial-body-ctx)) 927 (add-scope id inside-scope))) 943 (define (add-post-expansion-scope bodys ctx) 979 (loop #t (add-post-expansion-scope bodys body-ctx))])] 1044 (add-post-expansion-scope lifted-modules body-ctx) [all …]
|
H A D | lift-context.rkt | 3 "../syntax/scope.rkt" 17 add-lifted! 28 add-lifted-module! 32 add-lifted-require! 86 ;; Add the namespace's post-expansion scope (i.e., the inside-edge 87 ;; scope) so that the binding has a specific phase: 88 (define post-scope 89 (post-expansion-scope 90 (root-expand-context-post-expansion 94 (add-scope id post-scope))) [all …]
|
H A D | apply-transformer.rkt | 7 "../syntax/scope.rkt" 58 (add-intdef-scopes 95 (define intro-scope (new-scope 'macro)) 98 (define (scope-arg s) 99 (define intro-s (add-scope s intro-scope)) 100 (define use-s (add-scopes intro-s use-scopes)) 107 intro-scope use-scopes 110 (define (scope-res s) 111 (define result-s (flip-scope s intro-scope)) 112 (define post-s (maybe-add-post-expansion result-s ctx)) [all …]
|
H A D | main.rkt | 71 maybe-add-post-expansion) 204 (add-scope s (root-expand-context-top-level-bind-scope ctx)))) 384 (define use-s (add-scopes intro-s use-scopes)) 398 ;; In a definition context, we need to add the inside-edge scope to 400 (define post-s (maybe-add-post-expansion result-s ctx)) 407 ;; With all the pre-call scope work done and post-call scope work in 480 (define (maybe-add-post-expansion s ctx) 486 (apply-post-expansion (root-expand-context-post-expansion ctx) 506 (define intro-id (add-scope target-id intro-scope)) 620 ;; expansion context [all …]
|
H A D | definition-context.rkt | 43 add-scope? ; whether the scope is auto-added for expansion 54 (define (syntax-local-make-definition-context [parent-ctx #f] [add-scope? #t]) 72 …(internal-definition-context frame-id outside-edge inside-edge add-scope? (box null) use-site-scop… 154 [(add) add-scope] 193 (add-scope 194 (add-scope 269 #:action [action add-scope]) 272 (internal-definition-context-add-scope? intdef))) 325 [post-expansion #:parent root-expand-context 329 (root-expand-context-post-expansion ctx))]) [all …]
|
H A D | syntax-local.rkt | 144 [(add) (add-scope s sc)] 249 (add-scope (datum->syntax #f name) (new-scope 'macro)))) 301 #:post-wrap [post-wrap (lambda (s phase lift-ctx) s)]) 314 (define post-s (post-wrap shift-s wrt-phase lift-ctx)) ; post-wrap at lift-context phase 318 (add-lifted! lift-ctx post-s wrt-phase) ; record lift for the target phase 319 (values ctx post-s)) 337 #:post-wrap 339 (wrap-form '#%require (add-scope s sc) phase)))) 343 (define result-s (add-scope use-s sc)) 358 #:post-wrap [all …]
|
H A D | body.rkt | 4 "../syntax/scope.rkt" 37 ;; through macro expansion) in the definition context 38 (define inside-sc (new-scope 'intdef)) 41 (add-scope body inside-sc))) 54 [post-expansion #:parent root-expand-context 55 (lambda (s) (add-scope s inside-sc))] 70 ;; Loop through the body forms for partial expansion 135 (add-local-binding! id phase counter 185 (add-local-binding! id phase counter 272 [post-expansion #:parent root-expand-context #f])) [all …]
|
/dports/lang/racket-minimal/racket-8.3/src/expander/compile/ |
H A D | namespace-scope.rkt | 4 "../syntax/scope.rkt" 16 ;; scope for the original namespace's scope. 19 ;; two groups: the scope that's added after every expansion (and 39 (define post-expansion-sc (post-expansion-scope (root-expand-context-post-expansion root-ctx))) 40 (values (seteq post-expansion-sc) 42 post-expansion-sc))) 50 (define-values (post-expansion-scs other-scs) (extract-namespace-scopes/values ns)) 51 (define post-expansion-s (add-scopes (datum->syntax #f 'post) 52 (set->list post-expansion-scs))) 53 (define other-s (add-scopes (datum->syntax #f 'other) [all …]
|
/dports/lang/racket/racket-8.3/src/expander/compile/ |
H A D | namespace-scope.rkt | 4 "../syntax/scope.rkt" 16 ;; scope for the original namespace's scope. 19 ;; two groups: the scope that's added after every expansion (and 39 (define post-expansion-sc (post-expansion-scope (root-expand-context-post-expansion root-ctx))) 40 (values (seteq post-expansion-sc) 42 post-expansion-sc))) 50 (define-values (post-expansion-scs other-scs) (extract-namespace-scopes/values ns)) 51 (define post-expansion-s (add-scopes (datum->syntax #f 'post) 52 (set->list post-expansion-scs))) 53 (define other-s (add-scopes (datum->syntax #f 'other) [all …]
|
/dports/lang/racket/racket-8.3/src/expander/namespace/ |
H A D | api.rkt | 3 (only-in "../syntax/scope.rkt" add-scopes push-scope syntax-scope-set) 37 namespace-require/expansion-time 64 (define post-scope (post-expansion-scope (root-expand-context-post-expansion root-ctx))) 69 #:unless (equal? sc post-scope)) 71 (define (add-ns-scopes s) 72 (syntax-transfer-shifts (add-scopes (push-scope s post-scope) 81 (add-ns-scopes (car (syntax-e s))))) 87 ;; The given syntax object starts `module`, so only add scope to `module`: 91 (add-ns-scopes s)])) 121 (define ctx-stx (add-scopes empty-syntax [all …]
|
/dports/lang/racket-minimal/racket-8.3/src/expander/namespace/ |
H A D | api.rkt | 3 (only-in "../syntax/scope.rkt" add-scopes push-scope syntax-scope-set) 37 namespace-require/expansion-time 64 (define post-scope (post-expansion-scope (root-expand-context-post-expansion root-ctx))) 69 #:unless (equal? sc post-scope)) 71 (define (add-ns-scopes s) 72 (syntax-transfer-shifts (add-scopes (push-scope s post-scope) 81 (add-ns-scopes (car (syntax-e s))))) 87 ;; The given syntax object starts `module`, so only add scope to `module`: 91 (add-ns-scopes s)])) 121 (define ctx-stx (add-scopes empty-syntax [all …]
|
/dports/textproc/R-cran-rmarkdown/rmarkdown/man/ |
H A D | output_format.Rd | 53 (for future expansion) arguments.} 57 future expansion) arguments. This function can return additional arguments 58 to pass to pandoc and can call \code{knitr::knit_meta_add} to add 74 \item{post_processor}{An optional post-processor function that receives the 85 processed by pandoc using the \code{--file-scope} option. The function
|
/dports/lang/py-hy/hy-0.19.0/hy/contrib/ |
H A D | walk.hy | 28 "Performs depth-first, post-order traversal of form. Calls f on each 182 (.add protected (first pair)) 187 (.add protected pair) 243 ;; Quotation should suppress symbol expansion, 263 "the main entry point. Call this to do the expansion" 277 The bindings pairs the target symbol and the expansion form for that symbol. 302 But assignments via `import` are always hoisted to normal Python scope, and 303 likewise, `defclass` will assign the class to the Python scope,
|
/dports/lang/coffeescript/coffeescript-2.6.1/test/ |
H A D | functions.coffee | 4 # TODO: add indexing and method invocation tests: (->)[0], (->).call() 84 # of the parent scope, just like `this`. In the CoffeeScript 1.x 224 deepEqual ajax('/home', beforeSend: fn, method: 'post'), { 225 url: '/home', async: true, beforeSend: fn, cache: true, method: 'post', data: {} 287 test "#156: parameter lists with expansion", -> 294 throwsCompileError "(..., a, b...) ->", null, null, "prohibit expansion and a splat" 295 throwsCompileError "(...) ->", null, null, "prohibit lone expansion" 297 test "#156: parameter lists with expansion in array destructuring", -> 302 test "#3502: variable definitions and expansion", ->
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/HelpSource/Classes/ |
H A D | UGen.schelp | 25 subsection:: Documentation of mul and add arguments 28 …add simply refer to a constant or signal by which to multiply the output of the UGen, and a consta… 44 These methods are responsible for multichannel expansion. They call code::*new1(rate, ...args):: fo… 72 method:: scope 86 { Ringz.ar(PinkNoise.ar([0.1, 0.2]).scope(\pink), 2000, 1, 0.25) }.play; // multichannel works 87 s.scope; // can still separately scope the output of the server 124 …ts the default output range, and thus should not be used in conjunction with mul and add arguments. 162 …ts the default output range, and thus should not be used in conjunction with mul and add arguments. 331 …r in a link::Classes/CheckBadValues:: UGen with the corresponding code::id:: and code::post:: flag. 350 { (SinOsc.ar(1001) @ SinOsc.ar(1207)).rho }.scope; [all …]
|
/dports/lang/racket-minimal/racket-8.3/src/bc/src/ |
H A D | startup.inc | 12392 "(post-expansion-scope)" 31150 "(let-values(((post-expansion-sc_0)(post-expansion-scope(root-expand-context-post-expansion root-ct… 31165 "(let-values(((post-expansion-s_0)(add-scopes(datum->syntax$1 #f 'post)(set->list post-expansion-sc… 44128 "(post-expansion-scope" 45821 "(maybe-add-post-expansion)" 50779 "(post-expansion-scope" 82571 "(add-post-expansion-scope" 82639 "(add-post-expansion-scope" 84434 "(add-post-expansion-scope)" 84517 "(add-post-expansion-scope bodys_1 body-ctx_0)))))))" [all …]
|